/* ===== IMPORTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Satisfy&family=Montserrat:wght@600&family=Overpass:wght@400;600;700&display=swap");

/* ===== TITRES - Font Overpass ===== */
h1, h2, h3, h4, h5, h6,
.page-title-main,
.services-title,
.footer-title,
.hero-title-wrapper,
.intro-subtitle,
.section-title,
.partenaires-title,
.partenaires-subtitle,
.annonce-title,
.services-garanties-title,
.section-title-center,
.renovation-title,
.slider-title-main,
.slider-title-sub,
.ccmi-title,
.ccmi-cta .cta-title,
.re2020-title,
.re2020-section-title,
.exigence-title,
.re2020-cta .cta-title,
.test-title,
.test-cta .cta-title,
.maisons-subtitle h4,
.nos-maisons-types .maisons-subtitle h4 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif !important;
}


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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: #f8f8f8;
}

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

/* ===== CONTAINER GLOBAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
}

/* ===== BANNER TOP ===== */
.banner {
  background-color: #004e66;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagline {
  font-family: "Satisfy", Helvetica, Arial, Verdana, sans-serif;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: 0.5px;
  margin: 0;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: bolder;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #a4d037;
  color: #a4d037;
  white-space: nowrap;
  font-size: 0.75rem;
}

.btn-outline:hover {
  background-color: #a4d037;
  color: white;
}

.btn-phone svg {
  stroke: currentColor;
}

/* Small button variant for navbar */
.btn-sm {
  padding: 10px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* ===== NAVBAR ===== */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 20px;
  width: 100%;
}

/* Mobile: make navbar sticky */
@media (max-width: 1399px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  body {
    padding-top: 80px;
  }

  .banner {
    display: none;
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5px;
  padding-bottom: 0;
  position: relative;
  width: 100%;
}

.logo {
  flex-shrink: 0;
  z-index: 100;
  margin-right: 40px;
}

.logo img {
  height: 80px;
  width: auto;
}

/* Desktop: logo, centered nav, and right buttons */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 1;
  justify-content: center;
  align-items: center;
}

/* Right-side action buttons */
.navbar-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
  z-index: 100;
}

/* wrapper for off-canvas panel on mobile; keep neutral on desktop */
.nav-panel,
#nav-panel {
  display: flex;
  align-items: center;
  background: transparent;
}

/* Hide mobile close button by default (desktop) */
.close-menu {
  display: none !important;
}

.nav-link {
  text-decoration: none;
  color: #333333;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: bolder;
  font-size: 16px;
  padding: 25px 15px;
  display: block;
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.nav-link:hover {
  color: white;
  border-bottom: 4px solid #a4d037;
}

.nav-link.active {
  color: white;
  border-bottom: 4px solid #a4d037;
}

/* ===== DROPDOWN MENU ===== */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 3px solid #a4d037;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 15px 20px;
  color: #333333;
  text-decoration: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-link:hover {
  background-color: #f5f5f5;
  color: #1a5a4a;
  padding-left: 25px;
}

.dropdown-menu li:last-child .dropdown-link {
  border-bottom: none;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

/* Bouton fermer - masqué par défaut */
.mobile-close {
  display: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #004e66;
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation hamburger ouvert */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .banner {
    display: none;
  }

  .tagline {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
  }
}

/* ===== MOBILE HAMBURGER & NAV (below 1400px) ===== */
@media (max-width: 1399px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar-container {
    padding: 10px 0;
  }

  .logo img {
    height: 60px;
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
  }

  .navbar-buttons {
    display: none;
  }

  /* Mobile menu list inside panel */
  .nav-menu-mobile {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0 20px 40px 0;
  }

  #nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    z-index: 1000;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Show nav by translating into viewport (avoids horizontal overflow) */
  #nav-panel.active {
    transform: translateX(0);
  }

  /* Bouton fermer mobile - visible uniquement en mobile */
  .close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #004e66;
    transition: color 0.3s ease;
    z-index: 1002;
    display: none;
  }

  .close-menu svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }

  .close-menu:hover {
    color: #92c94a;
  }

  /* Show close button only when menu is active */
  #nav-panel.active .close-menu {
    display: block !important;
  }

  /* When menu is open hide the hamburger control to avoid duplicate X icon */
  body.menu-open .hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 15px;
  }

  .navbar-container {
    padding: 10px 0;
  }

  .logo img {
    height: 60px;
  }
}

/* ===== DESKTOP MENU (1400px and above) ===== */
@media (min-width: 1400px) {
  .hamburger {
    display: none;
  }

  .navbar-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .nav-menu-mobile {
    display: none;
  }

  #nav-panel {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    transform: none;
    box-shadow: none;
    padding-top: 0;
    overflow-y: visible;
    padding: 0;
  }

  .close-menu {
    display: none !important;
  }

  .nav-link {
    padding: 15px 10px;
    border-bottom: none;
    color: #333333;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .nav-link:hover,
  .nav-link.active {
    border-bottom: none;
    color: #92c94a;
    text-decoration: underline;
  }

  /* Dropdown desktop */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #a4d037;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-link {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
  }

  .dropdown-link:hover {
    background-color: #f0f0f0;
    padding-left: 45px;
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* ===== TABLETTE RESPONSIVE (768px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Banner tablette */
  .banner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
  }

  .tagline {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .buttons {
    justify-content: center;
    gap: 10px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 12px;
  }

  /* Navbar tablette */
  .navbar-container {
    padding: 10px 15px;
  }

  .logo img {
    height: 55px;
  }

  .nav-menu {
    gap: 5px;
  }

  .nav-link {
    font-size: 12px;
    padding: 12px 8px;
  }

  /* Container général tablette */
  .container {
    padding: 0 30px;
  }

  /* Hero sections tablette */
  .page-title-main {
    font-size: 36px !important;
    line-height: 44px !important;
  }

  /* Services tablette */
  .services-content {
    gap: 30px;
  }

  .services-text,
  .services-image {
    width: 100%;
  }

  .services-title {
    font-size: 32px;
    line-height: 40px;
  }

  /* Grilles tablette */
  .garanties-grid,
  .exigences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Footer tablette */
  .footer-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .nav-menu {
    width: 100%;
  }
}
/* ===== FOOTER ===== */
.footer {
  background-color: #004e66;
  padding: 20px 40px;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 40px;
}

/* Footer gauche */
.footer-left {
  text-align: center;
  flex: 0 0 32%;
}

.footer-logos img {
  height: 60px;
  width: auto;
}

/* Footer droite */
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 18%;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 28px;
  line-height: 28px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #92c94a;
  color: white;
  border-radius: 50%;
  border: 2px solid #92c94a;
}

.social-icon svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Force inner shapes like YouTube triangle to inherit icon color */
.social-icon svg polygon,
.social-icon svg path {
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  padding-top: 10px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #0b6a7c;
  border-radius: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #0e7f94;
}

.footer-title {
  color: #ffffff;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-address {
  color: #ffffff;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  text-align: center;
  letter-spacing: 1.5px;
  line-height: 1.6;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-footer,
.btn2-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  transition: all 0.25s ease;
}

.btn-footer svg,
.btn2-footer svg {
  stroke: currentColor;
  fill: none;
}

.btn-footer:hover,
.btn2-footer:hover {
  color: #92c94a;
  border-color: #92c94a;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-logos img {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 3px;
  height: 55px;
  width: auto;
}

@media (max-width: 992px) {
  .footer-buttons {
    width: 100%;
  }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

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

  .social-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Page Contact - Hero Section */
.contact-hero {
  padding: 60px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
  margin-bottom: 50px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 576px) {
  .contact-hero {
    padding: 30px 20px;
    min-height: 320px;
    align-items: flex-end;
    margin-bottom: 30px;
  }
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.19);
}

.hero-title-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.page-title-main {
  color: white;
  text-align: center;
  font-size: 60px;
  line-height: 70px;
  text-transform: uppercase;
  position: relative;
  padding: 20px 40px;
  display: inline-block;
}

.page-title-main::before {
  content: "";
  height: 110%;
  width: 110%;
  background: #004e66;
  position: absolute;
  top: -10%;
  left: -5%;
  transform: skewX(-20deg);
  z-index: -1;
}

.page-title-main::after {
  content: "";
  height: 145%;
  width: 18%;
  background: #92c94a;
  position: absolute;
  top: -26%;
  left: 70%;
  transform: skewX(-20deg);
  z-index: -2;
}

.contact-intro {
  padding: 40px 0 50px;
  background: white;
}

.intro-text {
  color: #004e66;
  text-align: center;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 17px;
  line-height: 27px;
}

.contact-form-section {
  padding: 50px 0;
  background: white;
}

/* Messages d'alerte */
.alert {
  padding: 15px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-form-wrapper {
  max-width: 750px;
  margin: 0 auto;
  background: white;
  padding: 20px 40px 40px;
}

.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.contact-form .form-group {
  padding: 0 15px;
  margin-bottom: 35px;
}

.contact-form .form-group.col-sm-12 {
  padding: 0 10px;
  text-align: center;
}

.contact-form .form-group.text-center {
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.contact-form .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.contact-form .col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: #333;
  font-size: 16px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  text-align: left;
}

.contact-form .form-control {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid #004e66;
  background: transparent;
  font-size: 16px;
  transition: border-color 0.3s;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.contact-form .form-control:focus {
  outline: none;
  border-bottom-color: #92c94a;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
  background: #f5f5f5;
}

.contact-form textarea.form-control:focus {
  border-color: #92c94a;
}

.contact-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
  text-align: left;
  justify-content: center;
}

.contact-form .form-check-input {
  margin-top: 4px;
  flex-shrink: 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.rgpd-label {
  font-size: 13px;
  line-height: 20px;
  font-weight: normal;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: inline-block;
  flex: 1;
  max-width: 600px;
}

.btn-submit {
  display: block !important;
  margin: 0 auto !important;
  text-transform: uppercase;
  padding: 15px 50px;
  font-size: 18px;
  font-style: italic;
  letter-spacing: 2px;
  background: #92c94a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.btn-submit:hover {
  background: #7db33a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-map-section {
  padding: 60px 0 80px;
  margin-left: 0;
  margin-right: 0;
  background: white;
}

.map-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 20px;
}

.google-map {
  width: 100%;
  height: 450px;
  border-radius: 0;
  border: none;
  display: block;
}

.map-address-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: white;
  padding: 25px 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 10;
  border-radius: 0;
}

