/* ============================================================= */
/* Base & Structure */
/* ============================================================= */

/* --- Theme & Variables --- */
:root {
  --primary-color: #c19a6b;
  --primary-hover-color: #a07d52;
  --secondary-color: #2a2a2a;
  --tertiary-color: #0d6efd;
  --background-color: #ffffff;
  --footer-background: #f7f4ef;
  --card-background: #f8f9fa;
  --highlight-color: #c19a6b;
  --highlight-hover-color: #a07d52;
  --text-color: #444444;
  --light-text: #ffffff;
  --link-color: #0056b3;
  --link-hover-color: #003d7a;
  --font-family-base: 'Raleway', sans-serif;
  --font-family-display: 'Playfair Display', serif;
  --font-family-secondary: var(--font-family-base);
  --base-font-size: 16px;
  --scale-factor: 1.2;
  --primary: #c19a6b;
  --primary-hover: #a07d52;
  --primary-foreground: #ffffff;
  --secondary: hsl(210, 40%, 96%);
  --secondary-foreground: hsl(222, 47%, 11%);
  --success: #22c55e;
  --success-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #444444;
  --card: #ffffff;
  --card-foreground: #444444;
  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --step-bg: hsl(0, 0%, 100%);
  --step-border: hsl(214, 32%, 91%);
  --step-shadow: 0 2px 10px rgba(0,0,0,0.05);
  --option-hover: hsl(193, 39%, 97%);
  --option-selected: hsl(193, 39%, 92%);
  --rdv-primary: #007bff;
  --rdv-primary-dark: #0056b3;
  --rdv-success: #28a745;
  --rdv-danger: #dc3545;
  --rdv-light-bg: #f8f9fa;
  --rdv-border: #dee2e6;
  --rdv-text: #495057;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 0.75rem;
}

/* --- Body & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
  color: var(--text-color);
}

body {
    font-family: var(--font-family-base);
    font-size: 1.1rem;
    line-height: 1.5;
    background-color: var(--background-color);
    color: var(--text-color);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 330px) {
  body {
    font-size: 0.75rem;
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  body {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  body {
    font-size: 1.125rem;
  }
}

/* --- Typography & Copy --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  margin: 1.5rem auto;
  line-height: 1.3;
}

h4.small {
  font-size: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  font-family: var(--font-family-display);
  color: var(--secondary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  line-height: 1.2;
  white-space: normal;
  font-size: 2rem;
}

h3.st {
  text-decoration: underline;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-kicker {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  display: block;
  width: 110px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto 0;
}

.hero-service .section-header {
  margin-bottom: 1.5rem;
}

p {
  text-align: center;
  margin: 1rem auto;
  max-width: 800px;
  line-height: 1.6;
}

p.small {
  font-size: 0.88rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-family: var(--font-family-secondary);
  font-size: calc(var(--base-font-size) * 1);
}

li {
  font-family: var(--font-family-secondary);
  font-size: 1.27rem;
}

.section-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}


@media (max-width: 767.98px) {
  .section-title::after {
    width: 80px;
  }

  .hero-service .section-header {
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: calc(var(--base-font-size) * 1.8);
  }

  h2 {
    font-size: calc(var(--base-font-size) * 1.6);
  }

  h3 {
    font-size: calc(var(--base-font-size) * 1.3);
  }

  p {
    font-size: calc(var(--base-font-size) * 0.85);
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  h4.small {
    font-size: 1.2em;
  }

  p.small {
    font-size: 0.88rem;
  }
}

@media (min-width: 992px) {
  h4.small {
    margin: 0rem 0;
    font-size: 1.34em;
  }

  p.small {
    font-size: 1.25rem;
  }
}

@media (max-width: 400px) {
  p {
    font-size: calc(var(--base-font-size) * 1.1);
  }
}

/* ============================================================= */
/* Page Specific */
/* ============================================================= */

/* --- Home & Landing --- */
.home-main {
  background-color: var(--background-color);
}

.home-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.home-section.alt {
  background-color: var(--card-background);
}

.home-intro {
  position: relative;
  overflow: hidden;
}

.hero-service-section .service-section {
  padding: clamp(2.5rem, 6vw, 4rem);
}

.hero-service .home-intro-cta {
  gap: 1rem;
}

.home-intro-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(10, 10, 10, 0.12);
}

.home-intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-intro-sticker {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.home-intro-content p {
  font-size: 1.05rem;
}

.home-intro-content {
  display: grid;
  gap: 1.5rem;
}

.home-intro-short {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-family-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
}

.home-intro-long {
  display: grid;
  gap: 0.75rem;
}

.home-intro-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.home-intro-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.home-intro-point i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.home-intro-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-contact-card {
  border-radius: 16px;
  border: none;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08);
}

.hero-service-section .carousel-indicators,
.hero .carousel-indicators {
  bottom: 1.25rem;
}

.hero-service-section .home-intro-cta {
  margin-bottom: 1.25rem;
}

body:has(#presentation) .navbar .nav-link.active {
  background-color: transparent !important;
  color: var(--secondary-color) !important;
}

body.index .navbar .nav-link.active {
  color: inherit !important;
  background-color: transparent !important;
}

body.index .navbar .nav-link:hover,
body.index .navbar .nav-link:focus-visible {
  color: var(--primary-color) !important;
  background-color: rgba(193, 154, 107, 0.1) !important;
}

@media (max-width: 768px) {
  #presentation .presentation-text-long {
    display: none !important;
  }

  #presentation .presentation-text-short {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .hero-service-section .service-section {
    padding: 2.25rem;
  }

  .home-intro-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  .hero-service .home-intro-cta {
    justify-content: center;
  }
}

/* --- Rendez-vous Flow --- */
.rdv-page .rdv-breadcrumb-step i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.rdv-page .breadcrumb-step i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

body.rdv-page {
  background-color: var(--rdv-light-bg);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rdv-page .rdv-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.rdv-page .rdv-progress-container {
  margin-bottom: 2rem;
}

.rdv-page .rdv-progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
}

.rdv-page .rdv-progress-bar {
  background: linear-gradient(90deg, var(--rdv-primary), var(--rdv-primary-dark));
  transition: width 0.3s ease;
}

.rdv-page .rdv-breadcrumb-nav {
  margin-bottom: 2rem;
}

.rdv-page .rdv-breadcrumb-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rdv-page .rdv-breadcrumb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.rdv-page .rdv-breadcrumb-step.active {
  opacity: 1;
  color: var(--rdv-primary);
}

.rdv-page .rdv-breadcrumb-step.completed {
  opacity: 1;
  color: var(--rdv-success);
}

.rdv-page .rdv-step {
  display: none;
}

.rdv-page .rdv-step.active {
  display: block !important;
}

.rdv-page .rdv-step-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.rdv-page .rdv-step-header {
  background: linear-gradient(135deg, var(--rdv-primary), var(--rdv-primary-dark));
  color: #fff;
  padding: 1.5rem;
}

.rdv-page .rdv-step-title {
  margin: 0;
  font-size: 1.5rem;
}

.rdv-page .rdv-step-content {
  padding: 2rem;
}

.rdv-page .rdv-form-section {
  margin-bottom: 2rem;
}

.rdv-page .rdv-form-label.required::after {
  content: "\00A0*";
  color: var(--rdv-danger);
}

