/* Variables CSS pour 2025 */
:root {
  /* Couleurs principales - Palette olive green */
  --primary-olive: rgb(56, 86, 36);
  --primary-olive-light: rgb(100, 130, 80);
  --primary-olive-dark: rgb(30, 60, 20);

  /* Couleurs bois - Palette wood */
  --primary-wood: rgb(139, 69, 19);
  --primary-wood-light: rgb(160, 82, 45);
  --primary-wood-dark: rgb(101, 67, 33);
  
  --secondary-gold: #D4AF37;
  --secondary-gold-light: #F4D03F;
  --secondary-gold-dark: #B7950B;
  
  --accent-olive: rgb(56, 86, 36);
  --accent-green: #2E7D32;
  --accent-green-light: #4CAF50;
  
  /* Couleurs neutres modernes */
  --white: #FFFFFF;
  --off-white: #FEFEFE;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --dark-gray: #495057;
  --charcoal: #2C3E50;
  --black: #1A1A1A;
  
  /* Couleurs de fond */
  --bg-primary: var(--white);
  --bg-secondary: var(--light-gray);
  --bg-accent: #FFF8E7;
  
  /* Typographie moderne */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Bordures et ombres */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Breakpoints */
  --mobile: 480px;
  --tablet: 768px;
  --desktop: 1024px;
  --wide: 1200px;
}

/* Reset moderne */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: rgba(245, 244, 224, 1); /* lighter olive-tinted beige */
  background-image:
    /* Olive green tint layer */
    linear-gradient(90deg,
      rgba(56, 86, 36, 0.1) 0%,
      rgba(56, 86, 36, 0.15) 25%,
      rgba(56, 86, 36, 0.1) 50%,
      rgba(56, 86, 36, 0.2) 75%,
      rgba(56, 86, 36, 0.1) 100%
    ),
    /* Planches de bois individuelles */
    linear-gradient(90deg,
      #D2B48C 0%, #DEB887 15%, #D2B48C 30%, #C19A6B 45%, #D2B48C 60%, #DEB887 75%, #D2B48C 90%, #C19A6B 100%
    ),
    /* Joints entre les planches */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 148px,
      rgba(56, 86, 36, 0.3) 148px,
      rgba(56, 86, 36, 0.3) 152px
    ),
    /* Veines du bois horizontales */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 2px,
      rgba(56, 86, 36, 0.1) 2px,
      rgba(56, 86, 36, 0.1) 3px,
      transparent 3px,
      transparent 8px,
      rgba(56, 86, 36, 0.08) 8px,
      rgba(56, 86, 36, 0.08) 9px
    ),
    /* Nœuds et imperfections du bois */
    radial-gradient(ellipse 40px 8px at 25% 30%, rgba(56, 86, 36, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 30px 6px at 75% 60%, rgba(56, 86, 36, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 35px 7px at 45% 80%, rgba(56, 86, 36, 0.12) 0%, transparent 70%),
    /* Texture générale du bois avec tic olive */
    linear-gradient(90deg,
      rgba(210, 180, 140, 0.2) 0%,
      rgba(22, 66, 26, 0.1) 25%,
      rgba(193, 154, 107, 0.15) 50%,
      rgba(21, 66, 26, 0.1) 75%,
      rgba(222, 184, 135, 0.2) 100%
    );
  background-size: 
    100% 150px,
    100% 150px,
    100% 20px,
    300px 150px,
    400px 150px,
    350px 150px,
    100% 150px;
  background-position: 
    0 0,
    0 0,
    0 0,
    0 0,
    100px 0,
    200px 0,
    0 0;
  background-repeat: repeat-y, repeat-y, repeat, repeat-y, repeat-y, repeat-y, repeat-y;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Conteneur principal */
.container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* Typographie moderne */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-olive);
}

/* Barre supérieure */
.top-bar {
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: var(--white);
  padding: var(--spacing-xs) 0;
  font-size: 0.875rem;
}

