/* ============================================
   COUVREUR-ZINGUER.FR - Custom Styles
   Bootstrap 5 + Custom Design
   Mobile-First | CRO Optimized | Local SEO PACA
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1B3A4B;
  --primary-dark: #0F2633;
  --secondary: #C67B3C;
  --secondary-light: #D4944F;
  --accent: #E8A84C;
  --dark: #1A1A2E;
  --light: #F7F5F2;
  --light-warm: #FDF8F3;
  --gray-100: #F0EDE8;
  --gray-200: #E0DBD3;
  --gray-300: #B8B0A4;
  --gray-500: #7A7267;
  --gray-700: #4A443C;
  --white: #FFFFFF;
  --success: #2D8B4E;
  --danger: #C0392B;
  --shadow-sm: 0 2px 8px rgba(27,58,75,0.08);
  --shadow-md: 0 4px 20px rgba(27,58,75,0.12);
  --shadow-lg: 0 8px 40px rgba(27,58,75,0.16);
  --shadow-xl: 0 16px 60px rgba(27,58,75,0.20);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

/* --- Global Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.75em;
}

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

p { margin-bottom: 1rem; }

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

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

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

/* --- Selection --- */
::selection {
  background: var(--secondary);
  color: var(--white);
}

/* --- Navbar --- */
.navbar-couvreur {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-couvreur.scrolled {
  padding: 0.4rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-couvreur .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-couvreur .navbar-brand span {
  color: var(--secondary);
}

.navbar-couvreur .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-couvreur .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.navbar-couvreur .nav-link:hover::after,
.navbar-couvreur .nav-link.active::after {
  width: 60%;
}

.navbar-couvreur .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
}

.navbar-couvreur .dropdown-item {
  padding: 0.55rem 1.25rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.navbar-couvreur .dropdown-item:hover {
  background: var(--light-warm);
  color: var(--secondary);
  padding-left: 1.5rem;
}

.nav-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.nav-cta-phone:hover {
  background: var(--secondary-light);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(198,123,60,0.35);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.4rem 0;
}

.top-bar a {
  color: var(--accent);
  font-weight: 600;
}

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

.top-bar i { color: var(--secondary); }

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2A5A6E 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-image-col {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-placeholder {
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.hero-image-placeholder i {
  display: none;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-floating-card .rating-stars {
  color: #F4B400;
  font-size: 0.85rem;
}

.hero-floating-card .rating-text {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.hero-floating-card .rating-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn-primary-custom {
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(198,123,60,0.3);
}

.btn-primary-custom:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198,123,60,0.4);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(198,123,60,0.3);
}

.btn-dark-custom {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

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

/* --- Sections General --- */
.section-padding {
  padding: 5rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

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

.section-bg-dark {
  background: var(--primary);
  color: var(--white);
}

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

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-header .overline::before,
.section-header .overline::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--secondary);
  opacity: 0.4;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Services Cards --- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--light-warm), var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--secondary);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

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

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  gap: 0.6rem;
  color: var(--secondary-light);
}

/* --- Why Us / Advantages --- */
.advantage-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.advantage-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.advantage-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Zone Intervention --- */
.zone-tag {
  display: inline-block;
  background: var(--light-warm);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.3rem;
  transition: var(--transition);
}

.zone-tag:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.zone-tag i {
  color: var(--secondary);
  margin-right: 0.3rem;
}

.zone-tag:hover i {
  color: var(--white);
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  height: 100%;
  transition: var(--transition);
}

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

.testimonial-stars {
  color: #F4B400;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), #2A5A6E);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(198,123,60,0.1);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ --- */
.faq-section .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  box-shadow: none !important;
  font-weight: 400;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--light-warm);
  color: var(--secondary);
}

.faq-section .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23C67B3C' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  transition: var(--transition);
}

.faq-section .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23C67B3C' viewBox='0 0 16 16'%3E%3Cpath d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.faq-section .accordion-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: var(--transition);
}

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

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-img i {
  font-size: 2.5rem;
  color: var(--gray-300);
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card-meta i { color: var(--secondary); }

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

.blog-card h3 a {
  color: var(--primary);
}

.blog-card h3 a:hover { color: var(--secondary); }

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Contact Form --- */
.contact-section .form-control,
.contact-section .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(198,123,60,0.15);
}

.contact-section .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon i {
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-info-item h5 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.contact-info-item p,
.contact-info-item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--accent);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer p { font-size: 0.9rem; }

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand span { color: var(--secondary); }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

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

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- Breadcrumbs --- */
.breadcrumb-section {
  background: var(--light-warm);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-section .breadcrumb {
  margin: 0;
  font-size: 0.85rem;
}

.breadcrumb-section .breadcrumb-item a {
  color: var(--gray-500);
}

.breadcrumb-section .breadcrumb-item.active {
  color: var(--secondary);
  font-weight: 600;
}

/* --- Page Hero (sub-pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

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

/* --- Service Detail Page --- */
.service-detail-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-detail-content ul {
  padding-left: 0;
  list-style: none;
}

.service-detail-content ul li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.service-detail-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.85rem;
}

.service-sidebar-card {
  background: var(--light-warm);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.service-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-sidebar-list li {
  border-bottom: 1px solid var(--gray-200);
}

.service-sidebar-list li:last-child { border-bottom: none; }

.service-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.92rem;
}

.service-sidebar-list a:hover {
  color: var(--secondary);
  padding-left: 0.35rem;
}

.service-sidebar-list a i {
  color: var(--secondary);
  font-size: 0.8rem;
}

/* --- Urgence Badge --- */
.urgence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--danger);
  color: var(--white);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  animation: pulse-urgence 2s ease-in-out infinite;
}

@keyframes pulse-urgence {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(192,57,43,0); }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

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

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 1.25rem;
  z-index: 9999;
  font-size: 0.88rem;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-banner a { color: var(--accent); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 5rem 0 3rem;
    text-align: center;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image-col { margin-top: 2.5rem; }
  .hero-floating-card { display: none; }
  .section-padding { padding: 3.5rem 0; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

@media (max-width: 767.98px) {
  .top-bar .d-flex { flex-direction: column; gap: 0.3rem; text-align: center; }
  .hero-title { font-size: 1.9rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary-custom, .btn-secondary-custom { width: 100%; justify-content: center; max-width: 320px; }
  .service-card { padding: 1.5rem; }
  .footer .col-lg-4 { margin-bottom: 2rem; }
  .contact-info-card { margin-bottom: 2rem; }
}

@media (max-width: 575.98px) {
  .hero-section { padding: 4rem 0 2rem; }
  .hero-trust { gap: 0.75rem; }
  .hero-trust-item { font-size: 0.8rem; }
  .nav-cta-phone span.d-none { display: none !important; }
}

/* --- Utilities --- */
.text-secondary-custom { color: var(--secondary) !important; }
.bg-light-warm { background: var(--light-warm); }
.fw-800 { font-weight: 800; }
.ls-wide { letter-spacing: 0.05em; }