.rdv-page .rdv-glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .rdv-option-card {
  display: block;
  padding: 1.5rem;
  border: 2px solid var(--rdv-border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.rdv-page .rdv-option-card:hover {
  border-color: var(--rdv-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.rdv-page input[type="radio"]:checked + .rdv-option-card {
  border-color: var(--rdv-primary);
  background-color: #f8f9ff;
}

.rdv-page .rdv-option-image img,
.rdv-page .rdv-option-image-sm img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rdv-page .rdv-option-label {
  font-weight: 500;
  color: var(--rdv-text);
}

.rdv-page .rdv-option-label--sm {
  font-size: 0.9rem;
}

.rdv-page .rdv-damage-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .rdv-other-glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .rdv-time-period {
  margin-bottom: 2rem;
}

.rdv-page .rdv-time-period-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--rdv-text);
  border-bottom: 1px solid var(--rdv-border);
  padding-bottom: 0.5rem;
}

.rdv-page .rdv-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.rdv-page .rdv-time-slot {
  position: relative;
}

.rdv-page .rdv-time-slot input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.rdv-page .rdv-time-slot label {
  display: block;
  padding: 0.75rem;
  border: 2px solid var(--rdv-border);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #fff;
  font-weight: 500;
}

.rdv-page .rdv-time-slot label:hover {
  border-color: var(--rdv-primary);
  background-color: #f8f9ff;
}

.rdv-page .rdv-time-slot input[type="radio"]:checked + label {
  border-color: var(--rdv-primary);
  background-color: var(--rdv-primary);
  color: #fff;
}

.rdv-page .rdv-step-navigation {
  padding: 1.5rem;
  background-color: var(--rdv-light-bg);
  display: flex;
  justify-content: space-between;
}

.rdv-page .rdv-error-message {
  color: var(--rdv-danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.rdv-page .rdv-is-invalid {
  border-color: var(--rdv-danger) !important;
}

.rdv-page .rdv-confirmation-section {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rdv-page .rdv-confirmation-icon {
  font-size: 4rem;
  color: var(--rdv-success);
  margin-bottom: 1.5rem;
}

.rdv-page .rdv-sub-section {
  border-left: 4px solid var(--rdv-primary);
  margin-top: 1.5rem;
  background-color: #f8f9ff;
  border-radius: 0 8px 8px 0;
  padding: 1rem;
}

.rdv-page .breadcrumb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.rdv-page .breadcrumb-step.active {
  opacity: 1;
  color: var(--rdv-text);
}

.rdv-page .breadcrumb-step.completed {
  opacity: 1;
  color: var(--rdv-success);
}

.rdv-page .step {
  display: none;
}

.rdv-page .step.active {
  display: block !important;
}

.rdv-page .step-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.rdv-page .step-header {
  background: antiquewhite;
  color: #fff;
  padding: 1.5rem;
}

.rdv-page .step-title {
  margin: 0;
  font-size: 1.5rem;
}

.rdv-page .step-content {
  padding: 2rem;
}

.rdv-page .form-section {
  margin-bottom: 2rem;
}

.rdv-page .form-label.required::after {
  content: "\00A0*";
  color: var(--rdv-danger);
}

.rdv-page .glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .option-card {
  display: inline-table;
  padding: 1.5rem;
  border: 2px solid var(--rdv-border);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.rdv-page .option-card:hover {
  border-color: var(--rdv-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.rdv-page input[type="radio"]:checked + .option-card {
  border-color: var(--rdv-primary);
  background-color: #f8f9ff;
}

.rdv-page .option-image img,
.rdv-page .option-image-sm img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rdv-page .option-label {
  font-weight: 500;
  color: var(--rdv-text);
}

.rdv-page .option-label-sm {
  font-size: 0.9rem;
}

.rdv-page .damage-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .other-glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rdv-page .time-period {
  margin-bottom: 2rem;
}

.rdv-page .time-period-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--rdv-text);
  border-bottom: 1px solid var(--rdv-border);
  padding-bottom: 0.5rem;
}

.rdv-page .time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.rdv-page .time-slot {
  position: relative;
}

.rdv-page .time-slot input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.rdv-page .time-slot label {
  display: block;
  padding: 0.75rem;
  border: 2px solid var(--rdv-border);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: #fff;
  font-weight: 500;
}

.rdv-page .time-slot label:hover {
  border-color: var(--rdv-primary);
  background-color: #f8f9ff;
}

.rdv-page .time-slot input[type="radio"]:checked + label {
  border-color: var(--rdv-primary);
  background-color: var(--rdv-primary);
  color: #fff;
}

.rdv-page .step-navigation {
  padding: 1.5rem;
  background-color: var(--rdv-light-bg);
  display: flex;
  justify-content: space-between;
}

.rdv-page .error-message {
  color: var(--rdv-danger);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.rdv-page .is-invalid {
  border-color: var(--rdv-danger) !important;
}

.rdv-page .confirmation-section {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rdv-page .confirmation-icon {
  font-size: 4rem;
  color: var(--rdv-success);
  margin-bottom: 1.5rem;
}

.rdv-page .sub-section {
  border-left: 4px solid var(--rdv-primary);
  margin-top: 1.5rem;
  background-color: #f8f9ff;
  border-radius: 0 8px 8px 0;
  padding: 1rem;
}

.step-navigation {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.glass-options, .damage-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.other-glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.time-slots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.rdv-page .btn {
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  transition: var(--transition-smooth);
}

.rdv-page .btn:hover {
  transform: translateY(-1px);
}

.rdv-page .btn-primary {
  background: linear-gradient(135deg, var(--rdv-primary), var(--rdv-primary-dark));
  border: none;
  color: #fff;
}

.rdv-page .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.rdv-page .btn-primary:disabled {
  opacity: 0.6;
  pointer-events: none;
  transform: none;
}

.rdv-page .btn-success {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--success-foreground);
}

.rdv-page .btn-success:hover {
  background-color: hsl(142, 76%, 32%);
  border-color: hsl(142, 76%, 32%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.rdv-page .btn-outline-secondary {
  border-color: var(--border);
  color: var(--foreground);
  background-color: transparent;
}

.rdv-page .btn-outline-secondary:hover {
  background-color: var(--secondary);
  border-color: var(--border);
  color: var(--secondary-foreground);
}

.glass-options, .damage-options, .other-glass-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.rdv-page .option-image,
.rdv-page .rdv-option-image {
  width: 180px;
  height: 120px;
  display: inline-block;
}

.rdv-page .option-image img,
.rdv-page .rdv-option-image img,
.rdv-page .option-image-sm img,
.rdv-page .rdv-option-image-sm img {
  width: 40%;
  height: 100%;
  object-fit: contain;
}

.rdv-page .rdv-step-navigation .btn-outline-secondary:hover {
  border-color: var(--rdv-primary);
  color: var(--rdv-primary);
  background-color: #f8f9ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.glass-options,
.damage-options,
.other-glass-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

#sub-autres .other-glass-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 1.25rem 1.5rem;
  justify-items: center;
  align-items: stretch;
}

#sub-autres .other-glass-options .option-card {
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
}

#sub-autres .other-glass-options {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  margin-top: 1rem;
}

#sub-autres .other-glass-options .option-card {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.25s ease-in-out;
}

.glass-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.glass-options .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 180px;
  padding: 1.5rem;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.glass-options .option-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.glass-options .option-image img {
  max-width: 90%;
  max-height: 90%;
  height: auto;
  object-fit: contain;
  display: block;
}

.glass-options .option-label {
  font-weight: 500;
  font-size: 1rem;
  color: #2c3e50;
  text-align: center;
  margin-top: 0.5rem;
}

.other-glass-options {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: stretch;
  margin-top: 1rem;
  width: 100%;
}

.other-glass-options .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  min-height: 150px;
  padding: 1.25rem;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.other-glass-options .option-image-m {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 85px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
}

.other-glass-options .option-image-m img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.other-glass-options .option-label-m {
  font-weight: 500;
  font-size: 0.95rem;
  color: #2c3e50;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.3;
}

.step-navigation .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  min-width: 130px;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.step-navigation .btn:hover {
  transform: translateY(-1px);
}

.btn-rdv::before {
  content: "Sans Rendez-Vous!";
}

.btn-rdv1::before {
  content: "Avec Rendez-Vous!";
}

.btn-rdv2::before {
  content: "Prendre Rendez-Vous!";
}

@media (max-width: 768px) {
  .rdv-page .rdv-breadcrumb-step span {
    font-size: 0.8rem;
  }

  .rdv-page .breadcrumb-step span {
    font-size: 0.8rem;
  }

  .rdv-container h2,
      .rdv-container h3 {
    text-align: center;
    margin-bottom: 1rem;
  }

  .rdv-page .rdv-step-content {
    padding: 1rem;
  }

  .rdv-page .rdv-glass-options {
    grid-template-columns: 1fr;
  }

  .rdv-page .rdv-time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rdv-page .rdv-step-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .rdv-page .rdv-step-navigation .btn {
    width: 100%;
  }

  .rdv-page .step-content {
    padding: 1rem;
  }

  .rdv-page .glass-options {
    grid-template-columns: 1fr;
  }

  .rdv-page .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rdv-page .step-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .rdv-page .step-navigation .btn {
    width: 100%;
  }

  .step-navigation {
    padding: 1rem;
    flex-direction: column;
  }

  .glass-options, .damage-options {
    grid-template-columns: 1fr;
  }

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

  .time-slots-grid {
    grid-template-columns: 1fr;
  }

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

  .step-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .step-navigation .btn {
    width: 100%;
    justify-content: center;
  }

  .rdv-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 1.5rem 1rem;
  }

  .rdv-container {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 0 auto;
  }

  .step-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .step-navigation button {
    min-width: 120px;
    border-radius: 10px;
  }

  .btn-rdv::before {
    content: "Sans Rdv!";
  }

  .btn-rdv1::before {
    content: "Avec Rdv!";
  }

  .btn-rdv2::before {
    content: "Prendre Rdv!";
  }
}

@media (max-width: 576px) {
  .rdv-page .rdv-container {
    margin: 1rem auto;
    padding: 0 0.5rem;
  }

  .rdv-page .rdv-breadcrumb-steps,
  .rdv-page .breadcrumb-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: stretch;
  }

  .rdv-page .rdv-breadcrumb-step,
  .rdv-page .breadcrumb-step {
    width: 100%;
  }

  .glass-options {
    gap: 1rem;
  }

  .glass-options .option-card {
    width: 100%;
    max-width: 280px;
    min-height: 160px;
  }

  .glass-options .option-image {
    height: 90px;
  }

  .other-glass-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .other-glass-options .option-card {
    max-width: 300px;
  }

  .other-glass-options .option-image-m {
    height: 100px;
  }

  .step-navigation .btn {
    width: 100%;
    min-height: 46px;
    font-size: 1rem;
  }

  .step-navigation {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .other-glass-options, .time-slots-grid {
    grid-template-columns: 1fr;
  }

  #sub-autres .other-glass-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 405px) {
  .rdv-page .form-label {
    text-align: center;
    display: block;
  }
}

@media (max-width: 420px) {
  #sub-autres .other-glass-options {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .glass-options .option-card {
    width: 190px;
  }

  .other-glass-options .option-card {
    max-width: 220px;
  }
}

/* --- Pare-brise Services --- */
#reparer_pare-brise .carousel-caption ul.offre-list li {
  font-size: 0.85rem !important;
}

@media (max-width: 768px) {
  #reparer_pare-brise .section-title {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
  }

  #reparer_pare-brise .hero-service {
    position: relative;
    padding: 0;
    overflow: hidden;
  }

  #reparer_pare-brise .hero-service-visual {
    position: relative;
  }

  #reparer_pare-brise .hero-service-image {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.6);
  }

  #reparer_pare-brise .col-lg-6.d-flex {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 2;
    color: #fff;
  }

  #reparer_pare-brise .presentation-text-long {
    color: #f8f8f8;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.2rem;
  }

  #reparer_pare-brise .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  #reparer_pare-brise .btn:hover {
    background-color: var(--secondary-color);
  }
}

