/* montserrat-400 - latin (fallback to 500) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
    font-display: swap;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2');
}
/* montserrat-500 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
    font-display: swap;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2'),
       url('../fonts/montserrat-v31-latin-500.ttf') format('truetype');
}
/* montserrat-600 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
    font-display: swap;
  font-weight: 600;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2'),
       url('../fonts/montserrat-v31-latin-600.ttf') format('truetype');
}
/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
    font-display: swap;
  font-weight: 700;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2'),
       url('../fonts/montserrat-v31-latin-700.ttf') format('truetype');
}
/* montserrat-800 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
    font-display: swap;
  font-weight: 800;
  src: url('../fonts/montserrat-v31-latin-800.woff2') format('woff2'),
       url('../fonts/montserrat-v31-latin-800.ttf') format('truetype');
}

:root {
  --primary-color: #003e82; /* Deep Trust Blue, Tryba-ish */
  --primary-light: #0050a4;
  --accent-color: #d7d041; /* Vibrant Orange/Yellow  f7a800*/ 
  --accent-hover: #e09900;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dfe6e9;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
  
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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



/* ==================================
   HEADER
   ================================== */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo .logo-text {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
  /* text-transform: uppercase; */
}

.logo span {
  color: var(--accent-color);
}

.btn {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  filter: brightness(1.05);
}

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

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

/* Navbar Link Hover Animation */
.nav-item .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

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

.nav-item .nav-link:hover {
  color: var(--accent-color) !important;
}

.btn-outline-yellow {
  background-color: transparent; /* Fond transparent */
  border: 2px solid var(--accent-color); /* La bordure colorée */
  color: #1a3c54; /* La couleur de ton texte */
  transition: all 0.3s ease; /* Animation fluide */
}

/* L'effet quand on passe la souris dessus */
.btn-outline-yellow:hover {
  background-color: var(--accent-color); /* Le bouton se remplit */
  color: #1a3c54; /* On garde le texte de la même couleur */
  transform: translateY(-2px); /* Petit effet de soulèvement (optionnel) */
}


/* ==================================
   HERO SECTION
   ================================== */
.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #002b4a;
}



.hero-image {
  position: absolute;
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 45%; 
  
  background-image: url('../img/carousel/carousel33.webp'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  
  z-index: 1;
  filter: brightness(0.5);
  transition: opacity 1s ease;
}

@media (max-width: 991.98px) {
  .hero-image {
    background-size: cover; 
    background-position: center center; 
  }
}

.hero-blue-overlay {
  position: absolute;
  top: -10%;
  left: -20%;
  bottom: -10%;
  width: 71%;
  background-color: #002b4a;
  /* Clean premium diagonal separation, specific to SecuReno */
  transform: skewX(-12deg);
  border-right: 12px solid var(--accent-color);
  z-index: 2;
  box-shadow: 15px 0 40px rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text {
  max-width: 550px;
  color: var(--white);
  padding: 40px 0;
}

.hero-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: #1a3c54;
  padding: 6px 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.hero-text h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-devise p {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 15px;
}

.hero-search-form {
  display: flex;
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.15);
}

.hero-search-form input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  color: var(--primary-color);
  background-color: var(--white);
}

.hero-search-form input::placeholder {
  color: #5a6a72;
  font-weight: 500;
}

.hero-devis-btn {
  border-radius: 3px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #f7d000, #e6a800);
  color: #1a2a3a !important;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(230, 168, 0, 0.4);
}

.hero-devis-btn:hover {
  background: linear-gradient(135deg, #e6a800, #f7d000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 168, 0, 0.6);
  color: #1a2a3a !important;
}

.hero-search-form .btn:hover {
  background-color: var(--accent-hover);
}

.btn-color-yellow{
  background: linear-gradient(135deg, #f7d000, #e6a800);
  box-shadow: 0 4px 15px rgba(230, 168, 0, 0.4);
  color: #1a2a3a !important;
}
.btn-color-yellow:hover{      
  background: linear-gradient(135deg, #e6a800, #f7d000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 168, 0, 0.6);
  color: #1a2a3a !important;
}

/* ==================================
   PRODUCTS GRID
   ================================== */
/* ==================================
   PRODUCTS GRID
   ================================== */
.section-title {
  font-size: 32px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.product-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--white);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  text-align: left;
}

/* ==================================
   STEPS SECTION
   ================================== */
/* ==================================
   STEPS SECTION
   ================================== */

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-item:hover .step-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.step-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==================================
   GALLERY SECTION
   ================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--white);
}

.gallery-grid {
  position: relative;
  height: 600px;
  max-width: 900px;
  margin: 0 auto;
  display: block; 
}