.top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.contact-quick {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

@media (max-width: 768px) {
  .top-info {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .contact-quick {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
}

/* Header moderne */
.header {
  background: var(--white) !important;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-top: 3px solid var(--primary-olive);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.navbar {
  padding: var(--spacing-sm) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo moderne */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  margin-left: var(--spacing-md);
}

.logo-icon {
  width: 200px;
  height: 80px;
  color: var(--primary-olive);
  transition: transform var(--transition-normal);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text h1 {
  font-size: 1.75rem;
  color: var(--primary-olive);
  margin: 0;
  font-weight: 700;
}

.logo-text .tagline {
  font-size: 0.875rem;
  color: var(--secondary-gold);
  font-weight: 500;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-olive);
  background-color: var(--bg-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Actions de navigation */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-right: var(--spacing-md);
}

.quote-btn {
  background: linear-gradient(135deg, var(--accent-olive) 0%, rgb(30, 50, 20) 100%);
  color: var(--white);
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Menu hamburger moderne */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}

.hamburger:hover {
  background-color: var(--light-gray);
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--primary-wood);
  margin: 2px 0;
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section moderne avec transitions améliorées */
.hero {
  position: relative;
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--light-gray) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wood" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23FFF8E7"/><path d="M0 20h100M0 40h100M0 60h100M0 80h100" stroke="%23D4AF37" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23wood)"/></svg>') repeat;
  opacity: 0.1;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 35vh;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.1) rotate(2deg);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  filter: blur(10px);
}

.slide.active {
  opacity: 1 !important;
  transform: scale(1) rotate(0deg) !important;
  z-index: 2 !important;
  filter: blur(0px) !important;
}

.slide.leaving-left {
  transform: scale(0.9) rotate(-2deg) translateX(-50px);
  opacity: 0;
  filter: blur(10px);
}

.slide.leaving-right {
  transform: scale(0.9) rotate(2deg) translateX(50px);
  opacity: 0;
  filter: blur(10px);
}

.slide.entering {
  opacity: 0;
  transform: scale(1.15) rotate(-3deg);
  filter: blur(15px);
  animation: slideZoomIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.15) rotate(-3deg);
    filter: blur(15px);
  }
  50% {
    opacity: 0.5;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

.slide-content {
  padding: var(--spacing-xl) 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-text {
  max-width: 600px;
  text-align: center;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--primary-olive);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-primary,
.cta-secondary {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-secondary {
  background: transparent;
  color: var(--primary-olive);
  border-color: var(--primary-olive);
}

.cta-secondary:hover {
  background: var(--primary-olive);
  color: var(--white);
}

/* Indicateurs du slider */
.hero-indicators {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-olive);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.indicator.active {
  background: var(--primary-olive);
  transform: scale(1.2);
}

/* Sections modernes */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-header.centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  background: var(--secondary-gold);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

/* Section À propos moderne */
.about-modern {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.about-text p {
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-info-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: var(--spacing-xl);
}

.contact-info-card h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-md);
}

.contact-details {
  display: grid;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.contact-item strong {
  color: var(--primary-wood);
  font-weight: 600;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.team-photo {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-weight: 500;
}

.hours-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.hours-card h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.hours-list {
  display: grid;
  gap: var(--spacing-sm);
}

.hour-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--light-gray);
}

.hour-item:last-child {
  border-bottom: none;
}

.hour-item.weekend {
  opacity: 0.7;
}

.day {
  font-weight: 500;
  color: var(--dark-gray);
}

.time {
  color: var(--primary-wood);
  font-weight: 600;
}

/* Services modernes */
.services-modern {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.service-card.modern {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card.modern.has-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card.modern.has-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.service-card.modern.has-background:hover::before {
  opacity: 1;
}

.service-card.modern.has-background > * {
  position: relative;
  z-index: 2;
}

.service-card.modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-gold) 0%, var(--primary-wood) 100%);
  z-index: 3;
}

.service-card.modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Service card content layout */
.service-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  height: 100%;
  position: relative;
}

.service-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  position: absolute;
  top: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  justify-content: center;
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.feature-tag {
  background: var(--white);
  color: var(--primary-wood);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--primary-wood);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.feature-tag:hover {
  background: var(--primary-wood);
  color: var(--white);
  transform: scale(1.05);
}

.service-pdf-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--secondary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  justify-content: center;
  margin-top: var(--spacing-sm);
}

.service-pdf-indicator svg {
  width: 16px;
  height: 16px;
}

.service-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-wood);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: var(--bg-accent);
  border-radius: var(--border-radius);
}