@media (max-width: 400px) {
  #reparer_pare-brise .carousel-caption ul.offre-list li {
    font-size: 0.85rem !important;
  }
}

/* --- Réparation Jantes --- */
#faq .accordion-button,
#faq-reparation-jantes .accordion-button,
#faq_recharge_climatisation .accordion-button {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 700;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-align: center;
  text-wrap: balance;
  padding: 1.2rem 1.5rem;
}

#faq .accordion-button span,
#faq-reparation-jantes .accordion-button span,
#faq_recharge_climatisation .accordion-button span,
#faq .accordion-button p,
#faq-reparation-jantes .accordion-button p,
#faq_recharge_climatisation .accordion-button p {
  display: block;
  width: 100%;
  margin-bottom: 0.6rem;
}

#faq .accordion-body,
#faq-reparation-jantes .accordion-body,
#faq_recharge_climatisation .accordion-body {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

#faq .accordion-item,
#faq-reparation-jantes .accordion-item,
#faq_recharge_climatisation .accordion-item {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #changer-pneus .section-title,
      #reparer_jantes .section-title,
      #recharger_climatisation .section-title,
      #parallelisme-hero .section-title {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
  }

  #arguments-reparation-jantes .presentation-text-long {
    display: none !important;
  }

  #arguments-reparation-jantes .presentation-text-short {
    display: block !important;
  }

  #faq .accordion-item:nth-of-type(n+4),
      #faq-reparation-jantes .accordion-item:nth-of-type(n+4),
      #faq_recharge_climatisation .accordion-item:nth-of-type(n+4) {
    display: none;
  }

  #faq .accordion-button,
      #faq-reparation-jantes .accordion-button,
      #faq_recharge_climatisation .accordion-button {
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 1rem;
  }

  #faq .accordion-body,
      #faq-reparation-jantes .accordion-body,
      #faq_recharge_climatisation .accordion-body {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  #changer-pneus .hero-service,
      #reparer_jantes .hero-service,
      #recharger_climatisation .hero-service,
      #parallelisme-hero .hero-service {
    position: relative;
    padding: 0;
    overflow: hidden;
  }

  #changer-pneus .hero-service-visual,
      #reparer_jantes .hero-service-visual,
      #recharger_climatisation .hero-service-visual,
      #parallelisme-hero .hero-service-visual {
    position: relative;
  }

  #changer-pneus .hero-service-image,
      #reparer_jantes .hero-service-image,
      #recharger_climatisation .hero-service-image,
      #parallelisme-hero .hero-service-image {
    width: 100%;
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.6);
  }

  #changer-pneus .col-lg-6.d-flex,
      #reparer_jantes .col-lg-6.d-flex,
      #recharger_climatisation .col-lg-6.d-flex,
      #parallelisme-hero .col-lg-6.text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 2;
    color: #fff;
  }

  #changer-pneus .presentation-text-long,
      #reparer_jantes .presentation-text-long,
      #recharger_climatisation .presentation-text-long,
      #parallelisme-hero .presentation-text-long {
    color: #f8f8f8;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.2rem;
  }

  #changer-pneus .btn,
      #reparer_jantes .btn,
      #recharger_climatisation .btn,
      #parallelisme-hero .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  #changer-pneus .btn:hover,
      #reparer_jantes .btn:hover,
      #recharger_climatisation .btn:hover,
      #parallelisme-hero .btn:hover {
    background-color: var(--secondary-color);
  }
}

/* --- Climatisation Automobile --- */
@media (max-width: 576px) {
  #recharger_climatisation ul li {
    margin-bottom: 1rem;
  }

  #recharger_climatisation ul li {
    margin-bottom: 1.2rem;
  }
}

/* --- Parallélisme 3D --- */
#geo-vs-parallelisme .comparison-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#geo-vs-parallelisme .comparison-card:hover {
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

#geo-vs-parallelisme .comparison-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

#geo-vs-parallelisme .comparison-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(193, 154, 107, 0.15);
  color: #c19a6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

#geo-vs-parallelisme .comparison-list {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

/* ============================================================= */
/* Parallélisme 3D – Titres + animations (mobile-first)          */
/* ============================================================= */

body.parallelisme-page h1.section-title.custom-title,
body.parallelisme-page h2.section-title.custom-title {
  text-wrap: balance;
  overflow-wrap: normal;
  word-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

body.parallelisme-page .ml3,
body.parallelisme-page .ml14 {
  white-space: normal;
}

body.parallelisme-page #parallelisme-hero h1.section-title.custom-title {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1.15;
}

body.parallelisme-page .section-title.highlight.ml14.custom-title {
  font-size: clamp(1.35rem, 5.5vw, 1.9rem);
  line-height: 1.2;
}

@media (max-width: 359.98px) {
  body.parallelisme-page #parallelisme-hero h1.section-title.custom-title {
    font-size: 1.4rem;
  }

  body.parallelisme-page .section-title.highlight.ml14.custom-title {
    font-size: 1.2rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  body.parallelisme-page #parallelisme-hero h1.section-title.custom-title {
    font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  }

  body.parallelisme-page .section-title.highlight.ml14.custom-title {
    font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  }
}

body.parallelisme-page .ml3 .letter,
body.parallelisme-page .ml14 .letter {
  display: inline-block;
}

@media (max-width: 768px) {
  #parallelisme-hero .btn.btn-secondary.highlight-box {
    background-color: #c19a6b;
    border-color: #c19a6b;
    color: #fff;
  }

  #parallelisme-hero .btn.btn-secondary.highlight-box:hover {
    background-color: #a87f53;
    border-color: #a87f53;
  }
}

/* --- Tarifs & Tableaux --- */
#tarifs h2 {
  text-align: center;
  font-size: 1.5rem;
}

@media (min-width: 330px) and (max-width: 768px) {
  #tarifs h2 {
    text-align: center;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  #tarifs p {
    text-align: left !important;
  }
}