.gallery-item {
  position: absolute;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.gallery-item:hover {
  transform: scale(1.05) translateY(-10px);
  z-index: 50 !important;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.gallery-label {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-cta {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-cta {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:nth-child(1) {
  width: 65%;
  height: 450px;
  top: 75px;
  left: 0;
  z-index: 1;
}

.gallery-item:nth-child(2) {
  width: 45%;
  height: 320px;
  top: 0;
  right: 0;
  z-index: 2;
  border: 6px solid var(--white);
}

.gallery-item:nth-child(3) {
  width: 50%;
  height: 350px;
  bottom: 0;
  right: 15%;
  z-index: 3;
  border: 6px solid var(--white);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery-grid { height: auto; display: flex; flex-direction: column; gap: 20px; padding: 0 20px; }
  .gallery-item { position: relative; width: 100% !important; height: 250px !important; right: auto !important; left: auto !important; top: auto !important; bottom: auto !important; border: unset !important; }
  .gallery-cta { opacity: 1; transform: translateY(0); }
}



/* ==================================
   REVIEWS SECTION
   ================================== */
/* ==================================
   REVIEWS SECTION
   ================================== */
.review-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 15px;
}

.review-author {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author::before {
  content: '';
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

/* ==================================
   PARTNERS SECTION
   ================================== */
/* ==================================
   PARTNERS SECTION
   ================================== */
.partners-text {
  font-size: 18px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}


.partner-logo {
    max-width: 120px; /* taille desktop */
    width: 100%;
    height: auto;
    object-fit: contain;
    /* opacity: 0.6; */
    transition: var(--transition);
}

/* Mobile */
@media (max-width: 768px) {
    .partner-logo {
        max-width: 80px;
    }
}

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

/* ==================================
   CATEGORY PAGES
   ================================== */
.category-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(0,43,74,0.9) 100%), url('../img/baie_vitre.webp') center/cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.category-hero h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.category-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}

.product-list-card {
  transition: var(--transition);
}

.product-list-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light) !important;
}

.product-list-image {
  overflow: hidden;
  position: relative;
}

.product-list-image img {
  transition: transform 0.6s ease;
}

.product-list-card:hover .product-list-image img {
  transform: scale(1.08);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-badge {
  background-color: rgba(0,62,130,0.05);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,62,130,0.1);
}

.feature-badge i {
  color: var(--accent-color);
  font-size: 16px;
}

.product-list-action {
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-list-card {
    flex-direction: column;
  }
  .product-list-image {
    flex: 0 0 250px;
  }
}

/* ==================================
   PRODUCT DETAILS
   ================================== */
.product-page {
  padding: 60px 0;
}

.product-details-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}


/* ==================================
   FOOTER
   ================================== */
.site-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px 0;
  font-size: 15px;
}

.footer-links a, .footer-contact {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.social-icons a:hover {
  background-color: var(--accent-color) !important;
  color: #1a3c54 !important;
  transform: translateY(-3px);
}

/* ==================================
   DEVIS WIZARD
   ================================== */
.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

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

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

.option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.option-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(39,75,91,0.05); /* very light primary */
  box-shadow: 0 0 0 2px var(--primary-color);
}

.option-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

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

.option-card.selected .option-icon {
  color: var(--accent-color);
}

/* ==================================
   COOKIE BANNER
   ================================== */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 1040;
  padding: 20px 0;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 992px) {
  .cookie-banner-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================================
   PHOTO GALLERY (Artistic Grid)
   ================================== */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 15px;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: block;
  background-color: var(--bg-light);
  width: 100%;
  height: 100%;
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-gallery-item img.img-basse-qualite {
  object-fit:scale-down;
  background-color: var(--bg-light);
}


.photo-gallery-item:hover img {
  transform: scale(1.1);
}

/* Artistic Bento Grid pattern for up to 6 items */
.photo-gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery-item:nth-child(2) {
  grid-column: span 2;
  grid-row: span 1;
}

.photo-gallery-item:nth-child(3) {
  grid-column: span 1;
  grid-row: span 1;
}

.photo-gallery-item:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}

.photo-gallery-item:nth-child(5) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 1;
}

.photo-gallery-item:nth-child(7) {
  grid-column: span 1;
  grid-row: span 1;
}

.photo-gallery-item:nth-child(8) {
  grid-column: span 1;
  grid-row: span 1;
}

/* Fallback for more items */
.photo-gallery-item:nth-child(n+9) {
  grid-column: span 2;
  grid-row: span 1;
}

/* Modifier pour forcer toutes les images en grand */
.photo-gallery.photo-gallery-large .photo-gallery-item {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}

@media (max-width: 991px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .photo-gallery-item { height: 100% !important; }
  .photo-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .photo-gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .photo-gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .photo-gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .photo-gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 576px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .photo-gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 100% !important;
  }
}

.photo-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 74, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.photo-gallery-item:hover .photo-gallery-overlay {
  opacity: 1;
}

.photo-gallery-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: var(--accent-color);
  font-size: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.photo-gallery-item:hover .photo-gallery-icon {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================
   FAQ SECTION
   ================================== */
.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  margin-bottom: 10px;
}
.faq-accordion .accordion-button {
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  padding: 20px 0;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background-color: transparent;
  box-shadow: none;
}
.faq-accordion .accordion-body {
  padding: 0 0 20px 0;
  color: var(--text-light);
  line-height: 1.8;
}

/* ==================================
   BLOG CARDS
   ================================== */
.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}
.blog-text {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-link {
  color: var(--accent-hover);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-card:hover .blog-link {
  color: var(--accent-color);
}

/* ==================================
   HERO MOBILE FIX
   ================================== */
@media (max-width: 991.98px) {
  .hero {
    min-height: 420px;
  }
  .hero-image {
    left: 0;
    filter: brightness(0.35);
  }
  .hero-blue-overlay {
    display: none;
  }
  .hero-content {
    padding: 20px 0;
  }
  .hero-text {
    max-width: 100%;
    text-align: center;
    padding: 20px 10px;
  }
  .hero-text h1 {
    font-size: 26px;
  }
  .hero-tag {
    font-size: 12px;
  }
}

/* ==================================
   EMERGENCY PULSE ANIMATION
   ================================== */
@keyframes pulse-emergency {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ==================================
   COMPACT NAVBAR & HEADER
   ================================== */
.nav-link-compact {
  padding: 22px 24px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

.btn-sm-header {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.depannage-header-badge {
  transition: all 0.3s ease;
}

.depannage-header-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,53,69,0.5) !important;
}

/* Intermediate: navbar fits but tight */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .nav-link-compact {
    padding: 18px 12px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 991.98px) {
  .nav-link-compact {
    padding: 16px 20px !important;
    font-size: 15px !important;
  }
  .depannage-header-badge {
    display: none !important;
  }
}
