/* ===========================
   MJL Assurances - Optimized Stylesheet
   =========================== */

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

:root {
  --primary-color: #0071bc;
  --primary-dark: #005a96;
  --accent-orange: #ff6b35;
  --accent-orange-dark: #e85a2a;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header & Navigation */
.header {
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  width: 100%;
  padding: 0.8rem 20px;
}

.navbar-wrapper {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Logo styling */
.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
  height: 60px;
}

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

/* Logo styling - Updated to support image logo */
.logo-text {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-mjl {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.logo-assurances {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-orange);
  letter-spacing: 1px;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: flex-end;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

/* CTA button in nav */
.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn-primary {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn-primary,
.btn-orange,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff !important;
}

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

.btn-orange {
  background: var(--accent-orange);
  color: #ffffff;
}

.btn-orange:hover {
  background: var(--accent-orange-dark);
  transform: translateY(-2px);
}

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
/* Removed placeholder.svg reference, using gradient only */
.hero {
  background: linear-gradient(135deg, rgba(0, 113, 188, 0.95), rgba(255, 107, 53, 0.85));
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Grid */
.services-grid {
  padding: 4rem 0;
  background: var(--bg-light);
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

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

.service-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.service-card:hover .service-icon {
  color: var(--accent-orange);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* Services Intro */
.services-intro {
  padding: 5rem 0;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.services-intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.services-intro-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.services-intro-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hours Section */
.hours-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  color: var(--white);
}

.hours-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hours-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.hours-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hours-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.hours-time {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Partners Section */
.partners-section {
  padding: 5rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  width: 100%;
  max-width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-orange);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Why Us */
.why-us,
.why-choose {
  padding: 5rem 0;
}

.feature-card,
.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.feature-icon-box {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  font-size: 2.5rem;
}

.feature-card h3,
.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p,
.feature-box p {
  color: var(--text-gray);
}

/* FAQ */
.faq {
  padding: 4rem 0;
  background: var(--bg-light);
}

.faq-intro-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: left;
}

.faq-intro-text ul {
  list-style: none;
  padding: 0;
}

.faq-intro-text li {
  padding: 0.5rem 0 0.5rem 30px;
  position: relative;
}

.faq-intro-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.faq-icon {
  color: var(--accent-orange);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-gray);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 80, 157, 0.9), rgba(255, 102, 0, 0.85)),
    url("../images/cta-background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 80, 157, 0.9), rgba(255, 102, 0, 0.85));
  z-index: 1;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header,
.page-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}

/* Page Hero with Background Images */
.page-hero {
  background: linear-gradient(135deg, rgba(0, 113, 188, 0.85), rgba(0, 90, 150, 0.85));
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Fixed background images paths for each page */
.page-hero-auto::before {
  background-image: url("../images/auto-hero-bg.jpg");
}

.page-hero-moto::before {
  background-image: url("../images/moto-hero-bg.jpg");
}

.page-hero-multirisques::before {
  background-image: url("../images/multirisques-hero-bg.jpg");
}

.page-hero-voyage::before {
  background-image: url("../images/voyage-hero-bg.jpg");
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.page-header h1,
.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
}

/* Content Section */
.content-section {
  padding: 4rem 0;
}

.intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* Insurance Category */
.insurance-category {
  padding: 4rem 0;
}

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

.category-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 2.5rem;
}

.category-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.insurance-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

.insurance-item h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.insurance-item p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.features-list li {
  padding: 0.5rem 0 0.5rem 30px;
  position: relative;
  color: var(--text-dark);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* Product Details */
.product-details {
  padding: 5rem 0;
}

.product-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.product-content > p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.coverage-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.coverage-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
}

.coverage-card.featured {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.coverage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.coverage-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.coverage-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.coverage-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.coverage-card ul {
  list-style: none;
  padding: 0;
}

.coverage-card li {
  padding: 0.5rem 0 0.5rem 30px;
  position: relative;
  color: var(--text-dark);
}

.coverage-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.additional-info {
  margin-top: 4rem;
}

.additional-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.75rem 0;
  color: var(--text-dark);
  line-height: 1.6;
}

.check-list strong {
  color: var(--primary-color);
}

/* Contact Forms */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form,
.contact-info,
.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2,
.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

/* Form Section */
.form-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.form-intro {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.quote-form {
  width: 100%;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1.5rem;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.map-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary-color);
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Legal Content */
.legal-content {
  padding: 5rem 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-wrapper li {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-wrapper a {
  color: var(--primary-color);
  text-decoration: none;
}

.content-wrapper a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: var(--white);
  padding: 4rem 0 2rem;
}

/* Completing footer styles and adding contact/devis page styles */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

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

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

.footer-contact li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Forcing all footer links to stay white in all states */
.footer a,
.footer-links a,
.footer-contact a,
.footer-section a {
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer a:hover,
.footer-links a:hover,
.footer-contact a:hover,
.footer-section a:hover {
  opacity: 0.8 !important;
  color: #ffffff !important;
}

.footer a:visited,
.footer-links a:visited,
.footer-contact a:visited,
.footer-section a:visited,
.footer a:active,
.footer-links a:active,
.footer-contact a:active,
.footer-section a:active,
.footer a:focus,
.footer-links a:focus,
.footer-contact a:focus,
.footer-section a:focus {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:visited,
.footer-bottom a:active,
.footer-bottom a:focus {
  color: #ffffff !important;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent-orange);
  transform: translateY(-4px);
}

/* ========================================
   NEW CONTACT PAGE STYLES
   ======================================== */
.contact-page-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

.trust-badge svg {
  color: var(--accent-orange);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card,
.contact-form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h2,
.contact-form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-intro {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.method-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.method-icon.whatsapp {
  background: #25d366;
  color: white;
}

.method-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.method-content a {
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  font-weight: 500;
}

.method-content a:hover {
  color: var(--accent-orange);
}

.method-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.availability {
  font-size: 0.85rem;
  color: #25d366;
  font-weight: 500;
}

.horaires-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.horaires-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.horaires-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.horaire-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.jour {
  font-weight: 500;
}

.heures {
  color: var(--primary-color);
  font-weight: 600;
}

/* Modern Form */
.modern-form .form-group label {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.modern-form .required {
  color: var(--accent-orange);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.1);
}

.modern-form input::placeholder,
.modern-form textarea::placeholder {
  color: #aaa;
}

.checkbox-group {
  margin-top: 1.5rem;
}

.checkbox-group .checkbox-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.checkbox-group .checkbox-label a {
  color: var(--primary-color);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-orange));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.map-cta {
  text-align: center;
  margin-top: 2rem;
}

.map-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   DEVIS PAGE STYLES
   ======================================== */
.devis-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
}

.devis-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.devis-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.devis-hero h1 .highlight {
  color: var(--accent-orange);
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.benefit svg {
  color: var(--accent-orange);
}

.devis-form-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.devis-form-section .container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.devis-container {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

/* Progress Bar */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}

.progress-step.active .step-number {
  background: var(--primary-color);
  color: white;
}

.progress-step span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

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

.progress-line {
  width: 60px;
  height: 3px;
  background: var(--border-color);
  margin: 0 1rem;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.step-intro {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

/* Insurance Type Cards */
.insurance-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.insurance-type-card {
  cursor: pointer;
}

.insurance-type-card input {
  display: none;
}

.insurance-type-card .card-content {
  padding: 2rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.insurance-type-card .card-content:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.insurance-type-card input:checked + .card-content {
  border-color: var(--accent-orange);
  background: rgba(255, 107, 53, 0.05);
  box-shadow: var(--shadow-md);
}

.card-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.insurance-type-card input:checked + .card-content .card-icon {
  color: var(--accent-orange);
}

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

.insurance-type-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.form-fields {
  max-width: 500px;
  margin: 0 auto;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-next,
.btn-prev {
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-next {
  background: var(--primary-color);
  color: white;
  border: none;
}

.btn-next:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-prev {
  background: transparent;
  color: var(--text-gray);
  border: 2px solid var(--border-color);
}

.btn-prev:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Recap Card */
.recap-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.recap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.recap-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recap-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.recap-item .label {
  color: var(--text-gray);
}

.recap-item .value {
  font-weight: 600;
  color: var(--text-dark);
}

.btn-submit-devis {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s;
}

.btn-submit-devis:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Sidebar */
.devis-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.trust-list {
  list-style: none;
  padding: 0;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-gray);
}

.trust-list svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

.contact-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.phone-link,
.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 0.75rem;
}

.phone-link {
  background: var(--bg-light);
  color: var(--primary-color);
}

.phone-link:hover {
  background: var(--primary-color);
  color: white;
}

.whatsapp-link {
  background: #25d366;
  color: white;
}

.whatsapp-link:hover {
  background: #1da851;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .devis-form-section .container {
    grid-template-columns: 1fr;
  }

  .devis-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-card {
    flex: 1;
    min-width: 280px;
  }

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

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

  .coverage-types {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  /* Mobile menu hamburger styling and functionality */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 1000;
    gap: 0;
    justify-content: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }

  .nav-cta .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

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

  .devis-hero h1 {
    font-size: 2rem;
  }

  .hero-benefits {
    flex-direction: column;
    gap: 1rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .progress-bar {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .progress-line {
    display: none;
  }

  .insurance-type-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1,
  .page-header h1 {
    font-size: 2rem;
  }

  .section-header h2,
  .hours-container h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }

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

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

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

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

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta .btn-large {
    width: 100%;
  }

  .container {
    padding: 0 15px;
  }

  .services-intro,
  .why-us,
  .product-details,
  .contact-section,
  .form-section {
    padding: 3rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-intro-content h2,
  .intro-content h2,
  .product-content h2 {
    font-size: 1.8rem;
  }

  .category-header h2 {
    font-size: 1.8rem;
  }

  .coverage-card.featured {
    transform: scale(1);
  }

  .insurance-item,
  .coverage-card,
  .contact-form,
  .contact-form-wrapper,
  .form-container,
  .contact-info-card,
  .contact-form-card,
  .devis-container {
    padding: 2rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .devis-hero h1 {
    font-size: 1.75rem;
  }

  .page-hero h1,
  .page-header h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 50px;
  }

  .logo a {
    height: 50px;
  }

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

  .partner-logo {
    max-width: 160px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .btn-primary,
  .btn-orange,
  .btn-secondary {
    padding: 0.625rem 1.25rem;
    font-size: 0.95rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-next,
  .btn-prev {
    width: 100%;
    justify-content: center;
  }
}