/* ============================================================= */
/* Components */
/* ============================================================= */

/* --- Buttons & CTA --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-smooth, all 0.3s ease);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
  opacity: 0.6;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

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

.btn-secondary {
  background-color: var(--rdv-text);
  color: var(--secondary-color);
  border: none;
}

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

.btn-success {
  background-color: var(--success);
  color: var(--success-foreground);
  border: none;
}

.btn-success:hover {
  background-color: #1f9d55;
  color: var(--success-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
  transform: translateY(-1px);
}

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

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-call {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid transparent;
  transition: var(--transition-smooth, all 0.3s ease);
}

.btn-call:hover,
.btn-call:focus-visible {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-call:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-call i {
  font-size: 1.1rem;
  margin-right: 0.625rem;
}

.btn-call .btn-call-text {
  display: inline;
}

.cta {
  animation: blinkingEffect 1.5s infinite;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.btn-details:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.navbar .btn-call {
  margin-left: auto;
  order: 2;
}

#carousel .btn {
  padding: 0.65rem 1.3rem;
  font-size: 1rem;
  min-width: 160px;
}

#carousel .cta-buttons {
  gap: 0.75rem;
}

.cta {
  margin-top: 1.25rem;
  background-color: var(--highlight-color);
  color: #000;
  border-radius: 0.3125rem;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  animation: blink 1.5s infinite;
  font-size: 1rem;
}

.cta:hover {
  background-color: var(--highlight-hover-color);
}

.cta-mobile {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.cta-buttons .btn {
  margin-right: 0.625rem;
}

.cta-buttons .btn+a {
  margin-left: -0.25rem;
}

.btn.loading .submit-text {
  display: none;
}

.btn.loading .loading-spinner {
  display: inline-flex;
}

.fixed-contact-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 50%;
}

.cta-section {
  background: linear-gradient(120deg, #1f1f1f, #383838);
  padding: 4rem 0;
}

.cta-section .btn {
  min-width: 220px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn.loading .loading-spinner {
  display: inline-flex !important;
}

.btn-primary {
  background-color: #c19a6b;
  color: #fff;
}

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

.btn-secondary {
  background-color: #e9ecef;
  color: #212529;
}

.btn-secondary:hover {
  background-color: #dee2e6;
}

.btn-success {
  background-color: #198754;
  border: none;
}

.btn-success:hover {
  background-color: #157347;
}

.btn, .btn-lg, .btn-primary, .btn-secondary {
  min-height: 48px;
  padding: 12px 16px;
}

@media (max-width: 470px) {
  .btn-call .btn-call-text {
    display: none;
  }
}

@media (hover:hover) {
  .btn-details:hover {
    background-color: var(--primary-hover-color);
    color: #ffffff;
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .nav-link:hover,
        .btn:hover,
        .cta:hover,
        .service-image-container:hover .service-image {
    background-color: inherit;
    color: inherit;
    transform: none;
  }
}

@media (max-width: 768px) {
  .carousel-item .btn-primary,
        .carousel-item .btn-secondary {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.95rem !important;
    margin: 0.35rem !important;
    min-width: 150px !important;
  }

  .carousel-item .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .carousel-caption .cta-buttons {
    flex-direction: column;
    gap: 5px;
  }

  .carousel-caption .btn {
    font-size: 0.8rem !important;
    padding: 5px 10px;
  }

  .cta-buttons {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .cta-buttons .btn {
    min-width: 120px;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    flex: 1;
  }

  .navbar .btn-call {
    font-size: 0.875rem;
    padding: 0.55rem 0.5rem;
  }

  .carousel-item.offre-parebrise .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .carousel-item.offre-parebrise .cta-buttons .btn {
    width: 80%;
    max-width: 280px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .carousel-item .btn-primary,
        .carousel-item .btn-secondary {
    padding: 0.48rem 0.95rem !important;
    font-size: 0.8rem !important;
    min-width: 120px !important;
  }

  .carousel-item .cta-buttons {
    gap: 8px;
  }

  .carousel-caption .btn {
    font-size: 0.9rem !important;
  }

  .cta-buttons {
    gap: 10px;
  }

  .cta-buttons .btn {
    margin: 0.5rem 0;
  }

  .btn-primary {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .cta-mobile {
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .carousel-item .btn-primary,
      .carousel-item .btn-secondary {
    padding: 0.12rem 0.3rem !important;
    font-size: 0.79rem !important;
  }
}

@media (max-width: 330px) {
  .btn-primary,
        .btn-secondary {
    font-size: 0.75rem;
    padding: 0.4375rem 0.625rem;
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  .btn-primary,
        .btn-secondary {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .btn-primary,
        .btn-secondary {
    font-size: 1rem;
    padding: 0.75rem 1.125rem;
  }
}

@media (min-width: 992px) {
  .btn-primary,
        .btn-secondary {
    font-size: 1.1rem;
    padding: 0.875rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .option-card,
      .option-card img,
      .btn,
      .btn-call {
    transition: none;
    animation: none;
  }
}

@media (max-width: 439px) {
  .navbar .btn-call {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 9px;
    border-radius: 50%;
    border: 1.8px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-size: 0;
    gap: 0;
    flex-shrink: 0;
  }

  .navbar .btn-call:hover,
      .navbar .btn-call:focus,
      .navbar .btn-call:focus-visible,
      .navbar .btn-call:active {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    color: #fff;
  }

  .navbar .btn-call:focus-visible {
    outline: 2px solid var(--primary-hover-color);
    outline-offset: 2px;
  }

  .navbar .btn-call i {
    font-size: 1.35rem;
    margin: 0;
  }
}

/* --- Navigation & Menus --- */
.dropdown-menu > li > a.dropdown-item {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu > li > a.dropdown-item:hover {
  background-color: #c19a6b;
  color: #ffffff;
}

.nav-link {
  min-width: 44px;
  min-height: 44px;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.navbar {
  background-color: var(--background-color);
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 2rem;
  height: 10%;
  opacity: 0.9;
  font-weight: bolder;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s ease;
}

.navbar.no-opacity {
  opacity: 1;
}

.navbar-brand {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color 0.3s;
  white-space: nowrap;
  margin-right: 1.25rem;
}

.navbar-logo {
  width: 5rem;
  height: auto;
}

.navbar-toggler:hover {
  background-color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
}

.navbar-nav .nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  position: relative;
  margin: 0 0.25rem;
  background-color: transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(193, 154, 107, 0.1);
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.navbar-nav .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar-toggler {
  background-color: var(--primary-color);
  opacity: 1;
  border: 2px solid var(--primary-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  filter: none;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}

.navbar:hover {
  background-color: var(--primary-hover-color);
  color: #ffffff;
}

.breadcrumb-nav {
  margin-bottom: 2rem;
}

.offcanvas {
  color: #000000;
  background-color: #f0f0f0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
}

#offcanvasNavbar {
  opacity: 1 !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--primary-color);
  background-color: rgba(193, 154, 107, 0.10);
}

.dropdown-menu .dropdown-item:focus {
  background-color: transparent !important;
  color: inherit !important;
  outline: none !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
  background-color: #c19a6b !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: auto;
  }

  .navbar-toggler {
    height: auto;
  }
}

@media (max-width: 330px) {
  .navbar-brand {
    font-size: 2.4vw;
  }

  .navbar-logo {
    width: 4.375rem;
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  .navbar-brand {
    font-size: 2.8vw;
  }

  .navbar-logo {
    width: 5.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-brand {
    font-size: 3vw;
  }

  .navbar-logo {
    width: 7.5rem;
  }
}

@media (min-width: 992px) {
  .navbar-brand {
    font-size: 3.2vw;
  }

  .navbar-logo {
    width: 8.75rem;
  }
}

@media (max-width: 439px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar .container-fluid {
    gap: 0.5rem;
  }

  .navbar-brand {
    margin-right: 0.5rem;
  }

  .navbar-logo {
    height: auto;
    max-width: 80px;
  }

  .navbar-toggler {
    height: 38px;
    width: 38px;
    padding: 0.25rem;
    margin: 0;
  }
}

@media (max-width: 576px) {
  .offcanvas-body .nav-link,
      .navbar-nav .nav-link {
    display: inline-block;
    padding: 12px 8px;
    margin: 6px 0;
  }
}

/* --- Hero & Carousel --- */
.carousel-caption {
  position: absolute;
  top: 4.0625rem;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  color: var(--background-color);
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  margin: auto;
}

.ml3,
.ml14 {
  font-size: 1.5em;
  white-space: nowrap;
}

.ml3 .letter,
.ml14 .letter {
  text-transform: capitalize;
}

.ml14 {
  font-weight: bolder;
  font-size: 1.8em;
  text-decoration: underline;
}

.ml14 .letters {
  white-space: normal;
}

.ml14 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml14 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #000;
  transform-origin: 100% 100%;
}

.ml14 .letter {
  display: inline-block;
  line-height: 1em;
}

.ml14 .letters {
  display: inline;
}

.ml14 .line {
  display: inline-block;
}

.premium-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-service {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(10, 10, 10, 0.12);
}

.hero-service-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10, 10, 10, 0.15);
}

