@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  /* Nouvelle Palette Premium */
  --color-primary: #2A1B14; /* Marron ébène profond */
  --color-secondary: #BA4A22; /* Terre cuite / Orange brûlé mat */
  --color-secondary-hover: #9a3a19;
  --color-accent: #E29841; /* Accent chaud */
  
  --color-bg-main: #FDFBF7; /* Blanc cassé très chaud */
  --color-bg-alt: #F3EFE9; /* Beige léger grisâtre */
  --color-border: #E8DFD8; /* Gris très doux pour bordures */
  
  --color-text-main: #2A1B14;
  --color-text-light: #63574D;
  --color-white: #FFFFFF;
  
  --color-error: #B71C1C;
  --color-success: #2E7D32;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px; /* Pour les cartes */
  
  --shadow-sm: 0 4px 6px -1px rgba(42, 27, 20, 0.05), 0 2px 4px -1px rgba(42, 27, 20, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(42, 27, 20, 0.08), 0 4px 6px -2px rgba(42, 27, 20, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(42, 27, 20, 0.1), 0 10px 10px -5px rgba(42, 27, 20, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Animations au scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* Typographie Premium */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 36px;
}

p {
  letter-spacing: 0.01em;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
}

ul {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #EFE9E1 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Header */
.header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* Navigation Animation */
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-secondary);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--color-text-main);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 6px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white) !important;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--color-primary); /* Fallback solid color */
  color: var(--color-white);
  text-align: center;
  padding: 140px 20px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 27, 20, 0.55) 0%, rgba(42, 27, 20, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #E8DFD8;
}