.service-card.modern h3:not(.service-title) {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-sm);
}

.service-card.modern p {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.service-features span {
  background: var(--light-gray);
  color: var(--dark-gray);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Portfolio */
.portfolio {
  background: var(--bg-secondary);
}

/* Portfolio Categories Grid */
.portfolio-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.portfolio-category-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.portfolio-category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-gold) 0%, var(--primary-wood) 100%);
  z-index: 1;
}

.category-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.portfolio-category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  padding: var(--spacing-md);
}

.category-content {
  padding: var(--spacing-lg);
}

.category-content h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
  font-weight: 600;
}

.category-content p {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--light-gray);
}

.item-count {
  color: var(--primary-olive);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Portfolio Gallery Modal */
.portfolio-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(8px);
}

.portfolio-gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.gallery-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 60, 20, 0.95) 100%);
  cursor: pointer;
}

.gallery-content {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  height: 90vh;
  max-height: 800px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: 3px solid var(--primary-olive);
  color: var(--charcoal);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10003;
  box-shadow: var(--shadow-lg);
}

.gallery-close:hover {
  background: var(--primary-olive);
  color: var(--white);
  transform: scale(1.1);
}

.gallery-close svg {
  width: 24px;
  height: 24px;
}

.gallery-header {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-header h2 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.gallery-counter {
  color: var(--primary-olive);
  font-weight: 600;
  font-size: 1rem;
}

.gallery-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.gallery-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.gallery-image:hover {
  transform: scale(1.02);
}

.gallery-image-placeholder {
  max-width: 80%;
  max-height: 80%;
  background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
}

.gallery-info {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid var(--light-gray);
  background: var(--bg-secondary);
}

.gallery-info h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
  font-weight: 600;
}

.gallery-info p {
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.6;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--charcoal);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10002;
  box-shadow: var(--shadow-lg);
}

.gallery-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--primary-olive);
}

.gallery-nav svg {
  width: 28px;
  height: 28px;
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* Service Gallery Modal */
.service-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(8px);
}

.service-gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.service-gallery-modal .gallery-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 60, 20, 0.95) 100%);
  cursor: pointer;
}

.service-gallery-modal .gallery-content {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
}

.service-gallery-modal .gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: 3px solid var(--primary-olive);
  color: var(--charcoal);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10003;
  box-shadow: var(--shadow-lg);
}

.service-gallery-modal .gallery-close:hover {
  background: var(--primary-olive);
  color: var(--white);
  transform: scale(1.1);
}

.service-gallery-modal .gallery-close svg {
  width: 24px;
  height: 24px;
}

.service-gallery-modal .gallery-header {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-gallery-modal .gallery-header h2 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-gallery-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  align-items: start;
}

.service-image-container {
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-gallery-image:hover {
  transform: scale(1.05);
}

.service-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  text-align: center;
  padding: var(--spacing-xl);
}

.service-image-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
  opacity: 0.6;
}

.service-image-placeholder p {
  margin: 0;
  font-weight: 500;
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.service-info h3 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-description {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

.service-pdf-download {
  margin-top: var(--spacing-md);
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.pdf-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pdf-download-btn svg {
  width: 20px;
  height: 20px;
}

/* Feature Gallery Modal */
.feature-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(8px);
}

.feature-gallery-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.feature-gallery-modal .gallery-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 60, 20, 0.95) 100%);
  cursor: pointer;
}

.feature-gallery-modal .gallery-content {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  overflow: hidden;
}

.feature-gallery-modal .gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: 3px solid var(--primary-olive);
  color: var(--charcoal);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10003;
  box-shadow: var(--shadow-lg);
}

.feature-gallery-modal .gallery-close:hover {
  background: var(--primary-olive);
  color: var(--white);
  transform: scale(1.1);
}

.feature-gallery-modal .gallery-close svg {
  width: 24px;
  height: 24px;
}

.feature-gallery-modal .gallery-header {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-gallery-modal .gallery-header h2 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-gallery-modal .gallery-counter {
  color: var(--primary-olive);
  font-weight: 600;
  font-size: 1rem;
}

.feature-gallery-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  align-items: start;
}

.feature-image-container {
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.feature-gallery-image:hover {
  transform: scale(1.05);
}

.feature-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  text-align: center;
  padding: var(--spacing-xl);
}