.hero-service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), transparent 65%);
}

.carousel-item {
  height: 100vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-image {
  height: auto;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.carousel-item.active {
  background-color: #f3f3f3;
  background-size: cover;
  background-position: center;
}

.carousel-inner {
  will-change: transform, opacity;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.carousel-caption {
  position: absolute;
  top: 4.0625rem;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--background-color);
  text-align: center;
  padding: 0.25rem;
  background-color: rgba(0, 0, 0, 0.4);
}

.ml14 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #000;
  transform-origin: 100% 100%;
  bottom: 0;
}

.carousel-caption .offre-list {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.carousel-indicators [data-bs-target] {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 10px;
}

.carousel-indicators [data-bs-target]::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .carousel-caption h2.custom-title {
    font-size: 1.2rem !important;
    margin-bottom: 5px;
  }

  .carousel-caption .offre-list li {
    margin-bottom: 3px;
  }

  .carousel-item.offre-parebrise .carousel-caption h2.custom-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    white-space: normal;
  }

  .carousel-item.offre-parebrise .offre-list li {
    margin-bottom: 0.4rem;
  }

  .carousel-item.offre-parebrise .offre-list li:last-child {
    display: none !important;
  }

  .carousel-caption {
    padding: 0.5rem;
    margin: 0 0.5rem;
  }

  .carousel-item {
    top: 40%;
  }

  .carousel-item {
    height: 50vh;
  }

  .carousel-caption {
    top: 20%;
    padding: 0px;
  }

  .carousel-item .carousel-caption {
    padding: 15px !important;
  }

  .carousel-item .custom-title.ml3 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
  }

  .carousel-caption .offre-list {
    font-size: 0.85rem !important;
    padding-left: 15px;
    margin-top: 0.5rem !important;
  }

  .carousel-caption .offre-item {
    font-size: 0.9rem;
    margin-bottom: 0.3rem !important;
    text-align: left;
  }

  .carousel-item.offre-parebrise .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.55);
    padding: 1rem;
    width: 100%;
    height: 100%;
  }

  .carousel-item.offre-parebrise .offre-list {
    padding: 0;
    margin: 0 0 1rem 0;
    list-style: none;
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .carousel-caption h2.custom-title {
    font-size: 1rem !important;
  }

  .carousel-caption {
    top: 19%;
    margin: auto;
  }

  .carousel-item .custom-title.ml3 {
    font-size: 1.3rem !important;
    margin-bottom: 0.8rem !important;
  }

  .carousel-caption .offre-list {
    font-size: 0.75rem !important;
    padding-left: 10px;
  }

  .carousel-caption .offre-item {
    font-size: 0.8rem;
    margin-bottom: 0.2rem !important;
  }

  .ml14 {
    font-size: calc(1.2rem + 0.4vw);
  }

  .carousel-item {
    height: 40vh;
  }
}

@media (max-width: 767.98px) {
  .hero-service-visual {
    margin-top: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .ml14 {
    font-size: 2em;
  }
}

@media (max-width: 992px) {
  .carousel-item {
    height: 70vh;
  }

  .carousel-caption {
    padding: 0.9375rem;
    margin: auto;
  }
}

@media (max-width: 400px) {
  .carousel-item .custom-title.ml3 {
    font-size: 1.2rem !important;
  }

  .ml3,
      .ml3 .letters,
      .ml14,
      .ml14 .letters {
    white-space: normal !important;
  }

  .ml3 .letter,
      .ml14 .letter {
    display: inline !important;
  }

  .ml3 span,
      .ml14 .letters span {
    display: inline !important;
    margin: 0 !important;
  }
}

@media (max-width: 330px) {
  .ml14 {
    font-size: 0.85em;
  }
}

@media (max-width: 439px) and (min-width: 401px) {
  .ml3,
      .ml14,
      .custom-title.ml3 .letters {
    white-space: normal !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .ml14 {
    font-size: 1.2em;
  }
}

@media (min-width: 991px) and (max-width: 1199px) {
  .ml14 {
    font-size: 1.8em;
  }
}

@media (min-width: 992px) {
  .ml14 {
    font-size: 1.4em;
  }
}

/* --- Cards & Services --- */
.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.flip-card-front h3 {
  margin: 0.625rem 0;
}

.flip-card-back h4 {
  margin: 2rem 0;
  color: #ffffff;
}

#geo-focus .feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
}

.flip-card-front h3 {
  margin: 0;
  padding: 0;
  font-size: 1.15rem;
  text-align: center;
}

.flip-card-back h4 {
  margin: .25rem 0 .125rem;
  font-size: 1.06rem;
  line-height: 1.25;
}

.flip-card-front h3 {
  margin: 2.4rem 0 .8rem;
}

.service-image {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.service-section {
  background-color: #ffffff;
  border-radius: 14px;
  padding: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #ffffff;
}

.service-title {
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  margin: 0;
  color: var(--secondary-color);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #ffffff;
}

.service-card.text-center .service-body {
  align-items: center;
  text-align: center;
}

.service-description {
  color: #666666;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.value-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card p {
  font-size: 0.98rem;
  color: #666666;
}

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

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: var(--card-foreground);
}

.option-card:hover {
  background-color: var(--option-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--card-foreground);
  text-decoration: none;
}

.option-card.selected {
  border-color: var(--primary);
  background-color: var(--option-selected);
  box-shadow: 0 0 0 1px var(--primary);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 1.875rem;
}

.service {
  width: 100%;
  margin-bottom: 1.875rem;
  text-align: center;
  object-fit: cover;
  height: 100%;
}

.service-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.25rem;
  width: 6.25rem;
  margin: 0 auto;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service .service-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-image-container:hover .service-image {
  animation: bounce 0.5s ease infinite;
}

.flip-card {
  background-color: transparent;
  width: 18.75rem;
  height: 18.75rem;
  perspective: 62.5rem;
  margin: 2rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0.625rem;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-back {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.625rem;
  justify-content: center;
  align-items: center;
}

.flip-card-front {
  background-color: var(--card-background);
  color: var(--text-color);
}

.flip-card-front img {
  margin-bottom: 2.625rem;
  width: 100%;
  border-radius: 0.625rem 0.625rem 0 0;
}

.flip-card-back {
  background-color: #444444;
  color: white;
  transform: rotateY(180deg);
  padding: 0.625rem;
  flex-direction: column;
}

.flip-card-back p {
  margin: 2rem 0;
}

#geo-focus .feature-card {
  background: #fffdf9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  min-height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#geo-focus .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

#geo-focus .feature-card p {
  color: #5a4a3c;
  margin: 0;
}

#geo-focus .feature-icon {
  color: #c19a6b;
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(193, 154, 107, 0.15);
}

#geo-highlights .stat-card {
  background: #fffaf4;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 1rem;
  padding: 2rem 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.process-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
}

.step-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  padding: 25px;
  margin-bottom: 30px;
  transition: opacity 0.3s ease;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  background-color: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.option-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(193, 154, 107, 0.2);
}

