/* section{
  margin-top: 30px;
  margin-bottom: 30px;
} */
.carousel-inner{
  height: 700px;
}
sup{
  color: coral;
  font-size: 13px;
}
.grid-poly-item:after {
    background: rgb(195 241 159 / 80%);
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -webkit-clip-path: polygon(calc(15% - 1px) 0, calc(85% + 1px) 0, calc(100% - 1px) 50%, calc(85% + 1px) 100%, calc(15% - 1px) 100%, 1px 50%);
   clip-path: polygon(15% 0, 100% 0, 100% 100%, 100% 100%, 0% 100%, 0% 50%);
}

.agence .agence-cocody{
  /* background-attachment: fixed; */
    background-image: url(../../images/location.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    padding: 10px;
}



/* Styles page accueil */
.reassurance-page {
  position: relative;
}
.reassurance-hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, rgba(15, 30, 57, 0.88), rgba(11, 23, 44, 0.96)), url(../../images/gestion-sous-mandat.jpg) center/cover no-repeat;
  color: #ffffff;
}
.reassurance-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 29, 0.35);
  pointer-events: none;
}
.reassurance-hero .container {
  position: relative;
  z-index: 1;
}
.reassurance-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2a44;
  padding: 32px;
  border-radius: 1rem;
  box-shadow: 0 26px 50px rgba(12, 30, 80, 0.12);
}
.reassurance-card.accent-card {
  border: 1px solid rgba(45, 204, 115, 0.22);
}
.reassurance-eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #20c997;
  margin-bottom: 1rem;
}
.reassurance-card h2,
.reassurance-card h3 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.reassurance-card p {
  line-height: 1.75;
  color: #3a475d;
}
.reassurance-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.reassurance-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: #f5f9f6;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #1f2a44;
  box-shadow: 0 14px 32px rgba(32, 201, 151, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.reassurance-tag:hover {
  transform: translateY(-3px) scale(1.05);
  background: #e8f5f0;
  box-shadow: 0 20px 40px rgba(32, 201, 151, 0.16);
  color: #0f766e;
}
.reassurance-services {
  background: linear-gradient(180deg, #f8fcfb 0%, #eef7f4 100%);
}
.section-intro {
  text-align: center;
}
.section-label {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #d9f5e8;
  color: #0f5132;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.section-intro .section-title {
  margin-bottom: 1rem;
}
.section-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #4f5d72;
  line-height: 1.9;
}
.service-grid-alt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.service-card-alt {
  position: relative;
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.4rem;
  border: 1px solid #20c997;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.service-card-alt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #20c997 0%, #159e7f 100%);
}
.service-card-alt:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
  border-color: rgba(32, 201, 151, 0.24);
}
.service-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.service-card-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #d9f5e8;
  color: #0f5132;
  font-weight: 700;
}
.service-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #20c997 0%, #159e7f 100%);
  color: #ffffff;
  font-size: 1.2rem;
}
.service-card-alt h5 {
  margin-bottom: 1rem;
  font-size: 1.18rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.service-card-alt p {
  color: #5e6b7f;
  line-height: 1.85;
}
@media (max-width: 991px) {
  .reassurance-tags {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .reassurance-hero {
    padding-top: 50px;
  }
  .reassurance-card {
    padding: 24px;
  }
}

.oval {
  width: 100%;
  height: 400px;
  border-radius: 30%;
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.oval img {
  width: 110%;
  height: auto;
  position: absolute;
  /* left: -5%;
  top: -5%; */
  object-fit: cover;
}

#owl-demo .item {
  margin: 3px;
}

#owl-demo .item img {
  display: block;
  width: 100%;
  height: auto;
}

.home-section-separator {
  margin: 20px 0 50px;
  position: relative;
}

.home-section-separator hr {
  position: absolute;
  width: 100%;
  border-color: #a2acb9;
  margin: 0;
  top: 50%;
}

.home-section-separator .buttons-plus-produit {
  position: relative;
  /* background: #20c997;
  padding: 10px 24px; */
  z-index: 1;
  /* color: #fff;
  border-color: #20c997;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(32, 201, 151, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease; */
}
/* 
.home-section-separator .buttons-plus-produit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(32, 201, 151, 0.25);
  color: #171717;
} */

/* Conteneur produit */


/* Animations d'entrée pour les sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation pour chaque section */
.section-intro {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease-out;
}

.section-risques {
  margin-bottom: 50px;
  animation: slideInLeft 1s ease-out 0.3s both;
}

.produit {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.engagement {
  animation: slideInRight 1s ease-out 0.9s both;
}

.section-message {
  animation: fadeInUp 1s ease-out 1.2s both;
}

.section-actualites {
  background: transparent;
  height: auto;
  color: #222;
  text-align: center;
  animation: slideInLeft 1s ease-out 1.5s both;
}

.risques-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.risque-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  color: #1f2a44;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.risque-card:nth-child(1) { animation-delay: 0.8s; }
.risque-card:nth-child(2) { animation-delay: 1s; }
.risque-card:nth-child(3) { animation-delay: 1.2s; }

.risque-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  color: #2DCA73;
  background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
}

.risque-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B69FF 0%, #1565C0 100%);
  color: #ffffff;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.risque-card:hover .risque-icon {
  transform: scale(1.1);
}