.feature-image-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
  opacity: 0.6;
}

.feature-image-placeholder p {
  margin: 0;
  font-weight: 500;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.feature-info h3 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-description {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

.feature-pdf-section {
  margin-top: var(--spacing-md);
}

.feature-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.feature-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-pdf-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive Feature Gallery Modal */
@media (max-width: 768px) {
  .feature-gallery-modal .gallery-content {
    width: 95vw;
    height: auto;
    max-height: 95vh;
  }

  .feature-gallery-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
  }

  .feature-image-container {
    aspect-ratio: 16/9;
    order: -1; /* Image appears first on mobile */
  }

  .feature-info {
    order: 1; /* Info appears after image on mobile */
  }

  .feature-gallery-modal .gallery-nav {
    width: 45px;
    height: 45px;
  }

  .feature-gallery-modal .gallery-nav svg {
    width: 22px;
    height: 22px;
  }

  .feature-gallery-modal .gallery-prev {
    left: 15px;
  }

  .feature-gallery-modal .gallery-next {
    right: 15px;
  }

  .feature-gallery-modal .gallery-close {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }

  .feature-gallery-modal .gallery-close svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .feature-gallery-modal .gallery-content {
    width: 98vw;
    margin: var(--spacing-xs);
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .feature-gallery-content {
    padding: var(--spacing-md);
  }

  .feature-image-container {
    aspect-ratio: 4/3;
  }

  .feature-pdf-section {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
  }

  .feature-pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    min-height: 48px; /* Touch-friendly size */
  }

  .feature-pdf-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
  }
}

/* Service card overlay styles */
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.service-card.modern:hover .service-overlay {
  opacity: 1;
}

.service-overlay h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-pdf-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--secondary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-pdf-indicator svg {
  width: 16px;
  height: 16px;
}

/* Legacy portfolio styles (for backwards compatibility) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.portfolio-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.portfolio-image:hover img {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-weight: 500;
}

.portfolio-content {
  padding: var(--spacing-md);
}

.portfolio-content h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-xs);
}

/* Contact moderne */
.contact-modern {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.contact-method {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.method-icon {
  width: 48px;
  height: 48px;
  color: var(--primary-wood);
  background: var(--bg-accent);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm);
  flex-shrink: 0;
}

.method-content h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.method-content p {
  margin: 0;
  color: var(--dark-gray);
}

/* Formulaire moderne */
.modern-form {
  background: var(--bg-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--primary-wood);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-wood);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-wood) 0%, var(--primary-wood-dark) 100%);
  color: var(--white);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Legal Pages */