.option-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(193, 154, 107, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.card {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

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

.service-image {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  object-fit: cover;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0.5rem;
}

.flip-card-front img {
  max-height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 180px;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 2px solid transparent;
}

.option-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.option-card .option-label,
.option-card .option-label-m,
.option-card span {
  font-family: 'Poppins','Segoe UI',Arial,sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2c3e50;
  line-height: 1.3;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

input[type="radio"].d-none + label.option-card {
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  border: 2px solid var(--rdv-border, #dee2e6);
  box-shadow: none;
  transform: scale(1);
}

input[type="radio"].d-none:checked + label.option-card {
  border-color: var(--primary-color, #0d6efd);
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.25);
  transform: scale(1.03);
  background-color: rgba(13, 110, 253, 0.05);
}

input[type="radio"].d-none:checked + label.option-card img {
  transform: scale(1.06);
}

.option-card:hover img {
  transform: scale(1.04);
}

input[type="radio"].d-none:checked + label.option-card span {
  color: #0d6efd;
}

.option-card:hover span {
  color: #0d6efd;
}

#sub-autres .option-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#sub-autres .option-card img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

#sub-autres .option-card span {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2c3e50;
}

#sub-autres .option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

input[name="otherGlass"].d-none:checked + label.option-card {
  border: 2px solid #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
  transform: scale(1.03);
}

input[name="otherGlass"].d-none:checked + label.option-card span {
  color: #0d6efd;
}

.damage-options .option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 160px;
  padding: 1.25rem;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #0d6efd;
}

input[type="radio"].d-none:checked + label.option-card {
  border-color: #0d6efd;
  background-color: #f8f9ff;
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.3);
  transform: scale(1.03);
}

input[type="radio"].d-none:checked + label.option-card img {
  transform: scale(1.05);
}

input[type="radio"].d-none:checked + label.option-card .option-label,
input[type="radio"].d-none:checked + label.option-card .option-label-m {
  color: #0d6efd;
  font-weight: 600;
}

.option-card img {
  transition: transform 0.3s ease;
}

.option-card:hover img {
  transform: scale(1.08);
}

.option-card.selected {
  animation: select-bounce 0.4s ease-out;
}

.option-card > div[style*="display: flex"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.option-card [class*="option-image"] img,
.option-card [class*="option-label"] img {
  margin-left: auto !important;
  margin-right: auto !important;
}

input[type="radio"].d-none:focus + label.option-card {
  outline: 3px solid #0d6efd;
  outline-offset: 2px;
}

.flip-card--wide {
  width: 21rem;
  height: 21.5rem;
}

.flip-card-back {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  overflow-wrap: break-word;
}

.flip-card-back p {
  margin: 0;
  padding: 0 .25rem;
  font-size: .97rem;
  line-height: 1.45;
  max-width: 92%;
}

.flip-card-front img {
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .service-section h2.gallery-subtitle {
    text-align: center !important;
  }

  .service-section h2.gallery-subtitle::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .card.service {
    margin-bottom: 1.5rem;
  }

  .service-image {
    border-radius: 8px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .flip-card--wide {
    width: 19rem;
    height: 16rem;
  }
}

@media (max-width: 330px) {
  .flip-card-front h3 {
    font-size: 1rem;
    margin: -0.375rem 0;
  }

  .flip-card-back h4 {
    margin: 1.8rem 0;
  }

  .flip-card {
    width: 12.5rem;
    height: 12.5rem;
  }

  .flip-card-back p {
    font-size: 0.6875rem;
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  .flip-card-front h3 {
    font-size: 1.425rem;
    margin: -1.4375rem 0;
  }

  .flip-card-back h4 {
    margin: 0.2rem 0;
  }

  .flip-card {
    width: 13.125rem;
    height: 13.125rem;
  }

  .flip-card-back p {
    font-size: 0.99rem;
    margin: 1rem 0px;
  }
}

@media (max-width: 991.98px) {
  .flip-card-front h3 {
    font-size: 1.05rem !important;
    margin-top: 0 !important;
  }

  .service-image-container {
    height: 200px;
  }

  .flip-card-front {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1rem 0.5rem !important;
  }

  .flip-card-front img {
    max-height: 140px !important;
    margin-bottom: 0.75rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .flip-card-front h3 {
    font-size: 1.375rem;
    margin: -0.75rem 0;
  }

  .flip-card-back h4 {
    margin: 1.8rem 0;
  }

  .flip-card {
    width: 15.625rem;
    height: 15.625rem;
  }

  .flip-card-back p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 992px) {
  .flip-card-front h3 {
    font-size: 1.5rem;
    margin: -0.9375rem 0;
  }

  .flip-card-back h4 {
    margin: 2rem 0;
  }

  .flip-card {
    width: 18.75rem;
    height: 18.75rem;
  }

  .flip-card-back p {
    font-size: 1.4rem;
  }
}

@media (hover:hover) {
  .service-section:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(10, 10, 10, 0.12);
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(10, 10, 10, 0.14);
  }

  .service-card:hover .service-image {
    transform: scale(1.06);
  }

  .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(10, 10, 10, 0.12);
  }
}

@media (max-width: 767.98px) {
  .service-section {
    padding: 1.75rem;
  }

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

@media (max-width: 480px) {
  .step-card {
    padding: 0.5rem;
  }

  #sub-autres .option-card {
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .service-image-container:hover .service-image {
    animation: none;
  }

  .option-card {
    width: 240px;
  }

  .option-card .option-label,
      .option-card .option-label-m,
      .option-card span {
    font-size: 1.05rem;
  }

  .damage-options .option-card {
    width: 100%;
    max-width: 250px;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .option-card {
    width: 200px;
  }

  .damage-options .option-card {
    width: 170px;
  }
}

@media (min-width: 993px) {
  .option-card {
    width: 180px;
  }
}

/* --- Stats & Highlights --- */
#geo-highlights .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #c19a6b;
  display: block;
}

#geo-highlights .stat-label {
  margin: 0;
  color: #4a4a4a;
  font-size: 0.95rem;
}

/* --- Lists & Tables --- */
.offre-list li {
  margin-bottom: 0.75rem;
}

.gold-relief,
.gold-relief * {
  color: #ffffff !important;
}

.gold-relief strong {
  color: #ffffff;
}

.table {
  margin: 0 auto;
}

th,
td {
  text-align: center;
  vertical-align: middle;
}

th {
  padding: 10px;
  font-size: 1rem;
  text-align: match-parent;
}

td {
  padding: 8px;
  font-size: 0.9rem;
}

.form-control, .form-select {
  border: 1px solid var(--input);
  background-color: var(--background);
  color: var(--foreground);
  border-radius: calc(var(--radius) - 2px);
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--destructive);
}

.col-md-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

.offre-list {
  list-style-type: none;
  padding: 0;
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(193, 154, 107, 0.25);
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: #dc3545;
}

input[type="date"], .form-control, .form-select {
  border-radius: 8px;
  padding: 10px;
}

.fancybox__toolbar {
  background: rgba(0, 0, 0, 0.5);
}

.glass-option,
.damage-option,
.other-glass-option {
  display: contents;
}

.other-glass-option {
  display: contents;
}

.glass-option > div,
.damage-option > div,
.other-glass-option > div {
  display: contents;
}

#faqAccordion .accordion-button:not(.collapsed) {
  background-color: #c19a6b;
  color: #ffffff;
}

#faqAccordion .accordion-button.collapsed:hover {
  background-color: rgba(193, 154, 107, 0.15);
  color: #c19a6b;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa !important;
  color: #000 !important;
}