.risque-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

/* Menu actif (highlight) */
.navbar-nav .nav-item.active > .dropdown > .h-drop,
.navbar-nav .h-drop.active {
  color: #ffffff;
  background-color: #a3c456; /* couleur accent utilisée ailleurs */
  border-radius: 0.5rem;
  padding-left: 10px;
  padding-right: 10px;
  box-shadow: 0 8px 20px rgba(32, 201, 151, 0.16);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.navbar-nav .nav-item > .dropdown > .h-drop:hover,
.navbar-nav .h-drop:hover {
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .risques-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .carousel-inner{
  height: 100%;
   }
}

@media (max-width: 576px) {
  .risques-links {
    grid-template-columns: 1fr;
  }
}

.engagement-title h2 {
  animation: slideInLeft 0.8s ease-out 1.2s both;
}

.engagement-content .item-engagement {
  animation: fadeInUp 0.8s ease-out 1.4s both;
}

.engagement-content .item-engagement:nth-child(1) { animation-delay: 1.4s; }
.engagement-content .item-engagement:nth-child(2) { animation-delay: 1.6s; }
.engagement-content .item-engagement:nth-child(3) { animation-delay: 1.8s; }

.text-olive {
  color: #556530;
}

.engagement-cta {
  margin-bottom: 10px;
}

.section-message {
  margin: 40px 0;
}

.message-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.message-highlight {
  border-left: 4px solid #a8f951;
  padding-left: 18px;
}

.message-title {
  color: #1f2a44;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

.message-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  animation: slideInLeft 0.8s ease-out 1.7s both;
}

.message-paragraph {
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.message-quote {
  color: #3f4a64;
  font-size: 16px;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 0;
}

.message-photo {
  height: 360px;
  border-radius: 26px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: slideInRight 0.8s ease-out 1.9s both;
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .message-row {
    flex-direction: column;
    align-items: stretch;
  }

  .message-photo {
    margin-top: 20px;
    height: 320px;
  }
}

.section-actualites {
  background: transparent;
  height: auto;
  /* margin: 20px 0; */
  /* padding: 40px 0 50px; */
  color: #222;
  text-align: center;
}

.section-actualites-title {
  color: #2DCA73;
  /* margin-bottom: 26px; */
  display: inline-block;
  padding-bottom: 6px;
  /* border-bottom: 3px solid #ff6a00; */
  animation: fadeInUp 0.8s ease-out 1.8s both;
}

.section-actualites-icon {
  color: #2DCA73;
  font-size: 20px;
}

.actualite-card {
  display: flex;
  flex-direction: row;
  padding: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #1b1b1b;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 2s both;
}

.actualite-card:nth-child(1) { animation-delay: 2s; }
.actualite-card:nth-child(2) { animation-delay: 2.2s; }
.actualite-card:nth-child(3) { animation-delay: 2.4s; }
.actualite-card:nth-child(4) { animation-delay: 2.6s; }

.actualite-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(45, 202, 115, 0.25);
  background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
  border-color: rgba(45, 202, 115, 0.3);
}

.actualite-media {
  width: 35%;
  min-width: 180px;
  max-width: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.actualite-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 202, 115, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.actualite-card:hover .actualite-media::before {
  opacity: 1;
}

.actualite-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.actualite-card:hover .actualite-media img {
  transform: scale(1.1);
}

.actualite-body {
  width: 65%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.actualite-link {
  text-align: left;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.actualite-link h6 {
  color: #6d6d6d;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.actualite-link h6::before {
  content: '';
  width: 4px;
  height: 12px;
  background: linear-gradient(135deg, #2DCA73 0%, #22C55E 100%);
  border-radius: 2px;
  margin-right: 8px;
}

.actualite-link p {
  color: #2b2b2b;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.actualite-link p:last-child {
  color: #2DCA73;
  font-weight: 700;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  border: 2px solid rgba(45, 202, 115, 0.2);
  background: linear-gradient(135deg, rgba(240, 249, 240, 0.8) 0%, rgba(232, 245, 232, 0.6) 100%);
  transition: all 0.3s ease;
  align-self: flex-start;
  font-size: 14px;
}

.actualite-link p:last-child:hover {
  background: linear-gradient(135deg, #2DCA73 0%, #22C55E 100%);
  color: #ffffff;
  border-color: #2DCA73;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 202, 115, 0.3);
}

.actualite-link p:last-child::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.3s ease;
}

.actualite-link p:last-child:hover::after {
  transform: translateX(4px);
}

.carousel-inner .carousel-item .carousel-caption{
  /* background: rgba(255, 255, 255, 0.8); */
  background: rgb(195 241 159 / 80%);;
  padding: 15px;
  margin: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.carousel-item h2{
  line-height: 1.2;
  letter-spacing: 0.2px;
  font-weight: 700;
  color: rgb(52, 52, 52) !important;
}
.carousel-item p{
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  color: rgb(52, 52, 52) !important;
}



@media (max-width: 768px) {
  .actualite-card {
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out;
  }

  .actualite-media,
  .actualite-body {
    width: 100%;
    max-width: 100%;
  }

  .actualite-media {
    min-width: 100%;
    height: 160px;
  }
}

/* Animation d'entrée pour les cartes d'actualités */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation stagger pour les cartes */
.actualite-card:nth-child(1) { animation-delay: 0.1s; }
.actualite-card:nth-child(2) { animation-delay: 0.2s; }
.actualite-card:nth-child(3) { animation-delay: 0.3s; }
.actualite-card:nth-child(4) { animation-delay: 0.4s; }

/* ========== ZONE D'INFORMATION CONTACT ========== */
.contact-info-section {
  position: relative;
  padding: 80px 0;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 60px;
}

.contact-info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1e39 0%, #0b172c 50%, #1a3a52 100%);
  z-index: 1;
}

.contact-info-overlay {
  position: absolute;
  inset: 0;
  background: url('../../images/contact-bg.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.contact-info-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 30, 57, 0.85) 0%, rgba(15, 30, 57, 0.6) 50%, rgba(26, 58, 82, 0.75) 100%);
}

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

.contact-info-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: slideInLeft 0.8s ease-out;
}

.contact-info-subtitle {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #7dd3fc;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.contact-info-text {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.contact-info-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.contact-icon {
  width: 250px;
  height: 250px;
  color: rgba(124, 211, 252, 0.8);
  filter: drop-shadow(0 20px 40px rgba(124, 211, 252, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-20px) rotateX(5deg);
  }
}

@media (max-width: 991px) {
  .contact-info-section {
    padding: 60px 0;
    text-align: center;
  }

  .contact-info-visual {
    margin-top: 40px;
  }

  .contact-icon {
    width: 200px;
    height: 200px;
  }

  .contact-info-text {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .contact-info-section {
    padding: 40px 0;
  }

  .contact-info-title {
    font-size: 1.8rem;
  }

  .contact-info-subtitle {
    font-size: 1.2rem;
  }

  .contact-icon {
    width: 150px;
    height: 150px;
  }
}