.map-address-overlay h4 {
  margin-bottom: 15px;
  color: #004e66;
  font-size: 18px;
  font-weight: 600;
}

.map-address-overlay p {
  margin: 0;
  line-height: 1.8;
  color: #333;
  font-size: 14px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.map-address-overlay a {
  color: #004e66;
  text-decoration: none;
  transition: color 0.3s ease;
}

.map-address-overlay a:hover {
  color: #92c94a;
  text-decoration: underline;
}

/* Contact Responsive */
@media screen and (max-width: 768px) {
  .contact-hero {
    min-height: 250px;
  }

  .page-title-main {
    font-size: 32px;
  }

  .contact-form .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-form-wrapper {
    padding: 20px;
  }

  .map-address-overlay {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
}

/* ===== PAGE NOS MAISONS ===== */
.nos-maisons-hero {
  background: url("https://sami-constructions.com/fichiers/1-1208.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.nos-maisons-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.19);
}

.nos-maisons-intro {
  padding: 40px 20px 20px;
  text-align: center;
}

.intro-subtitle {
  color: #92c94a;
  font-size: 27px;
  line-height: 34px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 800;
}

.nos-maisons-intro .intro-text {
  color: #004e66;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.nos-maisons-intro .intro-text strong {
  color: #004e66;
  font-weight: 700;
}

.nos-maisons-types {
  padding: 60px 20px;
}

.maisons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.maison-card {
  position: relative;
  border: 1px solid #11394f;
  padding: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #004e66;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.maison-card:hover {
  background: #92c94a;
  box-shadow: 0 0 35px rgba(0, 90, 125, 0.29);
  transform: translateY(-5px);
}

.maison-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.plus-icon {
  position: absolute;
  top: 10px;
  right: -50px;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
}

.maison-card:hover .plus-icon {
  opacity: 1;
  right: 10px;
  top: -7px;
}

.maison-card h3 {
  font-size: 40px;
  line-height: 45px;
  color: white;
  margin-bottom: 20px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  transition: all 0.4s ease;
}

.maison-card:hover h3 {
  color: #92c94a;
}

.maison-card p {
  color: white;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  transition: all 0.4s ease;
}

.maison-card:hover p {
  color: #fff;
}

.maison-card-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
  transition: all 0.4s ease;
}

.maison-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 0.4s ease;
}

.maison-card:hover .maison-card-image img {
  filter: grayscale(0);
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.nos-maisons-avis {
  padding: 60px 20px 80px;
  background: transparent;
}

.avis-widget {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
}

.avis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.avis-rating {
  text-align: left;
}

.rating-text {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #004e66;
  margin-bottom: 10px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 1px;
}

.stars {
  margin-bottom: 10px;
}

.star {
  color: #ffc107;
  font-size: 24px;
  margin-right: 2px;
}

.rating-info {
  color: #666;
  font-size: 16px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
}

.google-logo {
  display: flex;
  align-items: center;
}

/* Layout for reviews: left rating block + right carousel */
.nos-maisons-avis .container {
  max-width: 1240px;
}

.avis-widget {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.avis-header {
  width: 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
}

.avis-rating .rating-text {
  color: #0f485d;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 20px;
}

.avis-rating .stars .star {
  color: #ffb400;
  font-size: 22px;
  margin-right: 4px;
}

.avis-rating .rating-info {
  color: #6b7a90;
  font-size: 14px;
  margin-top: 4px;
}

.google-logo img {
  width: 72px;
  height: auto;
}

.avis-carousel-container {
  position: relative;
  flex: 1 1 auto;
  margin-top: 0;
  padding: 0 35px;
  max-width: none;
}

.avis-carousel {
  overflow: hidden;
  width: 100%;
}

.avis-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  gap: 24px;
}

.avis-item {
  min-width: calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 14px;
  border-left: none;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

/* Card inner structure */
.avis-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.avis-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avis-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4f6ef7;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.avis-meta { line-height: 1.2; }
.avis-name { color: #2b2b2b; font-weight: 700; font-size: 15px; }
.avis-date { color: #8892a6; font-size: 12px; display: block; }

.avis-google { width: 16px; height: 16px; margin-left: auto; opacity: 0.9; }

.avis-readmore { color: #6b7a90; font-size: 13px; text-decoration: none; }
.avis-readmore:hover { color: #2f80ed; }

.avis-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* New card-like header at top using existing author block */
.avis-item {
  position: relative;
}

.avis-author {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avis-author strong {
  font-weight: 700;
  color: #2b2b2b;
}

/* Avatar generated from first letter */
.avis-author strong::first-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  background: #4f6ef7;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
}

.avis-author span {
  color: #8892a6;
  font-size: 12px;
}

/* Small Google badge at top-right of card */
.avis-item::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  background: url("https://www.gstatic.com/images/branding/product/1x/googleg_48dp.png") center/contain no-repeat;
  opacity: 0.9;
}

/* Stars under header */
.avis-stars {
  order: 2;
  color: #ffb400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* Verified check badge */
.avis-stars::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 0 0 2px #e8f0fe inset;
}

.avis-text {
  order: 3;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Faux read-more style (text-only, since HTML remains unchanged) */
.avis-text + .avis-readmore,
.avis-item .avis-readmore {
  display: inline-block;
  color: #6b7a90;
  font-size: 13px;
  text-decoration: none;
  margin-top: 2px;
}

.avis-text + .avis-readmore:hover,
.avis-item .avis-readmore:hover {
  color: #2f80ed;
}

/* Carousel arrows style like mockup */
.carousel-btn {
  background: #eef2f6;
  color: #4a5568;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.carousel-btn svg {
  stroke: currentColor;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #eef2f6;
  color: #4a5568;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #e6ebf1;
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev {
  left: -16px;
}

.carousel-next {
  right: -16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #92c94a;
  width: 30px;
  border-radius: 6px;
}

.avis-stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.avis-text {
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: auto;
  font-style: italic;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
  flex-grow: 1;
}

.avis-author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.avis-author strong {
  color: #004e66;
  font-size: 15px;
  font-weight: 700;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 0.5px;
}

.avis-author span {
  color: #888;
  font-size: 13px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
}

.avis-cta {
  text-align: center;
  margin-top: 30px;
}

.btn-google-avis {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background-color: #004e66;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-google-avis:hover {
  background-color: #92c94a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(146, 201, 74, 0.4);
}

/* Nos Maisons Responsive */
@media screen and (max-width: 992px) {
  .maisons-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .maison-card {
    min-height: 450px;
  }

  .avis-item {
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    min-height: 320px;
  }

  .avis-carousel-container {
    padding: 0 50px;
  }

  .avis-track {
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .nos-maisons-hero {
    min-height: 200px;
  }

  .intro-subtitle {
    font-size: 20px;
    line-height: 28px;
    font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  }

  .maison-card h3 {
    font-size: 32px;
    line-height: 36px;
  }

  .avis-widget {
    padding: 20px;
  }

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

  .avis-rating {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .maison-card h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .maison-card-image {
    height: 200px;
  }

  .avis-item {
    min-width: 100%;
    max-width: 100%;
    min-height: 260px;
  }

  .avis-carousel-container {
    padding: 0 45px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .avis-text {
    font-size: 14px;
  }
}

/* ===== PAGES MAISONS CONTEMPORAINES & TRADITIONNELLES ===== */
.maisons-contemporaines-hero {
  background: url("https://sami-constructions.com/fichiers/vue-16.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.maisons-traditionnelles-hero {
  background: url("https://sami-constructions.com/fichiers/vue-3.3.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.maisons-contemporaines-hero::before,
.maisons-traditionnelles-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.19);
}

.maisons-intro {
  padding: 40px 20px 20px;
  text-align: center;
}

.maisons-intro .intro-subtitle {
  color: #92c94a;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
}

.section-title {
  text-align: center;
  color: white;
  font-size: 36px;
  line-height: 42px;
  margin-bottom: 40px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
}

/* Section Design extérieur */
.maisons-design-section {
  padding: 60px 20px;
  background: #fff;
}

.design-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.design-text {
  order: 1;
  padding-right: 20px;
  text-align: left;
}

.design-text .intro-text {
  text-align: left;
}

.design-image {
  order: 2;
}

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

/* Section Intérieur */
.maisons-interieur-section {
  padding: 60px 20px;
  background: #f9f9f9;
  position: relative;
}

.maisons-interieur-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  /*background: linear-gradient(135deg, #004e66 0%, #006686 100%);*/
  z-index: 0;
}

.maisons-interieur-section .section-title {
  position: relative;
  z-index: 1;
  color: #004e66;
}

.interieur-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.interieur-image {
  order: 1;
  position: relative;
}

.interieur-text {
  order: 2;
  padding-left: 20px;
  text-align: left;
}

.interieur-text .intro-text {
  text-align: left;
}

.interieur-image-wrapper {
  position: relative;
  width: 100%;
}

.interieur-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Forme trapèze derrière l'image */
.interieur-image::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 90%;
  height: 60%;
  background: #004e66;
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
  z-index: 1;
}

/* Galerie photos */
.maisons-galerie {
  padding: 0;
  background: #fff;
  margin-top: 60px;
  margin-bottom: 60px;
}

.container-full {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 100%;
  padding: 0 10px;
}

.galerie-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 0;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.galerie-item:hover img {
  transform: scale(1.05);
}

.maisons-caracteristiques {
  padding: 60px 20px;
  background: #f9f9f9;
}

.caracteristiques-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.caracteristique-item {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.caracteristique-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.caracteristique-icon {
  margin-bottom: 20px;
}

.caracteristique-item h3 {
  color: #004e66;
  font-size: 20px;
  margin-bottom: 15px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
}

.caracteristique-item p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
}

.maisons-contact {
  padding: 80px 20px;
  background: linear-gradient(135deg, #004e66 0%, #11394f 100%);
}

.contact-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box h2 {
  color: white;
  font-size: 36px;
  line-height: 42px;
  margin-bottom: 20px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
}

.contact-box p {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 400;
}

.btn-contact {
  display: inline-block;
  padding: 15px 40px;
  background-color: #92c94a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #a4d037;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(146, 201, 74, 0.4);
}

/* Responsive Maisons Pages */
@media screen and (max-width: 992px) {
  .caracteristiques-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-content,
  .interieur-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .design-text,
  .design-image,
  .interieur-text,
  .interieur-image {
    order: initial;
    padding: 0;
  }

  .design-text .intro-text,
  .interieur-text .intro-text {
    text-align: center;
  }

  .interieur-image::before {
    display: none;
  }

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

@media screen and (max-width: 768px) {
  .maisons-contemporaines-hero,
  .maisons-traditionnelles-hero {
    min-height: 250px;
  }

  .maisons-intro .intro-subtitle {
    font-size: 28px;
    line-height: 34px;
  }

  .intro-text {
    font-size: 16px;
    line-height: 24px;
  }

  .section-title {
    font-size: 45px;
    line-height: 53px;
    color: #11394f;
    font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
    margin-bottom: 30px;
    text-transform: uppercase;
  }

  .contact-box h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .maisons-design-section,
  .maisons-interieur-section {
    padding: 40px 20px;
  }

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

@media screen and (max-width: 480px) {
  .caracteristiques-grid {
    grid-template-columns: 1fr;
  }

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

  .maisons-intro .intro-subtitle {
    font-size: 24px;
    line-height: 30px;
  }

  .intro-text {
    font-size: 15px;
    line-height: 22px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
    color: #004e66;
  }
}

/* ===== PAGE ÉQUIPE ===== */
.equipe-hero {
  background: url("https://sami-constructions.com/fichiers/vue-16.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.equipe-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.19);
}

.equipe-intro {
  padding: 40px 0;
  text-align: center;
}

.equipe-intro .intro-text {
  color: #004e66;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.equipe-intro .intro-text strong {
  color: #004e66;
  font-weight: 700;
}

.equipe-membres {
  padding: 50px 0;
  background: transparent;
}

.membres-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.membre-card {
  text-align: center;
  padding: 0;
  background: transparent;
  flex: 0 0 auto;
  width: 250px;
}

.membre-icon {
  margin-bottom: 20px;
}

.membre-icon img {
  width: 140px;
  height: 140px;
}

.membre-nom {
  color: #004e66;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 700;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.membre-role {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-top: 0;
}

.equipe-citation {
  padding: 60px 0;
  /*background: #92c94a;*/
  position: relative;
  overflow: visible;
}

.citation-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
}

.citation-icon {
  position: absolute;
  top: -20px;
  left: calc(50% - 30px);
  z-index: 3;
}

.citation-author {
  text-align: center;
}

.author-icon {
  margin-bottom: 15px;
}

.author-name {
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
}

.citation-content {
  background: #004e66;
  padding: 20px;
}

.citation-text {
  color: #ffffff;
  font-size: 25px;
  line-height: 38px;
  font-family: "Satisfy", cursive;
  font-style: italic;
  margin: 0;
}

.equipe-partenaires {
  padding: 60px 60px;
  margin-bottom: 40px;
}

.partenaires-title {
  text-align: center;
  color: #004e66;
  text-transform: uppercase;
  font-size: 45px;
  line-height: 53px;
  margin-bottom: 15px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.partenaires-subtitle {
  text-align: center;
  color: #92c94a;
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 50px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.partenaire-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
  background: white;
}

.partenaire-item:hover {
  border-color: #92c94a;
  box-shadow: 0 2px 15px rgba(146, 201, 74, 0.2);
  transform: translateY(-3px);
}

.partenaire-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Équipe Responsive */
@media screen and (max-width: 768px) {
  .equipe-hero {
    min-height: 250px;
  }

  .membres-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .citation-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .citation-author {
    order: -1;
  }

  .citation-text {
    font-size: 16px;
  }

  .partenaires-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .partenaires-title {
    font-size: 26px;
  }

  .partenaires-subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .partenaires-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .partenaire-placeholder {
    font-size: 12px;
  }
}

/* ===== PAGE ANNONCES ===== */

/* Hero Section */
.annonces-hero {
  background: url("https://sami-constructions.com/fichiers/maison-contemporaine-focus.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.annonces-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 102, 0.4);
}

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

.annonces-hero h1 {
  color: white;
  text-align: center;
  background: #92c94a;
  padding: 20px 40px;
  margin: 0 auto 20px;
  position: relative;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.annonces-hero h1::after {
  content: "";
  height: 145%;
  width: 18%;
  background: #92c94a;
  position: absolute;
  top: -26%;
  left: 70%;
  transform: skewX(-20deg);
  z-index: -1;
}

/* Section Introduction */
.annonces-intro {
  background: #f8f9fa;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.annonces-intro .intro-subtitle {
  color: #92c94a;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.annonces-intro .intro-text {
  color: #004e66;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

/* Section Filtres */
.annonces-filters {
  padding: 30px 20px;
  background: #f9f9f9;
  border-bottom: 2px solid #e0e0e0;
}

.annonces-filters .form-control {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

.filters-row {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: white;
  border: 2px solid #004e66;
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #004e66;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 78, 102, 0.3);
}

.filter-btn.active {
  background: #92c94a;
  border-color: #92c94a;
}

/* Boutons Rechercher et Effacer */
.btn-search,
.btn-reset {
  padding: 12px 30px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-search {
  background: #004e66;
  border: 2px solid #004e66;
  color: white;
}

.btn-search:hover {
  background: #003a4d;
  border-color: #003a4d;
}

.btn-reset {
  background: white;
  border: 2px solid #92c94a;
  color: #92c94a;
  margin-left: 10px;
}

.btn-reset:hover {
  background: #92c94a;
  color: white;
}

/* Compteur d'annonces */
.annonces-count {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #004e66;
  text-align: center;
  margin-top: 20px;
}

/* Section Grille d'Annonces */
.annonces-section {
  padding: 60px 20px;
  background: white;
}

.annonces-container {
  max-width: 1400px;
  margin: 0 auto;
}

.annonces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Carte d'Annonce */
.annonce-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.annonce-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 78, 102, 0.15);
  border-color: #92c94a;
}

/* Image de l'annonce */
.annonce-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.annonce-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Badge de statut */
.annonce-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 20px;
  background: #92c94a;
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  z-index: 2;
}

.annonce-badge.vendu {
  background: #dc3545;
}

.annonce-badge.loue {
  background: #ffc107;
  color: #333;
}

/* Contenu de l'annonce */
.annonce-content {
  padding: 25px 15px 30px;
  text-align: center;
}

.annonce-content h3 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 20px;
  color: #004e66;
  text-align: center;
}

.annonce-content h3 a {
  color: #004e66;
  text-decoration: none;
  transition: color 0.3s ease;
}

.annonce-content h3 a:hover {
  color: #92c94a;
}

.annonce-location {
  color: #666;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.annonce-location::before {
  content: "📍";
  font-size: 16px;
}

.annonce-description {
  color: #333;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* Prix et Surface */
.annonce-prix {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #92c94a;
  margin-bottom: 10px;
}

.annonce-surface {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
}

/* Caractéristiques */
.annonce-features {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.annonce-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.annonce-feature-icon {
  color: #004e66;
  font-size: 20px;
}

.annonce-feature-value {
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.annonce-feature-label {
  color: #666;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer de la carte */
.annonce-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.annonce-price {
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 28px;
}

.annonce-price-label {
  display: block;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  margin-top: 2px;
}

.annonce-btn {
  padding: 12px 25px;
  background: #004e66;
  color: white;
  text-decoration: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-block;
}

.annonce-btn:hover {
  background: #92c94a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(146, 201, 74, 0.4);
}

/* Section Pagination */
.annonces-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination-btn {
  width: 45px;
  height: 45px;
  border: 2px solid #004e66;
  background: white;
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: #004e66;
  color: white;
  transform: scale(1.1);
}

.pagination-btn.active {
  background: #92c94a;
  border-color: #92c94a;
}

/* Section CTA Contact */
.annonces-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #004e66 0%, #11394f 100%);
  margin-top: 60px;
  text-align: center;
}

.annonces-cta h2 {
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  margin-bottom: 20px;
}

.annonces-cta p {
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  padding: 15px 40px;
  background: #92c94a;
  color: white;
  text-decoration: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta-primary:hover {
  background: #a4d037;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(146, 201, 74, 0.4);
}

.btn-cta-secondary {
  padding: 15px 40px;
  background: transparent;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta-secondary:hover {
  background: white;
  color: #004e66;
  transform: translateY(-2px);
}

/* Message "Aucune annonce" */
.no-annonces {
  text-align: center;
  padding: 80px 20px;
}

.no-annonces-icon {
  font-size: 80px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.no-annonces h3 {
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}

.no-annonces p {
  color: #666;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 30px;
}

/* ===== ANNONCES RESPONSIVE ===== */

@media screen and (max-width: 1200px) {
  .annonces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media screen and (max-width: 992px) {
  .annonces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .annonces-hero h1 {
    font-size: 32px;
  }

  .annonces-intro .intro-subtitle {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .annonces-hero {
    min-height: 200px;
  }

  .annonces-hero h1 {
    font-size: 28px;
    padding: 15px 30px;
  }

  .annonces-intro {
    padding: 30px 20px;
  }

  .annonces-intro .intro-subtitle {
    font-size: 18px;
  }

  .annonces-section {
    padding: 40px 0;
  }

  .annonces-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .annonce-content h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .annonces-intro .intro-text {
    font-size: 16px;
  }

  .annonces-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .annonce-image {
    height: 250px;
  }

  .annonce-title {
    font-size: 22px;
    line-height: 28px;
  }

  .annonce-price {
    font-size: 24px;
  }

  .annonces-cta h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .annonces-cta p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .page-title-main {
    font-size: 28px;
    line-height: 34px;
    padding: 15px 25px;
  }

  .annonce-content {
    padding: 20px;
  }

  .annonce-features {
    flex-wrap: wrap;
    gap: 15px;
  }

  .annonce-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .annonce-btn {
    width: 100%;
    text-align: center;
  }

  .pagination-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* Styles pour compatibilité WordPress/Visual Composer */
.vc_row.annonces-page,
.wpb_row.annonces-page {
  padding: 0;
  margin: 0;
}

.portfolio-shortcode .annonces-grid,
.dt-css-grid.annonces-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
}

@media screen and (max-width: 992px) {
  .portfolio-shortcode .annonces-grid,
  .dt-css-grid.annonces-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {
  .portfolio-shortcode .annonces-grid,
  .dt-css-grid.annonces-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== PAGE SERVICES ET GARANTIES ===== */

/* Hero Section */
.services-hero {
  background: url("https://sami-constructions.com/fichiers/1-1019.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 102, 0.4);
}

/* Introduction Section */
.services-intro {
  background: #f9f9f9;
  padding: 30px 0 60px;
  text-align: center;
}

.services-intro .intro-subtitle {
  color: #92c94a;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.services-intro .intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

/* ========== SERVICES PAGE ========== */
.services-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.services-section.fond-bleu {
  background: #004e66;
}

.services-section.fond-bleu::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 250px;
  border-color: transparent transparent #92c94a transparent;
  z-index: 0;
  opacity: 0.9;
}

.services-section.fond-bleu::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 180px 220px 0 0;
  border-color: #92c94a transparent transparent transparent;
  z-index: 0;
  opacity: 0.9;
}

.services-section.fond-vert {
  background: #004e66;
}

.services-section.fond-vert::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 250px;
  border-color: transparent transparent #92c94a transparent;
  z-index: 0;
  opacity: 0.9;
}

.services-section.fond-vert::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 180px 220px 0 0;
  border-color: #92c94a transparent transparent transparent;
  z-index: 0;
  opacity: 0.9;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0;
}

.services-content.reverse {
  direction: rtl;
}

.services-content.reverse > * {
  direction: ltr;
}

.services-image {
  position: relative;
  overflow: visible;
  padding: 0;
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.services-image:hover img {
  transform: scale(1.05);
}

/* Formes géométriques décoratives pour les images */
.services-image::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

.services-image::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

/* Triangles verts pour sections normales */
.services-section:not(.fond-bleu):not(.fond-vert) .services-image::before {
  border-width: 0 0 120px 180px;
  border-color: transparent transparent #92c94a transparent;
  top: -20px;
  left: -30px;
}

.services-section:not(.fond-bleu):not(.fond-vert) .services-image::after {
  border-width: 100px 150px 0 0;
  border-color: #92c94a transparent transparent transparent;
  bottom: -20px;
  right: -30px;
}

/* Triangles pour sections avec fond bleu */
.services-section.fond-bleu .services-image::before {
  border-width: 0 0 120px 180px;
  border-color: transparent transparent #92c94a transparent;
  top: -20px;
  right: -30px;
}

.services-section.fond-bleu .services-image::after {
  border-width: 100px 150px 0 0;
  border-color: #92c94a transparent transparent transparent;
  bottom: -20px;
  left: -30px;
}

/* Triangles pour sections avec fond vert */
.services-section.fond-vert .services-image::before {
  border-width: 0 0 120px 180px;
  border-color: transparent transparent #92c94a transparent;
  top: -20px;
  right: -30px;
}

.services-section.fond-vert .services-image::after {
  border-width: 100px 150px 0 0;
  border-color: #92c94a transparent transparent transparent;
  bottom: -20px;
  left: -30px;
}

.services-text {
  padding: 0 20px;
}

.services-logo-badge {
  display: inline-block;
  background: #004e66;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

.services-logo-badge.green {
  background: #92c94a;
  color: #004e66;
}

.services-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #004e66;
  margin-bottom: 25px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-title.white-text {
  color: white;
}

.services-text .intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
}

.services-text .intro-text.white-text {
  color: white;
}

.services-text .intro-text:last-child {
  margin-bottom: 0;
}

/* Bouton En savoir plus */
.services-btn {
  display: inline-block;
  background: transparent;
  color: #004e66;
  padding: 16px 24px 12px 24px;
  font-weight: 600;
  font-size: 16px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  text-decoration: none;
  margin-top: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
}

.services-btn::before,
.services-btn::after {
  content: "";
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid #11394f;
  transition: width 0.6s ease, height 0.6s ease;
}

.services-btn::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.services-btn::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.services-btn:hover::before,
.services-btn:hover::after {
  width: 100%;
  height: 100%;
}

.services-btn.white {
  color: white;
}

.services-btn.white::before,
.services-btn.white::after {
  border-color: white;
}

/* Section Titre Nos Garanties */
.services-garanties-title {
  padding: 60px 0 20px;
  text-align: center;
  background: #f9f9f9;
}

.section-title-center {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #004e66;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .services-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0;
  }

  .services-content.reverse {
    direction: ltr;
  }

  .services-title {
    font-size: 28px;
  }

  .section-title-center {
    font-size: 38px;
  }

  .services-section {
    padding: 60px 0;
  }

  /* Cacher les formes géométriques autour des images sur tablette */
  .services-image::before,
  .services-image::after {
    display: none;
  }

  /* Réduire les formes de fond */
  .services-section.fond-bleu::before,
  .services-section.fond-vert::before {
    border-width: 0 0 120px 150px;
  }

  .services-section.fond-bleu::after,
  .services-section.fond-vert::after {
    border-width: 100px 130px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .services-hero {
    min-height: 250px;
  }

  .services-intro {
    padding: 40px 20px;
  }

  .services-intro .intro-subtitle {
    font-size: 20px;
  }

  .services-intro .intro-text {
    font-size: 16px;
  }

  .services-section {
    padding: 40px 0;
  }

  .services-content {
    gap: 30px;
    padding: 10px 0;
  }

  .services-text {
    padding: 0 20px;
  }

  .services-image {
    padding: 0;
  }

  .services-title {
    font-size: 24px;
  }

  .section-title-center {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .services-logo-badge {
    font-size: 16px;
    padding: 10px 24px;
  }

  .services-text .intro-text {
    font-size: 16px;
  }

  /* Cacher toutes les formes géométriques sur mobile */
  .services-section.fond-bleu::before,
  .services-section.fond-bleu::after,
  .services-section.fond-vert::before,
  .services-section.fond-vert::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .services-hero {
    min-height: 200px;
  }

  .services-title {
    font-size: 22px;
  }

  .section-title-center {
    font-size: 28px;
  }

  .services-content {
    gap: 25px;
  }
}

/* ===== PAGE RÉNOVATION ===== */

/* Hero Section */
.renovation-hero {
  background: url("https://sami-constructions.com/fichiers/renov-1.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.renovation-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 102, 0.4);
}

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

.renovation-hero h1 {
  color: white;
  text-align: center;
  background: #004e66;
  padding: 20px 40px;
  margin: 0 auto 20px;
  position: relative;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.renovation-hero h1::after {
  content: "";
  height: 145%;
  width: 18%;
  background: #92c94a;
  position: absolute;
  top: -26%;
  left: 70%;
  transform: skewX(-20deg);
  z-index: -1;
}

/* Introduction Section */
.renovation-intro {
  background: #ffffff;
  padding: 40px 0;
  text-align: center;
}

.renovation-intro .vert h4 {
  color: #92c94a !important;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 1.2px;
}

.renovation-intro .vert p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  letter-spacing: 1px;
}

/* Classes de couleurs du site officiel */
.vert h2,
.vert h3,
.vert h4,
.vert h5,
.vert h6 {
  color: #92c94a !important;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 1.2px;
}

.bleu h2,
.bleu h3,
.bleu h4,
.bleu h5,
.bleu h6 {
  color: #004e66 !important;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 1.2px;
}

.txt-white h1,
.txt-white h2,
.txt-white h3,
.txt-white h4,
.txt-white h5 {
  color: white !important;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 1.2px;
}

.txt-white p {
  color: white !important;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 1px;
}

.txt-white strong {
  color: #92c94a !important;
}

/* Renovation Sections */
.renovation-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.renovation-section.fond-bleu {
  background: #004e66;
}

.renovation-section.fond-bleu::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 250px;
  border-color: transparent transparent #92c94a transparent;
  z-index: 0;
  opacity: 0.9;
}

.renovation-section.fond-bleu::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 180px 220px 0 0;
  border-color: #92c94a transparent transparent transparent;
  z-index: 0;
  opacity: 0.9;
}

/* Classe formes pour les effets géométriques */
.formes {
  overflow: hidden !important;
}

.renovation-section .container {
  position: relative;
  z-index: 1;
}

.renovation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0;
}

.reverse-flex .renovation-row {
  direction: rtl;
}

.reverse-flex .renovation-row > * {
  direction: ltr;
}

.renovation-col {
  min-width: 0;
}

.renovation-col-6 {
  width: 100%;
}

.renovation-image {
  position: relative;
  overflow: visible;
  padding: 0;
}

.renovation-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.renovation-image:hover img {
  transform: scale(1.05);
}

/* Formes géométriques décoratives */
.renovation-image::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

.renovation-image::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 1;
}

/* Triangles verts pour sections normales */
.renovation-section:not(.fond-bleu) .renovation-image::before {
  border-width: 0 0 120px 180px;
  border-color: transparent transparent #92c94a transparent;
  top: -20px;
  left: -30px;
}

.renovation-section:not(.fond-bleu) .renovation-image::after {
  border-width: 100px 150px 0 0;
  border-color: #92c94a transparent transparent transparent;
  bottom: -20px;
  right: -30px;
}

/* Triangles pour sections avec fond bleu */
.renovation-section.fond-bleu .renovation-image::before {
  border-width: 0 0 120px 180px;
  border-color: transparent transparent #92c94a transparent;
  top: -20px;
  right: -30px;
}

.renovation-section.fond-bleu .renovation-image::after {
  border-width: 100px 150px 0 0;
  border-color: #92c94a transparent transparent transparent;
  bottom: -20px;
  left: -30px;
}

/* Effets géométriques pour les images (comme sur le site officiel) */
.fond.bleu .vc_single_image-wrapper:before {
  content: "";
  height: 110%;
  width: 20%;
  background: #004e66;
  position: absolute;
  top: -10%;
  left: 40%;
  transform: skewX(-20deg);
  z-index: 0;
}

.fond.bleu .vc_single_image-wrapper:after {
  content: "";
  height: 15%;
  width: 6%;
  background: #92c94a;
  position: absolute;
  top: -3%;
  left: 47%;
  transform: skewX(-20deg);
  z-index: 0;
}

.fond.vert .vc_single_image-wrapper:before {
  content: "";
  height: 110%;
  width: 20%;
  background: #92c94a;
  position: absolute;
  top: -5%;
  left: 40%;
  transform: skewX(-20deg);
  z-index: 0;
}

.fond.vert .vc_single_image-wrapper:after {
  content: "";
  height: 15%;
  width: 6%;
  background: #004e66;
  position: absolute;
  top: 3%;
  left: 47%;
  transform: skewX(-20deg);
  z-index: 0;
}

.renovation-col {
  padding: 0 40px;
}

.renovation-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #004e66;
  margin-bottom: 25px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 1.2px;
}

/* Ajustement des tailles selon les autres pages */
.bleu h3 {
  font-size: 32px !important;
  font-weight: 700 !important;
}

.txt-white h3 {
  font-size: 32px !important;
  font-weight: 700 !important;
}

.renovation-title.white-text {
  color: white;
}

.renovation-section .intro-text {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
  letter-spacing: 1px;
  text-align: left;
}

.renovation-section .intro-text.txt-white {
  color: white;
}

/* Styles pour les images avec effets géométriques */
.wpb_single_image.fond {
  position: relative;
  overflow: visible;
}

.wpb_single_image.fond figure {
  position: relative;
  overflow: visible;
}

.wpb_single_image.fond .vc_single_image-wrapper {
  position: relative;
  overflow: visible;
}

.wpb_single_image.fond img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive pour les effets géométriques */
@media screen and (max-width: 768px) {
  .fond.bleu .vc_single_image-wrapper:before {
    height: 100%;
    top: -5%;
  }

  .fond.bleu .vc_single_image-wrapper:after {
    top: 4%;
    left: 49%;
  }

  .fond.vert .vc_single_image-wrapper:before {
    height: 100%;
    top: -5%;
  }
} /* Responsive Design */
@media screen and (max-width: 992px) {
  .renovation-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0;
  }

  .reverse-flex .renovation-row {
    direction: ltr;
  }

  .renovation-title {
    font-size: 28px;
  }

  .renovation-section {
    padding: 60px 0;
  }

  .renovation-hero h1 {
    font-size: 32px;
  }

  .renovation-intro .intro-subtitle {
    font-size: 20px;
  }

  /* Réduire les formes géométriques sur tablette */
  .renovation-image::before,
  .renovation-image::after {
    display: none;
  }

  .renovation-section.fond-bleu::before {
    border-width: 0 0 120px 150px;
  }

  .renovation-section.fond-bleu::after {
    border-width: 100px 130px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .renovation-hero {
    min-height: 200px;
  }

  .renovation-hero h1 {
    font-size: 28px;
    padding: 15px 30px;
  }

  .renovation-intro {
    padding: 30px 20px;
  }

  .renovation-intro .intro-subtitle {
    font-size: 18px;
  }

  .renovation-section {
    padding: 40px 0;
  }

  .renovation-row {
    gap: 30px;
    padding: 10px 0;
  }

  .renovation-title {
    font-size: 24px;
  }

  .intro-text {
    font-size: 16px;
  }

  /* Cacher les formes sur mobile */
  .renovation-section.fond-bleu::before,
  .renovation-section.fond-bleu::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .renovation-hero h1 {
    font-size: 24px;
    padding: 12px 20px;
  }

  .renovation-intro .intro-subtitle {
    font-size: 16px;
  }

  .renovation-title {
    font-size: 22px;
  }

  .renovation-row {
    gap: 15px;
  }

  .renovation-col {
    padding: 0 15px;
  }

  .renovation-image {
    padding: 20px;
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .renovation-row {
    flex-direction: column !important;
    gap: 30px;
  }

  .renovation-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .renovation-title {
    font-size: 28px;
  }

  .renovation-section {
    padding: 60px 0;
  }
}

@media screen and (max-width: 768px) {
  .renovation-hero {
    min-height: 200px;
  }

  .renovation-intro {
    padding: 40px 20px;
  }

  .renovation-intro .intro-subtitle {
    font-size: 20px;
  }

  .renovation-intro .intro-text {
    font-size: 16px;
  }

  .renovation-section {
    padding: 40px 0;
  }

  .renovation-row {
    gap: 20px;
  }

  .renovation-col {
    padding: 0 20px;
  }

  .renovation-image {
    padding: 30px;
  }

  .renovation-title {
    font-size: 24px;
  }

  .renovation-text .intro-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .renovation-hero {
    min-height: 200px;
  }

  .renovation-title {
    font-size: 22px;
  }

  .renovation-row {
    gap: 15px;
  }

  .renovation-col {
    padding: 0 15px;
  }

  .renovation-image {
    padding: 20px;
  }
}

/* ===== PAGE RÉALISATIONS ===== */

/* Hero Section */
.realisations-hero {
  background: url("https://sami-constructions.com/fichiers/infos-e1673452802814.jpg")
    center/cover no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.realisations-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 78, 102, 0.4);
}

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

.realisations-hero h1 {
  color: white;
  text-align: center;
  background: #004e66;
  padding: 20px 40px;
  margin: 0 auto 20px;
  position: relative;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.realisations-hero h1::after {
  content: "";
  height: 145%;
  width: 18%;
  background: #92c94a;
  position: absolute;
  top: -26%;
  left: 70%;
  transform: skewX(-20deg);
  z-index: -1;
}

/* Introduction Section */
.realisations-intro {
  background: #f8f9fa;
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.realisations-intro .intro-subtitle {
  color: #92c94a;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Articles Grid Section */
.realisations-articles {
  background: #ffffff;
  padding: 60px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.article-card {
  background: #ffffff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.article-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-content {
  padding: 25px 15px 30px;
  text-align: center;
}

.article-content h3 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 20px;
  color: #004e66;
  text-align: center;
}

.article-content h3 a {
  color: #004e66;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-content h3 a:hover {
  color: #92c94a;
}

/* Gallery Sections */
.realisations-gallery {
  background: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

.realisations-gallery:last-of-type {
  border-bottom: none;
}

.realisations-gallery h2 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #004e66;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.separator {
  text-align: center;
  margin: 40px 0;
  position: relative;
}

.separator::before,
.separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #c4c4c4;
}

.separator::before {
  left: 0;
}

.separator::after {
  right: 0;
}

.separator h4 {
  display: inline-block;
  padding: 0 20px;
  background: #ffffff;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #004e66;
  position: relative;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Responsive Design */
@media screen and (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

  .realisations-hero h1 {
    font-size: 32px;
  }

  .realisations-intro .intro-subtitle {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .realisations-hero {
    min-height: 200px;
  }

  .realisations-hero h1 {
    font-size: 28px;
    padding: 15px 30px;
  }

  .realisations-intro {
    padding: 30px 20px;
  }

  .realisations-intro .intro-subtitle {
    font-size: 18px;
  }

  .realisations-articles {
    padding: 40px 0;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-content h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .realisations-gallery {
    padding: 40px 0;
  }

  .realisations-gallery h2 {
    font-size: 26px;
  }

  .separator h4 {
    font-size: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .realisations-hero h1 {
    font-size: 24px;
    padding: 12px 20px;
  }

  .realisations-intro .intro-subtitle {
    font-size: 16px;
  }

  .article-content {
    padding: 20px 10px;
  }

  .article-content h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .realisations-gallery h2 {
    font-size: 22px;
  }

  .separator h4 {
    font-size: 18px;
  }
}

/* ===== PAGE D'ACCUEIL ===== */

/* Slider Hero */
.home-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Carrousel d'images */
#carousel-container {
  width: 100%;
  overflow: hidden;
  height: auto;
  position: relative;
  transition: 0.4s;
}

#carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  background: #222222;
}

#carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 1s ease-in-out;
}

#carousel img.actuel {
  transform: translateX(0);
}

#carousel img:not(.actuel) {
  transform: translateX(-100%);
}

.boutons.carousel {
  position: absolute;
  top: 50%;
  display: flex;
  width: 100%;
  z-index: 2;
  justify-content: space-between;
  transform: translateY(-50%);
}

#prev-btn {
  left: 15px;
  padding: 10px 20px;
  border: none;
  background: #004e66;
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#next-btn {
  right: 15px;
  padding: 10px 15px;
  border: none;
  background: #004e66;
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#prev-btn:hover,
#next-btn:hover {
  background: #92c94a;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: white;
}

.slider-title-main {
  font-family: "Manrope", "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 100px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 8px;
  line-height: 120px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
  text-stroke: 2px rgba(255, 255, 255, 0.8);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-title-sub {
  font-family: "Manrope", "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 100px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 8px;
  line-height: 120px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
  text-stroke: 2px rgba(255, 255, 255, 0.8);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-location {
  font-family: "Satisfy", cursive, Helvetica, Arial, Verdana, sans-serif;
  font-size: 69px;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
  text-stroke: 1.5px rgba(255, 255, 255, 0.7);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  letter-spacing: 2px;
  line-height: 75px;
}

/* Section Introduction */
.home-intro {
  background: #004e66;
  background-image: url("https://sami-constructions.com/fichiers/lines2-1.svg");
  background-attachment: fixed;
  background-repeat: repeat;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-intro .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-intro h2 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 45px;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.intro-separator {
  width: 80px;
  height: 6px;
  background: #92c94a;
  margin: 0 auto 20px;
}

.home-intro h4 {
  font-family: "Satisfy", Helvetica, Arial, Verdana, sans-serif;
  font-size: 42px;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  line-height: 45px;
  letter-spacing: 1.2px;
}

/* Section Présentation */
.home-presentation {
  background: #ffffff;
  padding: 60px 0;
}

.presentation-row {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.presentation-col {
  flex: 1;
  padding: 0 20px;
}

.presentation-text.bleu h1 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #004e66;
  line-height: 40px;
  text-align: right;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.presentation-text.bleu p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  text-align: justify;
  letter-spacing: 1px;
}

.btn-align-right {
  text-align: right;
  margin-top: 30px;
}

.btn-align-center {
  text-align: center;
  margin-top: 30px;
}

/* Section Services */
.home-services {
  background: #004e66;
  background-image: url("https://sami-constructions.com/fichiers/lines2-1.svg");
  background-attachment: fixed;
  background-repeat: repeat;
  background-position: center center;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: visible;
  margin: 0;
  width: 100%;
}

.home-services .container {
  background: transparent;
}

.services-intro {
  background: transparent;
  padding: 0;
  margin: 0;
}

.services-intro h4 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: white;
  margin: 0 0 10px 0;
  padding: 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: transparent;
}

.services-title h2 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #92c94a;
  margin-bottom: 40px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.service-item {
  background: transparent;
  border: 1px solid #11394f;
  padding: 40px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
  min-height: 200px;
}

.service-item:hover {
  background: #92c94a;
  box-shadow: 0 0 35px rgba(0, 90, 125, 0.29);
}

.service-item:hover p {
  color: #fff;
}

.service-item .plus {
  opacity: 0;
  position: absolute;
  z-index: 9;
  right: 20px;
  top: 20px;
  transform: rotate(45deg);
  transition: all 0.4s ease;
  color: #92c94a;
  font-size: 30px;
}

.service-item:hover .plus {
  opacity: 1;
  right: 10px;
  top: 10px;
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon img {
  width: 80px;
  height: auto;
  transition: all 0.4s ease;
}

.service-item:not(:hover) .service-icon img {
  filter: grayscale(1);
}

.service-item h5 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 0;
  letter-spacing: 1.2px;
  transition: all 0.4s ease;
  text-transform: uppercase;
}

.service-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

/* Section Nos Maisons - utilise le CSS existant de nos-maisons-types */
.nos-maisons-types .maisons-intro h2 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #92c94a;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.nos-maisons-types .maisons-subtitle h4 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #004e66;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1.2px;
}

.nos-maisons-types .maisons-description {
  text-align: center;
  margin-bottom: 40px;
}

.nos-maisons-types .maisons-description p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  letter-spacing: 1px;
}

.nos-maisons-types .maisons-description strong {
  color: #004e66 !important;
}

/* Section Citation */
.home-citation {
  background: url("https://sami-constructions.com/fichiers/vue-101.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-citation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 60, 90, 0.6);
  z-index: 0;
}

/* Formes géométriques vertes - Coin supérieur gauche */
.home-citation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 150px;
  background: #92c94a;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
  z-index: 0;
}

.home-citation .container {
  position: relative;
  z-index: 2;
}

.home-citation .citation-content {
  position: relative;
}

/* Forme géométrique verte - Coin inférieur droit */
.home-citation .citation-content::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -50px;
  width: 400px;
  height: 150px;
  background: #92c94a;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.home-citation h3 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  margin-bottom: 30px;
  letter-spacing: 1.2px;
  font-style: italic;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.home-citation .btn-align-center {
  position: relative;
  z-index: 1;
}

/* Effets géométriques pour la section bandeau (anciens styles) */
.bandeau {
  overflow: hidden;
}

.bandeau > div:last-child:before {
  content: "";
  height: 20%;
  width: 21%;
  background: #92c94a;
  position: absolute;
  top: -7%;
  left: 2%;
  transform: skewX(-20deg);
}

.bandeau > div:last-child:after {
  content: "";
  height: 20%;
  width: 5%;
  background: #92c94a;
  position: absolute;
  bottom: -7%;
  right: 6%;
  transform: skewX(-20deg);
}

/* Section Témoignages - utilise le CSS existant de nos-maisons-avis */

/* Boutons du site */
.dt-btn {
  display: inline-block;
  padding: 16px 24px 12px 24px;
  background: transparent;
  border: none;
  color: #004e66;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.6s ease;
}

.dt-btn::before,
.dt-btn::after {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
}

.dt-btn::before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: #11394f;
  border-left-color: #11394f;
}

.dt-btn::after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: #11394f;
  border-right-color: #11394f;
}

.dt-btn:hover::before,
.dt-btn:hover::after {
  width: 100%;
  height: 100%;
}

.dt-btn.white {
  background-color: #fff;
}

.dt-btn.white:hover {
  color: #fff;
  background-color: #92c94a;
}

.dt-btn.white::before {
  border-top-color: #fff;
  border-left-color: #fff;
}

.dt-btn.white::after {
  border-bottom-color: #fff;
  border-right-color: #fff;
}

.dt-btn.white:hover::before {
  border-top-color: #92c94a;
  border-left-color: #92c94a;
}

.dt-btn.white:hover::after {
  border-bottom-color: #92c94a;
  border-right-color: #92c94a;
}

.dt-btn.vert {
  color: #92c94a;
}

.dt-btn.vert::before {
  border-top-color: #92c94a;
  border-left-color: #92c94a;
}

.dt-btn.vert::after {
  border-bottom-color: #92c94a;
  border-right-color: #92c94a;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .presentation-row {
    flex-direction: column;
    gap: 40px;
  }

  .presentation-text.bleu h1 {
    text-align: center;
  }

  .presentation-text.bleu p {
    text-align: center;
  }
  .btn-align-right {
    text-align: center;
  }

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

  .nos-maisons-types .maisons-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reverse-flex {
    flex-direction: column-reverse;
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  .slider-title-main,
  .slider-title-sub {
    font-size: 60px;
    line-height: 70px;
  }

  .slider-location {
    font-size: 50px;
    line-height: 60px;
  }

  .home-intro h2 {
    font-size: 34px;
    line-height: 38px;
  }

  .home-intro h4 {
    font-size: 33px;
    line-height: 36px;
  }

  .presentation-col h1 {
    font-size: 28px;
    line-height: 33px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .maison-content h3 {
    font-size: 32px;
    line-height: 36px;
  }

  .home-citation h3 {
    font-size: 26px;
    line-height: 1.3;
  }

  .home-citation::after {
    width: 300px;
    height: 120px;
  }

  .home-citation .citation-content::after {
    width: 300px;
    height: 120px;
    bottom: -60px;
  }
}

@media screen and (max-width: 768px) {
  .home-slider {
    height: 400px;
  }

  #carousel img {
    height: 400px;
  }

  .slider-title-main,
  .slider-title-sub {
    font-size: 60px;
    line-height: 70px;
  }

  .slider-location {
    font-size: 50px;
    line-height: 60px;
  }

  .home-intro h2 {
    font-size: 34px;
    line-height: 38px;
  }

  .home-intro h4 {
    font-size: 33px;
    line-height: 36px;
  }

  .presentation-text.bleu h1 {
    font-size: 28px;
    line-height: 33px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 40px;
  }

  .home-intro .container {
    padding: 0 30px;
  }

  .presentation-col {
    padding: 0 10px;
  }

  .maison-content h3 {
    font-size: 32px;
    line-height: 36px;
  }

  .service-item {
    min-height: 180px;
  }

  .home-citation {
    padding: 60px 0;
  }

  .home-citation h3 {
    font-size: 22px;
    line-height: 1.3;
    padding: 0 20px;
  }

  .home-citation::after {
    width: 250px;
    height: 100px;
  }

  .home-citation .citation-content::after {
    width: 250px;
    height: 100px;
    bottom: -50px;
    right: -30px;
  }
}

@media screen and (max-width: 480px) {
  .home-slider {
    height: 300px;
  }

  #carousel img {
    height: 300px;
  }

  .slider-title-main,
  .slider-title-sub {
    font-size: 40px;
    line-height: 50px;
  }

  .slider-location {
    font-size: 38px;
    line-height: 42px;
  }

  .home-intro h2 {
    font-size: 28px;
    line-height: 33px;
  }

  .home-intro h4 {
    font-size: 26px;
    line-height: 34px;
  }

  .maison-content h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .home-citation {
    padding: 50px 0;
  }

  .home-citation h3 {
    font-size: 18px;
    line-height: 1.3;
    padding: 0 15px;
  }

  .home-citation::after {
    width: 200px;
    height: 80px;
  }

  .home-citation .citation-content::after {
    width: 200px;
    height: 80px;
    bottom: -40px;
    right: -20px;
  }
}

/* ===== PAGE CCMI ===== */
.ccmi-hero {
  background: url("https://sami-constructions.com/fichiers/contrat.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.ccmi-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.ccmi-hero .hero-title-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

/* Section Intro CCMI */
.ccmi-intro {
  padding: 30px 0 40px;
  background-color: white;
  text-align: center;
}

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

.intro-separator-green {
  color: #92c94a;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px 0;
}

/* Sections CCMI */
.ccmi-section {
  padding: 20px 0;
}

.ccmi-content-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.ccmi-content-row.reverse {
  flex-direction: row-reverse;
}

.ccmi-content-text {
  flex: 1;
  max-width: 85%;
}

.ccmi-content-text.full-width {
  max-width: 85%;
}

.ccmi-content-decoration {
  width: 15%;
  min-height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.ccmi-content-decoration.green-lines {
  background-image: url("https://sami-constructions.com/fichiers/green-lines.svg");
}

.ccmi-content-decoration.blue-lines {
  background-image: url("https://sami-constructions.com/fichiers/blue-lines.svg");
}

/* CCMI Titles */
.ccmi-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 45px;
  line-height: 53px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ccmi-title.vert {
  color: #92c94a;
}

.ccmi-title.bleu {
  color: #004e66;
}

/* Intervenants Grid */
.intervenants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.intervenant-item {
  text-align: center;
}

.intervenant-icon {
  margin-bottom: 15px;
}

.intervenant-text {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: #333;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* Garanties Grid CCMI */
.ccmi-garanties-section .garanties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.garantie-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.garantie-icon {
  margin-bottom: 10px;
}

.garantie-text {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: #333;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* Section Signature Image */
.ccmi-signature-section {
  padding: 40px 0;
  background: white;
}

.signature-image {
  max-width: 800px;
  margin: 0 auto;
}

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

/* CTA Bandeau CCMI */
.ccmi-cta {
  background: url("https://sami-constructions.com/fichiers/contrat-de-construction.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.ccmi-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.14);
}

.ccmi-cta .container {
  position: relative;
  z-index: 1;
}

.ccmi-cta .cta-title {
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  font-style: italic;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Bouton dt-btn */
.dt-btn {
  display: inline-block;
  padding: 16px 24px;
  text-transform: uppercase;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #004e66;
  background: transparent;
  position: relative;
  transition: all 0.3s ease;
}

.dt-btn::before,
.dt-btn::after {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
}

.dt-btn::before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: #11394f;
  border-left-color: #11394f;
}

.dt-btn::after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: #11394f;
  border-right-color: #11394f;
}

.dt-btn:hover::before,
.dt-btn:hover::after {
  width: 100%;
  height: 100%;
}

.dt-btn.white {
  color: #004e66;
  background-color: white;
}

.dt-btn.white::before {
  border-top-color: white;
  border-left-color: white;
}

.dt-btn.white::after {
  border-bottom-color: white;
  border-right-color: white;
}

.dt-btn.white:hover {
  color: white;
  background-color: #92c94a;
}

.dt-btn.white:hover::before {
  border-top-color: #92c94a;
  border-left-color: #92c94a;
}

.dt-btn.white:hover::after {
  border-bottom-color: #92c94a;
  border-right-color: #92c94a;
}

/* Responsive CCMI */
@media (max-width: 576px) {
  .contact-hero {
    padding: 30px 20px;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
  }

  .ccmi-content-text.full-width {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .ccmi-hero {
    min-height: 200px;
    background-attachment: scroll;
  }

  .ccmi-cta {
    background-attachment: scroll;
  }

  .intervenants-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ccmi-garanties-section .garanties-grid {
    grid-template-columns: 1fr;
  }

  .ccmi-title {
    font-size: 26px;
    line-height: 32px;
  }

  .ccmi-cta .cta-title {
    font-size: 18px;
    line-height: 26px;
  }

  .ccmi-intro {
    padding: 20px 0 30px;
  }

  .ccmi-section {
    padding: 15px 0;
  }
}

/* ===== ANIMATIONS CCMI ===== */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation classes */
.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-left {
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-right {
  opacity: 0;
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale {
  opacity: 0;
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-down {
  opacity: 0;
  animation: slideInDown 0.7s ease-out forwards;
}

/* Animation delays */
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

/* CCMI Page specific animations */
.ccmi-hero .page-title-main {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif !important;
  animation: fadeInUp 1s ease-out forwards;
}

.ccmi-intro .intro-separator-green {
  animation: scaleIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.ccmi-intro .intro-text {
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

.ccmi-title.vert {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.ccmi-title.bleu {
  animation: fadeInRight 0.8s ease-out forwards;
}

.ccmi-cta .cta-title {
  animation: fadeInUp 0.8s ease-out forwards;
}

.ccmi-cta .dt-btn {
  animation: scaleIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

/* Intervenants animation */
.intervenant-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.intervenant-item:nth-child(1) {
  animation-delay: 0.1s;
}
.intervenant-item:nth-child(2) {
  animation-delay: 0.2s;
}
.intervenant-item:nth-child(3) {
  animation-delay: 0.3s;
}
.intervenant-item:nth-child(4) {
  animation-delay: 0.4s;
}

/* Garanties animation */
.garantie-item {
  opacity: 0;
  animation: scaleIn 0.5s ease-out forwards;
}

.garantie-item:nth-child(1) {
  animation-delay: 0.1s;
}
.garantie-item:nth-child(2) {
  animation-delay: 0.15s;
}
.garantie-item:nth-child(3) {
  animation-delay: 0.2s;
}
.garantie-item:nth-child(4) {
  animation-delay: 0.25s;
}
.garantie-item:nth-child(5) {
  animation-delay: 0.3s;
}

/* Signature image animation */
.signature-image {
  animation: fadeInUp 1s ease-out forwards;
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ccmi-hero .page-title-main,
  .ccmi-intro .intro-separator-green,
  .ccmi-intro .intro-text,
  .ccmi-title.vert,
  .ccmi-title.bleu,
  .ccmi-cta .cta-title,
  .ccmi-cta .dt-btn,
  .intervenant-item,
  .garantie-item,
  .signature-image,
  .animate-fade-up,
  .animate-fade-left,
  .animate-fade-right,
  .animate-scale,
  .animate-slide-down {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== PAGE RE2020 ===== */
.re2020-hero {
  background: url("https://sami-constructions.com/fichiers/RE2020-1.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.re2020-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.re2020-hero .hero-title-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

/* Section Intro RE2020 */
.re2020-intro {
  padding: 30px 0 40px;
  background-color: white;
  text-align: center;
}

.re2020-intro .intro-text {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Sections RE2020 */
.re2020-section {
  padding: 25px 0;
}

.re2020-content-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.re2020-content-row.reverse {
  flex-direction: row-reverse;
}

.re2020-content-text {
  flex: 1;
  max-width: 85%;
}

.re2020-content-decoration {
  width: 15%;
  min-height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.re2020-content-decoration.green-lines {
  background-image: url("https://sami-constructions.com/fichiers/green-lines.svg");
}

.re2020-content-decoration.blue-lines {
  background-image: url("https://sami-constructions.com/fichiers/blue-lines.svg");
}

/* RE2020 Titles */
.re2020-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.re2020-title.vert {
  color: #92c94a;
}

.re2020-title.vert strong {
  color: #004e66;
}

.re2020-title.bleu {
  color: #004e66;
}

.re2020-section-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 45px;
  line-height: 53px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 1.2px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
}

/* Timeline Section */
.re2020-timeline-section {
  padding: 20px 0 30px;
}

/* Frise Logos */
.frise-logos {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 50px;
  margin-bottom: 10px;
}

.frise-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.frise-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 10px;
}

.frise-logo.re2020-logo {
  max-height: 50px;
}

.frise-badge {
  position: relative;
  padding: 8px 15px;
  border-radius: 5px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-align: center;
  min-width: 60px;
}

.frise-badge::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
}

.frise-badge.green {
  background-color: #92c94a;
}

.frise-badge.green::after {
  border-color: #92c94a transparent transparent transparent;
}

.frise-badge.orange {
  background-color: #e67e22;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.frise-badge.orange::after {
  border-color: #e67e22 transparent transparent transparent;
}

.frise-badge.orange span {
  font-size: 20px;
}

.frise-badge.orange small {
  font-size: 10px;
  line-height: 1.2;
  text-align: left;
  font-weight: 600;
}

.timeline-image {
  max-width: 100%;
  margin-bottom: 15px;
}

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

.timeline-note {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #92c94a;
  padding: 0 15px;
  text-align: left;
}

/* Separator line */
.separator-line {
  width: 50%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 25px auto;
}

/* Text utilities */
.txt-justify {
  text-align: justify !important;
}

.txt-center {
  text-align: center !important;
}

/* RE2020 Badge wrapper */
.re2020-badge-wrapper {
  text-align: right;
  margin-top: 30px;
  padding-right: 50px;
}

.grenelle-badge {
  max-width: 180px;
  height: auto;
}

/* Exigences Grid */
.exigences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.exigence-card {
  background: #e8e8e8;
  padding: 25px 20px 30px;
  text-align: center;
  border-radius: 0;
  position: relative;
  border-top: 3px solid #92c94a;
}

.exigence-icon-wrapper {
  margin-bottom: 15px;
  text-align: center;
}

.exigence-icon {
  width: 40px;
  height: 40px;
}

.exigence-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  color: #004e66;
  margin-bottom: 15px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.exigence-text {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #333;
  text-align: left;
}

/* Moyens List */
.re2020-moyens {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.moyens-list {
  max-width: 900px;
  margin: 30px auto 0;
}

.moyen-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: white;
  border-left: 4px solid #92c94a;
}

.moyen-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.moyen-item p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  margin: 0;
}

/* CTA RE2020 */
.re2020-cta {
  background: url("https://sami-constructions.com/fichiers/contrat-de-construction.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.re2020-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.14);
}

.re2020-cta .container {
  position: relative;
  z-index: 1;
}

.re2020-cta .cta-title {
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  font-style: italic;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.re2020-cta .cta-title .highlight {
  color: #92c94a;
  text-decoration: underline;
  text-decoration-color: #92c94a;
}

/* Conclusion text */
.conclusion-text {
  margin-top: 30px;
  padding: 0 20px;
}

/* RE2020 Animations */
.re2020-hero .page-title-main {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif !important;
  animation: fadeInUp 1s ease-out forwards;
}

.re2020-title.vert {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.re2020-title.bleu {
  animation: fadeInRight 0.8s ease-out forwards;
}

.exigence-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.exigence-card:nth-child(1) {
  animation-delay: 0.1s;
}
.exigence-card:nth-child(2) {
  animation-delay: 0.2s;
}
.exigence-card:nth-child(3) {
  animation-delay: 0.3s;
}

.moyen-item {
  opacity: 0;
  animation: fadeInLeft 0.5s ease-out forwards;
}

.moyen-item:nth-child(1) {
  animation-delay: 0.1s;
}
.moyen-item:nth-child(2) {
  animation-delay: 0.2s;
}
.moyen-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Responsive RE2020 */
@media (max-width: 992px) {
  .exigences-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .re2020-content-decoration {
    display: none;
  }

  .re2020-content-text {
    max-width: 100%;
  }

  .exigence-title {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .re2020-hero {
    min-height: 200px;
    background-attachment: scroll;
  }

  .re2020-cta {
    background-attachment: scroll;
  }

  .re2020-title,
  .re2020-section-title {
    font-size: 26px;
    line-height: 32px;
  }

  .re2020-cta .cta-title {
    font-size: 18px;
    line-height: 26px;
  }

  .re2020-intro {
    padding: 20px 0 30px;
  }

  .re2020-section {
    padding: 15px 0;
  }

  .moyens-list {
    margin-top: 20px;
  }

  .moyen-item {
    padding: 12px 15px;
  }
}

/* ===== PAGE TEST ÉTANCHÉITÉ ===== */
.test-hero {
  background: url("https://sami-constructions.com/fichiers/Test-eetancheitee9857.jpeg")
    center/cover no-repeat;
  background-attachment: fixed;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.test-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.test-hero .hero-title-wrapper {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

/* Section Intro Test */
.test-intro {
  padding: 30px 0 40px;
  background-color: white;
  text-align: center;
}

.test-intro .intro-text {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Sections Test */
.test-section {
  padding: 25px 0;
}

.test-content-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.test-content-row.reverse {
  flex-direction: row-reverse;
}

.test-content-text {
  flex: 1;
  max-width: 85%;
}

.test-content-decoration {
  width: 15%;
  min-height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.test-content-decoration.green-lines {
  background-image: url("https://sami-constructions.com/fichiers/green-lines.svg");
}

.test-content-decoration.blue-lines {
  background-image: url("https://sami-constructions.com/fichiers/blue-lines.svg");
}

/* Test Titles */
.test-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

.test-title.vert {
  color: #92c94a;
}

.test-title.vert strong {
  color: #004e66;
}

/* CTA Test */
.test-cta {
  background: url("https://sami-constructions.com/fichiers/contrat-de-construction.jpg")
    center/cover no-repeat;
  background-attachment: fixed;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.test-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.14);
}

.test-cta .container {
  position: relative;
  z-index: 1;
}

.test-cta .cta-title {
  color: white;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Test Animations */
.test-hero .page-title-main {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif !important;
  animation: fadeInUp 1s ease-out forwards;
}

.test-title.vert {
  animation: fadeInLeft 0.8s ease-out forwards;
}

/* Responsive Test */
@media (max-width: 992px) {
  .test-content-decoration {
    display: none;
  }

  .test-content-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .test-hero {
    min-height: 200px;
    background-attachment: scroll;
  }

  .test-cta {
    background-attachment: scroll;
  }

  .test-title {
    font-size: 24px;
    line-height: 30px;
  }

  .test-cta .cta-title {
    font-size: 18px;
    line-height: 26px;
  }

  .test-intro {
    padding: 20px 0 30px;
  }

  .test-section {
    padding: 15px 0;
  }
}

/* ============================================
   SECTION PERFORMANCE ÉNERGÉTIQUE (DPE/GES)
   ============================================ */

.energie-section {
  margin: 40px 0;
}

.dpe-ges-row {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.vc_col-sm-6 {
  flex: 1;
  min-width: 280px;
}

.flux-perf-elec h4,
.flux-perf-gaz h4 {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #005A7D;
  margin-bottom: 15px;
  margin-top: 0;
}

.flux-diag-elec,
.flux-diag-gaz {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Lettres diagnostic */
.diagnostic-letter {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  opacity: 0.4;
}

/* Lettre active = cercle */
.diagnostic-letter.letter-actif {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 1;
  color: white;
}

/* Couleurs DPE */
.flux-diag-elec .diagnostic-letter.A {
  background: #349d55;
}

.flux-diag-elec .diagnostic-letter.B {
  background: #50b749;
}

.flux-diag-elec .diagnostic-letter.C {
  background: #9cc93f;
}

.flux-diag-elec .diagnostic-letter.D {
  background: #f3ec1b;
}

.flux-diag-elec .diagnostic-letter.E {
  background: #f7a21b;
}

.flux-diag-elec .diagnostic-letter.F {
  background: #ed6b22;
}

.flux-diag-elec .diagnostic-letter.G {
  background: #db2b2b;
}

/* Couleur texte pour D (jaune) */
.flux-diag-elec .diagnostic-letter.D.letter-actif {
  color: #333;
}

/* Couleurs GES */
.flux-diag-gaz .diagnostic-letter.color-ges-A {
  background: #d6eff5;
}

.flux-diag-gaz .diagnostic-letter.color-ges-B {
  background: #b2d9e8;
}

.flux-diag-gaz .diagnostic-letter.color-ges-C {
  background: #8ec2da;
}

.flux-diag-gaz .diagnostic-letter.color-ges-D {
  background: #5e8ca7;
}

.flux-diag-gaz .diagnostic-letter.color-ges-E {
  background: #3e5766;
}

.flux-diag-gaz .diagnostic-letter.color-ges-F {
  background: #2a3a45;
}

.flux-diag-gaz .diagnostic-letter.color-ges-G {
  background: #1a2229;
}

/* Couleurs texte pour GES (A, B, C = texte foncé) */
.flux-diag-gaz .diagnostic-letter.color-ges-A.letter-actif,
.flux-diag-gaz .diagnostic-letter.color-ges-B.letter-actif,
.flux-diag-gaz .diagnostic-letter.color-ges-C.letter-actif {
  color: #005A7D;
}

.flux-perf-gaz p {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
}

@media (max-width: 768px) {
  .dpe-ges-row {
    flex-direction: column;
    gap: 30px;
  }

  .flux-diag-elec,
  .flux-diag-gaz {
    gap: 5px;
  }

  .diagnostic-letter {
    width: 30px;
    height: 18px;
  }

  .diagnostic-letter.letter-actif {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ============================================
   PAGE ANNONCE - LAYOUT PRINCIPAL
   ============================================ */

.annonce-main-section {
  padding: 40px 0;
  background: white;
}

.annonce-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.annonce-left {
  flex: 1;
  min-width: 0;
}

.annonce-sidebar {
  width: 100%;
  max-width: 400px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

/* Contact Box dans la sidebar */
.annonce-sidebar .contact-box {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.annonce-sidebar .contact-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #92c94a;
}

.annonce-sidebar .contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.annonce-sidebar .contact-title {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #004e66;
  margin-bottom: 15px;
  text-align: center;
}

.annonce-sidebar .contact-subtitle {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}

.annonce-sidebar .contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.annonce-sidebar .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.annonce-sidebar .form-group label {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.annonce-sidebar .form-group input,
.annonce-sidebar .form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.annonce-sidebar .form-group input:focus,
.annonce-sidebar .form-group textarea:focus {
  outline: none;
  border-color: #92c94a;
}

.annonce-sidebar .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.annonce-sidebar .form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.annonce-sidebar .form-check input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.annonce-sidebar .form-check label {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.annonce-sidebar .btn-envoyer {
  background: #92c94a;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.annonce-sidebar .btn-envoyer:hover {
  background: #7ab636;
}

/* Responsive */
@media (max-width: 1024px) {
  .annonce-content-wrapper {
    flex-direction: column;
  }

  .annonce-sidebar {
    position: static;
    max-width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .annonce-main-section {
    padding: 0;
  }

  .annonce-content-wrapper {
    padding: 0;
  }
}

/* ============================================
   INFO CARDS SECTION
   ============================================ */

.info-cards-section {
  background: white;
  padding: 40px 0;
}

.info-cards-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.info-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #11394f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.info-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.info-label {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-family: "Overpass", Helvetica, Arial, Verdana, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #11394f;
}

@media (max-width: 768px) {
  .info-cards-row {
    gap: 20px;
  }

  .info-card {
    min-width: 150px;
  }

  .info-icon {
    width: 60px;
    height: 60px;
    padding: 15px;
  }

  .info-icon img {
    width: 30px;
    height: 30px;
  }

  .info-label {
    font-size: 14px;
  }

  .info-value {
    font-size: 18px;
  }
}