@media (max-width: 768px) {
  .breadcrumb-step i {
    font-size: 1.2rem;
    padding: 0.5rem;
  }

  #prise_en_charge_pare_brise .presentation-text-long {
    display: none !important;
  }

  #prise_en_charge_pare_brise .presentation-text-short {
    display: block !important;
  }

  .presentation-text-short {
    display: block;
    text-align: center;
    margin: 1rem auto;
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .presentation-text-long {
    display: block;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .custom-title {
    font-size: 2rem;
    margin: 1rem auto;
  }

  .presentation-container {
    padding: 1rem;
    gap: 1.5rem;
  }

  #faq_pare_brise .accordion-item:nth-of-type(n+4) {
    display: none;
  }

  #faq_pare_brise .accordion-button {
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 1rem;
  }

  #faq_pare_brise .accordion-body {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .mobile-br {
    display: block;
    width: 100%;
  }

  .presentation-container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .presentation-image {
    width: 100%;
    height: 300px;
  }

  .presentation-text-content {
    width: 100%;
    height: auto;
  }

  .container {
    padding: 1rem 0.5rem;
  }

  .step-content {
    padding: 1rem;
  }

  .step-title {
    font-size: 1.25rem;
  }

  .breadcrumb-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .breadcrumb-step {
    flex: 0 0 calc(50% - 0.5rem);
    font-size: 0.8rem;
  }

  .presentation-text-short {
    display: block;
  }

  .presentation-text-long {
    display: block;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .progress {
    margin: 0 auto 1.5rem auto;
    width: 90%;
  }

  .step,
      .form-section {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .breadcrumb-step span {
    display: block;
  }

  .breadcrumb-steps {
    gap: 2rem;
  }
}

@media (max-width: 330px) {
  .custom-title {
    font-size: 1.4rem;
  }

  .ml3 {
    font-size: calc(1em + 0.3vw);
  }

  .accordion-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
    line-height: 1.4;
  }

  .accordion-body {
    font-size: 0.75rem;
    line-height: 1.5;
    padding: 0.5rem;
  }

  .accordion-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .step-title {
    font-size: 1.5rem;
  }

  .breadcrumb-step {
    flex: 0 0 100%;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .custom-title {
    font-size: 1.5rem;
  }

  .presentation-text-long {
    font-size: 1rem;
  }

  .ml3 {
    font-size: calc(1.5em + 0.5vw);
  }

  .ml3 .letter {
    opacity: 1;
  }

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

  .ml3 {
    font-size: calc(1.2em + 0.5vw);
  }

  .ml3 .letter {
    display: inline-block;
    line-height: 1em;
  }

  .image-container {
    height: 52vh;
  }

  .image-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  .presentation-text {
    font-size: 1rem;
  }

  .overlay-text {
    left: 50%;
    margin: 0;
    top: 63%;
    padding: 0.75rem;
    font-size: 0.875rem;
    transform: translate(-50%, -50%);
  }

  .option-image {
    height: 120px;
  }

  .option-image-m,
      .option-label-m {
    height: 90px;
  }

  .damage-options {
    gap: 1rem;
  }

  .damage-options .option-label-m {
    height: 75px;
  }
}

@media (max-width: 400px) {
  .ml3 {
    display: inline-block;
    width: 100%;
    overflow-wrap: break-word;
  }

  .ml3::after {
    content: '';
    display: block;
    height: 0;
  }

  .ml3 span:nth-child(1),
        .ml3 span:nth-child(2) {
    display: inline-block;
    margin-right: 0.2em;
  }

  .ml3 span:nth-child(3) {
    display: block;
    margin-top: 0.3em;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .accordion-body {
    font-size: 0.85rem;
  }
}

@media (min-width: 330px) and (max-width: 768px) {
  th,
        td {
    text-align: center;
    vertical-align: initial;
  }

  table {
    width: 100%;
  }

  th {
    padding: 10px;
    font-size: 1rem;
  }

  td {
    padding: 8px;
    font-size: 0.9rem;
  }

  .table {
    margin: 0 auto;
  }
}

@media (max-width: 424px) and (min-width: 401px) {
  .credits {
    white-space: normal !important;
    text-align: center;
  }

  .credits .mobile-br {
    display: inline;
  }
}

@media (max-width: 439px) and (min-width: 401px) {
  .mobile-br {
    display: inline !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .custom-title {
    font-size: 2rem;
  }

  .presentation-text-short {
    display: none;
  }

  .presentation-text-long {
    display: block;
  }
}

@media (min-width: 992px) {
  .custom-title {
    font-size: 2.4rem;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .option-image {
    height: 100px;
  }

  .option-image-m,
      .option-label-m {
    height: 80px;
  }
}

/* --- Forms & Inputs --- */
.form-section {
  margin-bottom: 2rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-label {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-label.required::after {
  content: "\00A0*";
  color: var(--destructive);
}

.option-label {
  font-weight: 500;
  text-align: center;
  color: inherit;
}

.option-label-sm {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: inherit;
}

.time-slot input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.time-slot label {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--card);
  color: var(--card-foreground);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-weight: 500;
  font-size: 0.875rem;
}

.time-slot label:hover {
  background-color: var(--option-hover);
  border-color: var(--primary);
}

.time-slot input[type="radio"]:checked + label {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.form-check-input.is-invalid {
  border-color: var(--destructive);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--foreground);
}

.option-label {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.option-label-sm {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.time-slot input[type="radio"] {
  display: none;
}

.time-slot label {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.time-slot label:hover {
  border-color: var(--primary-color);
  background-color: rgba(193, 154, 107, 0.05);
}

.time-slot input[type="radio"]:checked + label {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}

.form-label.required::after {
  content: "\00A0*";
  color: #dc3545;
}

.clickable-img:hover, .clickable-img.selected {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 0 12px rgba(13, 110, 253, 0.6);
}

.form-check-input.is-invalid ~ .form-check-label {
  color: #dc3545;
}

.form-check-input:checked {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

.option-image,
.option-image-m,
.option-label-m {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  border-radius: 8px;
  margin-bottom: .5rem;
}

.option-image-m,
.option-label-m {
  height: 60px;
  background: #f8f9fa;
}

.vitrage-options label.pop {
  animation: select-pop 350ms ease-out;
}

#sub-autres .option-image-m,
#sub-autres .option-label-m {
  height: 90px;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sub-autres .option-image-m,
#sub-autres .option-label-m {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.damage-options .option-label-m {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 80px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.damage-options .option-label-m img {
  max-width: 85%;
  max-height: 85%;
  height: auto;
  object-fit: contain;
  display: block;
}

.damage-options .option-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #2c3e50;
  text-align: center;
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .vitrage-options label.pop {
    animation: none;
  }
}

@keyframes select-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  75% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1.03);
  }
}

@keyframes select-bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  75% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1.03);
  }
}

/* --- Steps & Breadcrumbs --- */
.breadcrumb-step i {
  font-size: 1rem;
}

.breadcrumb-step span {
  display: none;
}

.breadcrumb-step i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  transition: var(--transition-smooth);
}

.progress-container {
  margin-bottom: 2rem;
}

.progress {
  height: 8px;
  background-color: var(--muted);
  border-radius: calc(var(--radius) / 2);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  transition: width 0.5s ease;
  border-radius: calc(var(--radius) / 2);
}

.breadcrumb-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.breadcrumb-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background-color: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.breadcrumb-step.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.breadcrumb-step.completed {
  background-color: var(--success);
  color: var(--success-foreground);
}

.step-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.step-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
}

.step-content {
  padding: 1.5rem;
}

.step-header {
  margin-bottom: 2rem;
  text-align: center;
}

.step-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content {
  margin-bottom: 2rem;
}

.progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color);
  transition: width 0.5s ease;
}

.breadcrumb-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  color: #6c757d;
  font-size: 0.9rem;
}

.breadcrumb-step.active i {
  background-color: var(--primary-color);
  color: white;
}

.breadcrumb-step.completed i {
  background-color: #28a745;
  color: white;
}

.breadcrumb-step.active {
  color: var(--primary-color);
  font-weight: 600;
}

.breadcrumb-step.completed {
  color: #28a745;
}

.breadcrumb-item {
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}

.breadcrumb-item.active {
  color: #0d6efd;
  font-weight: bold;
}

.breadcrumb-item.d-none {
  display: none !important;
}

.progress-bar {
  background-color: #0d6efd;
  transition: width 0.5s ease;
}

.breadcrumb-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 10px;
  margin: 6px 4px;
}

@keyframes step-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- FAQ & Accordions --- */
#faq_pare_brise .accordion-button {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 700;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-align: center;
  text-wrap: balance;
  padding: 1.2rem 1.5rem;
}

#faq_pare_brise .accordion-button span,
#faq_pare_brise .accordion-button p {
  display: block;
  width: 100%;
  margin-bottom: 0.6rem;
}

#faq_pare_brise .accordion-body {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

#faq_pare_brise .accordion-item {
  margin-bottom: 1rem;
}

.accordion-button {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 1.25rem;
}

.accordion-item {
  margin-bottom: 1.5rem;
}

.accordion-body {
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: normal;
}

.accordion-button,
.accordion-body {
  text-align: left !important;
}

.accordion-button {
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.accordion-body {
  font-size: 0.95rem !important;
  color: #333 !important;
}

.accordion-button:hover {
  background-color: #f0f0f0 !important;
  color: #000 !important;
}

/* --- Modals & Overlays --- */
.modal-dialog {
  max-width: 62.5rem;
  margin: 1.75rem auto;
}

.modal-body {
  position: relative;
  padding: 1.25rem;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Footer & Contact --- */
.footer h5 {
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

#temoignages,
#carte,
#contact {
  padding: 3rem 1rem;
  text-align: center;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
  width: 100%;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--primary-color);
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  background-color: var(--footer-background);
  color: var(--secondary-color);
  border-top: 3px solid rgba(193, 154, 107, 0.35);
}

.footer .section-separation {
  margin-bottom: 1.25rem;
}

.footer hr {
  border-color: rgba(193, 154, 107, 0.4);
}

.footer p,
.footer address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #5f5f5f;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--primary-hover-color);
  text-decoration: underline;
}