.hero-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-stats strong {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 22px;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { margin-top: 0; opacity: 0.6; }
  50% { margin-top: 10px; opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero h1 {
  color: var(--color-white);
  font-size: 56px;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 22px;
  margin-bottom: 48px;
  font-weight: 300;
  color: #E8DFD8;
}

/* Features (Réassurance) */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-secondary);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

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

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

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

/* Effet zoom sur image au survol */
.product-image-container {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.product-desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 15px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.product-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 20px;
  margin-top: 4px;
}

.product-price .price-amount {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-price .price-cents {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  align-self: flex-start;
  margin-top: 4px;
  opacity: 0.85;
}

.product-price .price-unit {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge sur cartes produit */
.product-image-container {
  position: relative;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Avis clients */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.star-rating {
  color: var(--color-accent);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  color: var(--color-text-main);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-light);
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 500;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background-color: var(--color-secondary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Steps (Comment ça marche) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  position: relative;
}

/* Ligne connectrice entre les étapes (seulement desktop) */
@media (min-width: 901px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -20%;
    width: 40%;
    height: 1px;
    background-color: var(--color-border);
  }
}

.step-number {
  width: 70px;
  height: 70px;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
}

.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* Forms */
.form-container {
  max-width: 780px;
  margin: -60px auto 60px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cartes de formulaire */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.form-card:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: rgba(186, 74, 34, 0.25);
}

.form-card-header {
  background-color: var(--color-primary);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-card-header h2 {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.form-card-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-card-body {
  padding: 32px;
}

/* Zone de soumission */
.form-submit-container {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.form-group {
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-main);
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(186, 74, 34, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.price-estimate {
  background-color: var(--color-bg-alt);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-estimate-label {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-estimate-value {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-secondary);
  transition: transform 0.25s ease;
}

.price-estimate-value.pulse {
  transform: scale(1.12);
}

.form-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 20px;
  line-height: 1.6;
}

/* Boutons radio en carte (longueur des bûches) */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.radio-card {
  cursor: pointer;
  position: relative;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  transition: all 0.2s ease;
  min-height: 70px;
}

.radio-card input[type="radio"]:checked + .radio-content {
  border-color: var(--color-secondary);
  background-color: #FDF1EC;
  box-shadow: 0 0 0 3px rgba(186, 74, 34, 0.12);
}

.radio-card:hover .radio-content {
  border-color: var(--color-secondary);
  background-color: #FDF8F6;
}

.radio-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-title {
  color: var(--color-secondary);
}

/* Masquer le champ longueur pour les granulés */
#longueur-container.hidden {
  display: none;
}

/* Messages */
.alert {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  display: none;
  font-weight: 500;
}

.alert-success {
  background-color: #F1F8F1;
  color: var(--color-success);
  border: 1px solid #D7EAD8;
  align-items: center;
  gap: 14px;
}

.alert-icon-check {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.alert-icon-check circle {
  stroke: var(--color-success);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 76;
  stroke-dashoffset: 76;
  animation: draw-circle 0.5s ease forwards;
}

.alert-icon-check path {
  stroke: var(--color-success);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: draw-check 0.3s ease forwards 0.45s;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.alert-error {
  background-color: #FDF1F1;
  color: var(--color-error);
  border: 1px solid #F5D3D3;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-details h3 {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 30px;
  border-top: 4px solid var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.footer-title {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 22px;
}

.footer-text {
  color: #D3C9C2;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #D3C9C2;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #A3968F;
  font-size: 14px;
}

/* Page Header */
.page-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 100px 20px 140px; /* Plus de padding en bas pour le chevauchement du formulaire */
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: 48px;
}

.page-header p {
  color: #E8DFD8;
  font-size: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .features, .steps, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 18px 28px;
  }

  .scroll-indicator {
    display: none;
  }
  
  .features {
    margin-top: 20px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .page-header {
    padding-bottom: 100px;
  }
  
  .form-container {
    margin-top: -40px;
  }

  .form-card-body {
    padding: 24px;
  }

  .form-submit-container {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-top: 1px solid var(--color-border);
    gap: 4px;
  }

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

  .mobile-menu-btn {
    display: block;
  }

  /* Hero accueil */
  .hero h1 {
    font-size: 34px;
    line-height: 1.25;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 14px 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Page header (catalogue, contact) */
  .page-header {
    padding: 48px 0 80px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  /* Sections */
  .section {
    padding: 48px 0;
  }

  /* Grille produits catalogue */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Formulaire (ancien form contact/devis global) */
  .form-row {
    grid-template-columns: 1fr;
  }

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

  /* Empêcher zoom iOS sur les champs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  /* Contact */
  .contact-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Page confirmation */
  .confirmation-wrapper {
    padding: 0 16px;
  }

  .confirmation-title {
    font-size: 26px;
  }

  .actions-row {
    flex-direction: column;
    gap: 12px;
  }

  .actions-row .btn {
    width: 100%;
    text-align: center;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  /* Footer colonne unique */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Hero encore plus compact */
  .hero h1 {
    font-size: 28px;
  }

  .price-estimate {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Page header compact */
  .page-header h1 {
    font-size: 24px;
  }

  /* Produits catalogue */
  .product-card {
    margin: 0;
  }
}


/* ========================
   Section Label (chapeau)
   ======================== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
  padding: 6px 14px;
  background-color: rgba(186, 74, 34, 0.1);
  border-radius: 999px;
}

/* ========================
   Section Notre Histoire (About)
   ======================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  margin-bottom: 20px;
  font-size: 34px;
  margin-top: 12px;
}

.about-text p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-value-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-secondary);
}

.about-value-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.about-value-item p {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-badge {
    bottom: -14px;
    right: -10px;
    font-size: 15px;
    padding: 12px 18px;
  }
}

/* ========================
   Testimonials Full (avec photo)
   ======================== */
.testimonials-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 20px;
}

.testimonials-image {
  position: sticky;
  top: 110px;
}

.testimonial-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonials-full {
    grid-template-columns: 1fr;
  }

  .testimonials-image {
    position: static;
  }

  .testimonial-hero-img {
    aspect-ratio: 16/9;
    object-position: center center;
  }
}

/* ========================
   Catalogue Intro & Trust Bar
   ======================== */
.catalogue-intro {
  max-width: 860px;
}

.catalogue-intro-text h2 {
  margin-bottom: 20px;
  font-size: 34px;
  margin-top: 12px;
}

.catalogue-intro-text p {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 16px;
}

.catalogue-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.catalogue-trust-item {
  flex: 1;
  min-width: 140px;
  padding: 24px 28px;
  background-color: var(--color-white);
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.catalogue-trust-item:last-child {
  border-right: none;
}

.catalogue-trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.catalogue-trust-item span {
  font-size: 13px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .catalogue-trust-bar {
    flex-direction: column;
  }

  .catalogue-trust-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .catalogue-trust-item:last-child {
    border-bottom: none;
  }
}


/* ─────────────────────────────────────────────
   MODAL DE CHARGEMENT (Génération PDF)
   ───────────────────────────────────────────── */
#loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 27, 20, 0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

#loading-modal .modal-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}

#loading-modal .modal-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid #E8DFD8;
  border-top-color: #BA4A22;
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.9s linear infinite;
}

#loading-modal h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: #2A1B14;
  margin-bottom: 12px;
}

#loading-modal p {
  font-size: 15px;
  color: #63574D;
  line-height: 1.6;
}