.legal-section {
  padding: 80px 0;
  background: var(--bg-color);
  min-height: calc(100vh - 200px);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-header h1 {
  color: var(--primary-olive);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.legal-meta {
  color: var(--dark-gray);
  font-size: 1rem;
}

.legal-meta p {
  margin: 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-text {
  line-height: 1.8;
  color: var(--dark-gray);
}

.legal-text h2 {
  color: var(--primary-wood);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-text h3 {
  color: var(--primary-olive);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text ul,
.legal-text ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.legal-text strong {
  color: var(--primary-wood);
  font-weight: 600;
}

.legal-text a {
  color: var(--primary-olive);
  text-decoration: none;
  font-weight: 500;
}

.legal-text a:hover {
  text-decoration: underline;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .legal-section {
    padding: 60px 0;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .legal-text {
    font-size: 0.95rem;
  }

  .legal-text h2 {
    font-size: 1.3rem;
  }

  .legal-text h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .legal-section {
    padding: 40px 0;
  }

  .legal-header h1 {
    font-size: 1.75rem;
  }

  .legal-content {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .legal-text {
    font-size: 0.9rem;
  }

  .legal-text ul,
  .legal-text ol {
    margin-left: 1.5rem;
  }
}

/* Footer moderne */
.footer-modern {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
  margin-bottom: var(--spacing-md);
}

.footer-brand .logo-icon {
  color: var(--secondary-gold);
}

.footer-brand .logo-text h3 {
  color: var(--white);
  margin: 0;
}

.footer-brand .logo-text span {
  color: var(--secondary-gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.link-group h4 {
  color: var(--secondary-gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: var(--spacing-xs);
}

.link-group a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--secondary-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--secondary-gold);
}

/* Responsive Design pour 2025 */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navigation mobile */
  .nav-menu {
    position: fixed;
    top: var(--header-height, 100px);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

  .quote-btn {
    display: none;
  }

  /* Hero mobile */
  .hero {
    min-height: 60vh;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .cta-primary,
  .cta-secondary {
    flex: 1;
    min-width: 200px;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Portfolio mobile */
  .portfolio-grid,
  .portfolio-categories-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-category-card {
    margin-bottom: var(--spacing-lg);
  }

  .category-content {
    padding: var(--spacing-md);
  }

  .category-content h3 {
    font-size: 1.1rem;
  }

  .category-meta {
    padding-top: var(--spacing-md);
  }

  .item-count {
    font-size: 0.85rem;
  }

  /* Gallery modal mobile */
  .portfolio-gallery-modal .gallery-content {
    width: 95vw;
    height: 95vh;
    max-height: none;
  }

  .gallery-header {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .gallery-header h2 {
    font-size: 1.2rem;
  }

  .gallery-counter {
    font-size: 0.9rem;
  }

  .gallery-image-container {
    flex: 1;
  }

  .gallery-image {
    max-height: 70vh;
  }

  .gallery-info {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .gallery-info h3 {
    font-size: 1.1rem;
  }

  .gallery-info p {
    font-size: 0.9rem;
  }

  .gallery-nav {
    width: 50px;
    height: 50px;
  }

  .gallery-nav svg {
    width: 24px;
    height: 24px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-close {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }

  .gallery-close svg {
    width: 20px;
    height: 20px;
  }

  /* Form mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* About section mobile */
  .about-modern {
    padding: var(--spacing-xl) 0;
  }

  .about-grid {
    gap: var(--spacing-lg);
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-info-card {
    padding: var(--spacing-lg);
  }

  .contact-details {
    gap: var(--spacing-sm);
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .hours-card {
    padding: var(--spacing-lg);
  }

  .hours-list {
    gap: var(--spacing-xs);
  }

  .hour-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) 0;
  }

  .day {
    font-weight: 600;
  }

  .time {
    font-size: 0.9rem;
  }

  /* Team photo mobile */
  .team-photo {
    max-width: 100%;
    height: auto;
  }

  .team-photo img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  /* Contact section mobile */
  .contact-modern {
    padding: var(--spacing-xl) 0;
  }

  .contact-grid {
    gap: var(--spacing-lg);
  }

  .contact-methods {
    gap: var(--spacing-lg);
  }

  .contact-method {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .method-icon {
    align-self: flex-start;
  }

  .method-content h3 {
    margin-bottom: var(--spacing-xs);
  }

  /* Modal mobile improvements */
  .modal-content {
    width: 95vw;
    max-width: none;
    margin: var(--spacing-md);
    max-height: 90vh;
  }

  .modal-header {
    padding: var(--spacing-lg);
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: var(--spacing-lg);
    max-height: 65vh;
    line-height: 1.7;
  }

  .modal-body h2 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
  }

  .modal-body h3 {
    font-size: 1rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
  }

  .modal-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
  }

  .modal-body ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .modal-body li {
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
  }

  .modal-body strong {
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-3xl: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .contact-info-card,
  .hours-card,
  .modern-form {
    padding: var(--spacing-md);
  }

  /* Extra small screens */
  .container {
    padding: 0 var(--spacing-sm);
  }

  .top-bar {
    padding: var(--spacing-xs) 0;
  }

  .top-info {
    font-size: 0.85rem;
  }

  .contact-quick {
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-start;
  }

  .navbar {
    padding: var(--spacing-md) 0;
  }

  .hero {
    min-height: 50vh;
    padding: var(--spacing-xl) 0;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .section-header {
    margin-bottom: var(--spacing-lg);
  }

  .section-tag {
    font-size: 0.8rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  h2 {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
  }

  /* Team photo extra small */
  .team-photo img {
    max-height: 250px;
  }

  /* Contact methods extra small */
  .contact-methods {
    gap: var(--spacing-md);
  }

  .method-content h3 {
    font-size: 1rem;
  }

  .method-content p {
    font-size: 0.9rem;
  }

  /* Modal extra small */
  .modal-content {
    width: 98vw;
    margin: var(--spacing-xs);
  }

  .modal-header {
    padding: var(--spacing-md);
  }

  .modal-body {
    padding: var(--spacing-md);
    max-height: 70vh;
  }

  .modal-body h2 {
    font-size: 1.2rem;
  }

  .modal-body h3 {
    font-size: 1rem;
  }

  .modal-body p {
    font-size: 0.9rem;
  }

  .modal-body li {
    font-size: 0.85rem;
  }

  /* Footer extra small */
  .footer {
    padding: var(--spacing-sm) 0;
  }

  .footer-content {
    gap: var(--spacing-md);
  }

  .footer-left p,
  .footer-brand-link span {
    font-size: 0.75rem;
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  .footer-logo {
    width: 80px;
    height: 26px;
  }
}

/* Animations et micro-interactions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Focus states pour l'accessibilité */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--secondary-gold);
  outline-offset: 2px;
}

/* Amélioration des performances */
.hero,
.service-card,
.portfolio-item {
  will-change: transform;
}

/* Portfolio Modal */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(8px);
}

.portfolio-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(30, 60, 20, 0.9) 100%);
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 100vw;
  height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  overflow: hidden;
  box-sizing: border-box;
  background: black;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: white;
  border: 3px solid var(--primary-olive);
  color: var(--charcoal);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10003;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
  background: var(--white);
  transform: scale(1.1);
  border-color: var(--primary-olive);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--charcoal);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10003;
  box-shadow: var(--shadow-lg);
}

.modal-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--primary-olive);
}

.modal-nav svg {
  width: 28px;
  height: 28px;
}

.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

.modal-image-container {
  position: relative;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  overflow: hidden;
  box-sizing: border-box;
}

#modal-image {
  max-width: 85%;
  max-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal);
}

#modal-image:hover {
  transform: scale(1.02);
}

.modal-caption {
  display: none;
}

.modal-caption h3 {
  display: none;
}

.modal-caption p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Responsive modal */
@media (max-width: 1024px) {
  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-prev {
    left: -60px;
  }

  .modal-next {
    right: -60px;
  }

  .modal-nav svg {
    width: 20px;
    height: 20px;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    top: -45px;
  }

  .modal-close svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 100vw;
    height: 100vh;
  }

  #modal-image {
    max-height: 65vh;
  }

  .modal-nav {
    width: 45px;
    height: 45px;
    top: 50%;
  }

  .modal-nav svg {
    width: 22px;
    height: 22px;
  }

  .modal-prev {
    left: 15px;
  }

  .modal-next {
    right: 15px;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .modal-close svg {
    width: 22px;
    height: 22px;
  }

  .modal-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-height: none;
    overflow: visible;
    padding: var(--spacing-sm);
  }

  .modal-caption h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
  }

  .modal-caption p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* Bannière de consentement aux cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary-olive);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-slow);
  padding: var(--spacing-sm) 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text h3 {
  color: var(--primary-olive);
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
}

.cookie-banner-text p {
  margin-bottom: 0;
  color: var(--dark-gray);
  line-height: 1.4;
  font-size: 0.85rem;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--spacing-xs);
  flex-shrink: 0;
  align-items: center;
}

