/* =======================================
   HEADER NAVBAR
   ======================================= */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #dbeafe;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.navbar-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  z-index: 50;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
  display: block;
}

.brand-group:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #e5e7eb;
  padding-left: 16px;
}

.brand-title {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #081a36;
  line-height: 1;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #6b7280;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.desktop-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.desktop-nav-link:hover {
  color: #2563eb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 50;
}

.btn-devis-express {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 44px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #2563eb;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

@media (min-width: 640px) {
  .btn-devis-express {
    display: inline-flex;
  }
}

.btn-devis-express:hover {
  background-color: #1d4ed8;
}

.burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #081a36;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
}

.mobile-dropdown {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #dbeafe;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 600;
  color: #081a36;
  z-index: 40;
  box-sizing: border-box;
}

.mobile-dropdown.active {
  display: flex;
}

.mobile-menu-link {
  color: #081a36;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #2563eb;
}

.mobile-menu-link.border-bottom {
  border-bottom: 1px solid #f9fafb;
}

.btn-mobile-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #2563eb;
  border-radius: 12px;
  text-decoration: none;
  margin-top: 8px;
}

/* =======================================
   SECTION BLOG
   ======================================= */
.blog-section {
  padding: 60px 20px;
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}

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

.blog-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.blog-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.blog-header p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1);
}

.blog-card-image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image-link img {
  transform: scale(1.04);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.blog-card-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card-content h2 a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card-content h2 a:hover {
  color: #0284c7;
}

.blog-card-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  color: #0284c7;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* =======================================
   SECTION CTA CONTACT (CORRIGÉE CONFORME À LA CAPTURE)
   ======================================= */
.cta-contact-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  background: #12285a; /* Même fond bleu roi / nuit que la capture */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cta-contact-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.cta-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  color: #a3b8db;
  margin: 0 0 16px 0;
}

.cta-buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-buttons-wrapper {
    flex-direction: row;
    width: auto;
  }
}

.btn-cta {
  width: 100%;
  height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .btn-cta {
    width: auto;
  }
}

/* Bouton WhatsApp bleu */
.btn-whatsapp {
  background-color: #1a6cf0;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background-color: #1557c4;
  transform: translateY(-2px);
}

.icon-whatsapp {
  font-size: 1.2rem;
}

/* Bouton SMS blanc */
.btn-sms {
  background-color: #ffffff;
  color: #1a6cf0 !important;
}

.btn-sms:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

.icon-sms {
  font-size: 1.1rem;
}

/* =======================================
   FOOTER
   ======================================= */
.site-footer {
  background-color: #0f1f4b;
  color: #8ca2cc;
  padding: 48px 0 32px 0;
  border-top: 1px solid #1e3266;
  font-size: 0.8rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
  }
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-weight: 500;
}

.footer-nav a {
  color: #d2e0fb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e3266;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact a:hover {
  color: #93c5fd;
}

.footer-description,
.footer-copyright {
  margin: 0;
  color: #8ca2cc;
}