.footer .picto2 i {
  font-size: 2rem;
  color: var(--primary-color);
  transition: color 0.3s, transform 0.3s;
  margin: 0 0.5rem;
}

.footer .picto2 i:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer .footer-links a {
  display: block;
  margin: 0.3125rem 0;
}

.footer .text-align-center {
  text-align: center;
}

.footer .nowrap {
  white-space: nowrap;
}

.picto2, .insta.picto2, .fb.picto2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
}

/* ============================================================= */
/* Utilities & Helpers */
/* ============================================================= */

/* --- Animations & Keyframes --- */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
        100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.625rem);
  }
}

@keyframes blinkingEffect {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

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

/* --- General Helpers --- */
.image-container {
  position: relative;
  text-align: center;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.presentation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  gap: 2rem;
  text-align: center;
}

.presentation-container img.presentation-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.presentation-container .presentation-text-content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.custom-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: capitalize !important;
  line-height: 1.2;
}

.presentation-text {
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
}

.presentation-text-short {
  display: none;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
}

.presentation-text-long {
  display: block;
  width: 100%;
  white-space: normal;
  overflow: visible;
  margin: 0 auto 1.5rem auto;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 100%;
}

#prise_en_charge_pare_brise .presentation-text-long,
#prise_en_charge_pare_brise .presentation-text-short {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: normal !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: visible !important;
  text-align: center;
  margin: 0 auto 1.5rem auto;
  padding: 0 1rem;
}

.overlay-text {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 10;
  text-align: center;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.625rem;
}

.ml3.custom-title,
.custom-title.ml3 {
  white-space: normal;
}

.letter {
  color: inherit;
  font: inherit;
  white-space: pre-wrap;
}

.logos {
  width: 100%;
  height: 10vh;
  overflow: hidden;
  padding: 2% 0;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
}

.logos::before,
.logos::after {
  position: absolute;
  top: 0;
  width: 25%;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), grey);
}

.logos::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), grey);
}

.logos-slide {
  display: flex;
  width: 200%;
  animation: slide 35s linear infinite;
}

.logos-slide img {
  height: 5.625rem;
  margin: 0 2.5rem;
}

.section-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 3rem auto;
  padding: 2rem;
  max-width: 1000px;
}

.container {
  text-align: center;
  padding: 1rem;
}

#carte .map-responsive {
  margin: 2rem auto;
  max-width: 100%;
  text-align: center;
}

.section-intro {
  max-width: 720px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: #555555;
}

.highlight {
  background: linear-gradient(120deg, rgba(193, 154, 107, 0.45) 0%, rgba(193, 154, 107, 0.65) 100%);
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 90%;
}

.mobile-br {
  display: none;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(193, 154, 107, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.container img {
  width: 100%;
  height: auto;
}

.centered-content {
  text-align: center;
  margin: 0 auto;
}

.presentation-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
}

.presentation-image {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.presentation-text-content {
  width: 100%;
  height: auto;
}

.custom-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.625rem;
  text-align: center;
  text-transform: capitalize !important;
}

.presentation-text {
  margin-bottom: 0;
  font-size: 1.4rem;
}

.presentation-text-short {
  display: none;
}

.presentation-text-long {
  display: block;
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.4rem;
}

.overlay-text {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 10;
  text-align: center;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 0.625rem;
}

.ml3 {
  font-size: 1.5em;
  white-space: nowrap;
}

.step {
  display: none;
  animation: step-fade-in 0.5s ease-out;
}

.step.active {
  display: block;
}

.sub-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  animation: slideUp 0.4s ease-out;
}

.option-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.option-image-sm {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.time-period {
  margin-bottom: 1rem;
}

.time-period-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.time-slot {
  position: relative;
}

.error-message {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

.confirmation-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--step-shadow);
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.confirmation-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1.5rem;
}

.loading-spinner {
  display: none;
}

.process-step {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #c19a6b;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#upButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  background-image: url(../img/up.svg);
  background-position: center;
  background-size: 60%;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#upButton::before {
  content: "↑";
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  display: none;
}

#upButton:not([style*="background-image"])::before {
  display: block;
}

#upButton.show {
  opacity: 0.85;
  pointer-events: auto;
}

#upButton.show:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.section-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.9375rem;
}

.bloc {
  margin-left: 1.875rem;
}

.email,
.phone {
  color: #000000;
}

.insta,
.fb {
  color: var(--background-color);
}

.insta:hover,
.fb:hover {
  color: var(--tertiary-color);
}

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

.bg-light1 {
  padding: 0.625rem;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.mt-3 {
  margin-top: 1rem;
}

.blinking {
  animation: blinkingEffect 1.5s infinite;
}

.map-responsive {
  width: 100%;
  height: 25rem;
  margin-top: 1.25rem;
}

.row img {
  width: 100%;
  height: auto;
}

.logos {
  width: 100%;
  height: 10vh;
  overflow: hidden;
  padding: 2% 0;
  background: white;
  position: relative;
  display: flex;
  align-items: center;
}

.logos-slide {
  display: flex;
  width: calc(200%);
  animation: slide 35s linear infinite;
}

.offre-speciale {
  border: 2px dashed var(--highlight-color);
  padding: 2rem;
  border-radius: 1rem;
}

.offre-speciale .offre-texte {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 1rem;
}

.step {
  display: none !important;
}

.step.active {
  display: block !important;
}

.option-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.option-image-sm {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.time-period {
  margin-bottom: 1.5rem;
}

.time-period-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e9ecef;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.confirmation-section {
  text-align: center;
  padding: 3rem 2rem;
}

.confirmation-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1.5rem;
}

.sub-step {
  display: none;
}

.sub-step.active {
  display: block;
}

.step {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  padding: 25px;
  margin-bottom: 30px;
  transition: opacity 0.3s ease;
}

.clickable-img {
  width: 150px;
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0.8;
}

.pswp__img {
  object-fit: contain;
}

.fancybox__container {
  background: rgba(0, 0, 0, 0.8);
}

.fancybox__image {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.fancybox__button {
  color: white;
}

#map-container {
  width: 100%;
  height: 450px;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.is-invalid ~ .invalid-feedback,
.is-invalid + .invalid-feedback {
  display: block;
}

.fancybox__content {
  animation: modal-fade-in 0.3s ease-in-out;
}

.option-image {
  height: 80px;
  background: #f8f9fa;
}

.glass-option {
  display: contents;
}

.damage-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.damage-option {
  display: contents;
}

.step.active {
  animation: fadeInUp 0.3s ease-out;
}

.up {
  width: 48px;
  height: 48px;
  line-height: 48px;
}
@media (max-width: 768px) {
  h1,
  .section-title {
    font-size: clamp(2rem, 5.5vw, 2.4rem);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }

  h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  p {
    font-size: calc(var(--base-font-size) * 0.95);
  }
}

@media (max-width: 576px) {
  h1,
  h2,
  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    line-height: 1.2;
    text-wrap: balance;
    word-break: keep-all;
  }

  .title-no-break {
    white-space: nowrap;
  }
}

@media (min-width: 401px) and (max-width: 575.98px) {
  h2:not(.section-title),
  .section-title {
    font-size: clamp(1.35rem, 4.2vw, 1.8rem);
  }

  h3 {
    font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  }
}

@media (min-width: 401px) and (max-width: 575.98px) {
  body.parallelisme-page h2.section-title.custom-title {
    font-size: clamp(1.35rem, 4vw, 1.7rem);
  }

  body.parallelisme-page h3.section-title,
  body.parallelisme-page h3,
  body.parallelisme-page .section-header h3 {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
  }
}

@media (min-width: 401px) and (max-width: 575.98px) {
  body.climatisation-page h2,
  body.reparation-jantes-page h2 {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
  }

  body.climatisation-page h3,
  body.reparation-jantes-page h3 {
    font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  }
}

@media (max-width: 330px) {
  h1 {
    font-size: calc(var(--base-font-size) * 1.45);
  }

  h2 {
    font-size: calc(var(--base-font-size) * 1.25);
  }

  h3 {
    font-size: calc(var(--base-font-size) * 1.05);
  }

  p {
    font-size: calc(var(--base-font-size) * 0.9);
  }
}