.cookie-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: var(--white);
  border-color: var(--primary-olive);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--primary-wood);
  border-color: var(--primary-wood);
}

.cookie-btn-reject:hover {
  background: var(--primary-wood);
  color: var(--white);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--secondary-gold);
  border-color: var(--secondary-gold);
}

.cookie-btn-customize:hover {
  background: var(--secondary-gold);
  color: var(--white);
}

/* Modal de personnalisation des cookies */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.cookie-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.cookie-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
  z-index: 10002;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
}

.cookie-modal-header h3 {
  color: var(--primary-olive);
  margin: 0;
  font-size: 1.5rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: var(--dark-gray);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  background: var(--light-gray);
  color: var(--charcoal);
}

.cookie-modal-close svg {
  width: 20px;
  height: 20px;
}

.cookie-modal-body {
  padding: var(--spacing-xl);
}

.cookie-category {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--light-gray);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.cookie-category-header h4 {
  color: var(--primary-wood);
  margin: 0;
  font-size: 1.1rem;
}

.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-olive);
  cursor: pointer;
}

.cookie-category input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category p {
  color: var(--dark-gray);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-modal-footer {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .cookie-banner-actions {
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .cookie-modal-content {
    width: 95%;
    margin: var(--spacing-md);
  }

  .cookie-modal-header,
  .cookie-modal-body,
  .cookie-modal-footer {
    padding: var(--spacing-md);
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: var(--spacing-md) 0;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--spacing-md) 0 var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.footer-center .footer-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary-gold);
}

.footer-right .footer-brand-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-right .footer-brand-link:hover {
  color: var(--secondary-gold);
}

.footer-right .footer-brand-link span {
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-logo {
  width: 100px;
  height: 32px;
}

.easyflowy-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Remove filter to show original logo colors */
}

/* Modal styles for terms and privacy */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10002;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
  color: var(--primary-olive);
  margin: 0;
  font-size: 1.5rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.modal-close {
  background: none;
  border: none;
  color: var(--dark-gray);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--light-gray);
  color: var(--charcoal);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: var(--spacing-xl);
  max-height: 70vh;
  overflow-y: auto;
  line-height: 1.6;
}

.modal-body h2 {
  color: var(--primary-olive);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: var(--spacing-sm);
}

.modal-body h3 {
  color: var(--primary-wood);
  font-size: 1.2rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.modal-body p {
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

.modal-body ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.modal-body li {
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
}

.modal-body strong {
  color: var(--primary-wood);
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-center .footer-links {
    justify-content: center;
  }

  .footer-right .footer-brand-link {
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    margin: var(--spacing-md);
  }

  .modal-header,
  .modal-body {
    padding: var(--spacing-md);
  }
}

/* Section Calculateur */
.calculator {
  background: var(--bg-secondary);
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.calculator-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.calculator-form .form-group {
  margin-bottom: var(--spacing-lg);
}

.calculator-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.calculator-form .form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--primary-wood);
}

.calculator-form .form-group input,
.calculator-form .form-group select {
  width: 100%;
  max-width: 250px;
  padding: var(--spacing-sm);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.calculator-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-lg);
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.calculator-table td {
  padding: var(--spacing-sm) 0;
  border: none;
  vertical-align: top;
}

.calculator-table td:nth-child(2) {
  padding-left: 5px;
}

.calculator-table .form-group {
  margin-bottom: 0;
}

.calculator-form .form-group input:focus,
.calculator-form .form-group select:focus {
  outline: none;
  border-color: var(--primary-wood);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.calculator-form .cta-primary {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.calculator-result {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--secondary-gold);
}

.result-header h3 {
  color: var(--primary-wood);
  margin-bottom: var(--spacing-lg);
  font-size: 1.25rem;
  font-weight: 600;
}

.result-content {
  display: grid;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--light-gray);
}

.result-item:last-child {
  border-bottom: none;
}

.result-label {
  font-weight: 600;
  color: var(--primary-wood);
}

.result-value {
  color: var(--dark-gray);
  text-align: right;
}

.result-total {
  background: var(--bg-accent);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-sm);
  margin-top: var(--spacing-md);
  border: 2px solid var(--secondary-gold);
}

.result-total .result-label {
  color: var(--primary-olive);
  font-size: 1.1rem;
}

.result-total .result-value {
  color: var(--primary-olive);
  font-size: 1.2rem;
  font-weight: 700;
}

.result-note {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--light-gray);
}

.result-note p {
  color: var(--dark-gray);
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive Calculateur */
@media (max-width: 1024px) {
  .calculator-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .calculator-container {
    gap: var(--spacing-lg);
  }

  .calculator-form,
  .calculator-result {
    padding: var(--spacing-lg);
  }

  .calculator-form .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .result-content {
    gap: var(--spacing-sm);
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .result-value {
    text-align: left;
  }

  .result-total .result-value {
    font-size: 1.1rem;
  }
}

/* Print styles */
@media print {
  .top-bar,
  .hamburger,
  .hero-indicators,
  .quote-btn,
  .portfolio-modal,
  .cookie-banner,
  .cookie-modal,
  .footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }
}


/* Calculator surcharge styling */
.surcharge-amount {
  color: #dc3545;
  font-weight: 600;
}

.surcharge-reason {
  color: #6c757d;
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  text-align: center;
}