/********** Template CSS **********/
:root {
  --primary: #409089;
  --secondary: #0b2154;
  --light: #f2f2f2;
  --dark: #111111;
  --teal: #409089;
  --orange: #f97d45;
  --ink: #19333a;
  --soft: #eef7f5;
  --brand-tint: color-mix(in srgb, var(--brand) 15%, white);
}
body {
  background: var(--brand-tint);
  color: #0b2c2a;
  /* dark text for contrast */
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}
.propos-card {
  background-color: white !important;
  border-radius: 10px !important;
}

.carousel-item .img-slider {
  height: 700px;
  /* Fixed height */
  object-fit: cover;
  /* Crop image to fit without distortion */
  width: 100%;
  /* Full width */
}

.text-orange {
  color: #f97d45;
}

.img-icon {
  width: 110px;
  border-radius: 6px;
  /* height: 100px; */
}

.card-glass {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.card-offre {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: auto;
}

.text-color-primary {
  color: var(--primary);
}

.icons {
  font-size: 60px;
  margin-bottom: 16px;
  color: var(--primary);
}

.btn-whatsApp {
  background-color: #28d366;
  border-color: #28d366;
  color: white;
  font-size: 18px;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.img-logo {
  width: 180px;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

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

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

@media (min-width: 1200px) {
  .card-glass {
    height: 226px;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(0, 0, 0, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}

/*** Facts ***/
.fact {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/impact-pare-brise.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*** Service ***/
.service .nav .nav-link {
  background: var(--light);
  transition: 0.5s;
}

.service .nav .nav-link.active {
  background: var(--primary);
}

.service .nav .nav-link.active h4 {
  color: #ffffff !important;
}

.service .nav .nav-link.active h5 {
  color: #ffffff !important;
}

/*** Booking ***/
.booking {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/image-bg.png) center center no-repeat;
  background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Team ***/
.team-item .team-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  transform: scale(0);
  transition: 0.5s;
}

.team-item:hover .team-overlay {
  transform: scale(1);
}

.team-item .team-overlay .btn {
  color: var(--primary);
  background: #ffffff;
}

.team-item .team-overlay .btn:hover {
  color: #ffffff;
  background: var(--secondary);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #cccccc;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url(../img/impact-pare-brise.png) center center no-repeat;
  background-size: cover;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.slide-container {
  width: 100%;
  padding: 40px 0;
}

.slide-content {
  /* margin: 0 40px; */
  overflow: hidden;
  /* border-radius: 25px; */
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease-in-out;
}

/* Gradient overlay (hidden by default) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

/* Text overlay */
.card-content {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  color: white;
  text-align: center;
  z-index: 2;
}

.card-content .category {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-content .title {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-content .title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hover effect */
.card:hover img {
  transform: scale(1.15);
}

.card:hover::before {
  opacity: 1;
}

.image-content,
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}

.image-content {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #4070f4;
  border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #4070f4;
}

.overlay::after {
  border-radius: 0 25px 0 0;
  background-color: #fff;
}

.card-image {
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.card-image .card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4070f4;
}

.name {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.description {
  font-size: 14px;
  color: #707070;
  text-align: center;
}

.button {
  border: none;
  font-size: 16px;
  color: #fff;
  padding: 8px 16px;
  background-color: #4070f4;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background: #265df2;
}

.swiper-navBtn {
  color: #6e93f7;
  transition: color 0.3s ease;
}

.swiper-navBtn:hover {
  color: #4070f4;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 38px;
}

.swiper-button-next {
  right: 0;
}

.swiper-button-prev {
  left: 0;
}

.swiper-pagination-bullet {
  background-color: #6e93f7;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #4070f4;
}

@media screen and (max-width: 768px) {
  .slide-content {
    margin: 0 10px;
  }

  .swiper-navBtn {
    display: none;
  }
}

/* --- Whst-App-Wrapper --- */
:root {
  --wa-green: #25d366;
  --wa-header: #25d366;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.wa-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
}

/* Floating Button */
.wa-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease;
  animation: floaty 3s ease-in-out infinite, glowPulse 2.8s ease-in-out infinite;
}

.wa-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.wa-btn i {
  font-size: 34px;
  color: #fff;
  z-index: 1;
}

.wa-btn::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(120deg,
      transparent 40%,
      rgba(255, 255, 255, 0.28) 50%,
      transparent 60%);
  transform: translateX(-120%) rotate(12deg);
  animation: sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* ✅ Ping ring WITHOUT :has() — when toggle is NOT checked */
#wa-toggle:not(:checked)+.wa-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: ping 2.2s ease-out infinite;
}

/* Panel */
.wa-panel {
  position: absolute;
  right: 0;
  bottom: 92px;
  width: 380px;
  max-width: calc(100vw - 56px);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease,
    visibility 0s linear 0.25s;
  will-change: transform, opacity;
}

#wa-toggle:checked~.wa-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-header {
  background: var(--wa-header);
  color: #fff;
  padding: 18px 18px 14px;
  position: relative;
}

.wa-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.wa-header small {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  opacity: 0.95;
}

.wa-header::after {
  content: "";
  position: absolute;
  left: -40%;
  right: -40%;
  top: -140%;
  bottom: -140%;
  background: radial-gradient(60% 60% at 30% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 70%);
  transform: rotate(8deg);
  pointer-events: none;
}

.wa-divider {
  height: 1px;
  background: #e7f3ea;
  opacity: 0.75;
}

.wa-body {
  padding: 14px;
  background: #fff;
}

.wa-note {
  color: #7a7a7a;
  font-size: 14px;
  margin: 8px 2px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
}

.typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9b9b9;
  opacity: 0.25;
  animation: blink 1.2s infinite;
}

.typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

.wa-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 14px;
  background: #eff4f1;
  border: 1px solid #eff4f1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
}

#wa-toggle:checked~.wa-panel .wa-card {
  animation: fadeInUp 0.4s ease 0.06s forwards;
}

.wa-card:hover {
  background-color: #f3f7f5;
}

.wa-card::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--wa-green);
}

.wa-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-btn-card {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.wa-btn-card i {
  font-size: 30px;
  color: #fff;
}

.wa-btn-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.18),
      transparent 60%);
  transform: scale(0);
  opacity: 0;
}

.wa-card:hover .wa-btn-card::after {
  animation: pulseIn 0.6s ease forwards;
}

.wa-meta .title {
  font-weight: 700;
}

.wa-meta .sub {
  font-size: 12px;
  color: #7a7a7a;
  margin-top: 2px;
}

.wa-right {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6f4ea;
  display: grid;
  place-items: center;
}

.wa-right svg {
  width: 16px;
  height: 16px;
  fill: #25d366;
}

/* Close button */
.wa-close {
  position: absolute;
  right: 84px;
  bottom: 10px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform-origin: center;
  animation: floaty 3.2s ease-in-out -1.2s infinite;
}

#wa-toggle:checked~.wa-close {
  display: flex;
}

.wa-close:hover {
  transform: rotate(-6deg) scale(1.03);
}

/* ripple + confetti minimal */
.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  animation: ripple 0.6s ease-out forwards;
}

.confetti {
  position: fixed;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10000;
}

/* --- Keyframes (minimal) --- */
@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }

  50% {
    box-shadow: 0 0 22px 0 rgba(37, 211, 102, 0.35);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-120%) rotate(12deg);
  }

  60% {
    transform: translateX(120%) rotate(12deg);
  }

  100% {
    transform: translateX(120%) rotate(12deg);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@keyframes pop {
  from {
    transform: scale(0.94);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes pulseIn {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ripple {
  from {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(10);
  }
}

/*End Whst-App-Wrapper */

/* Le vitrage automobile propos page */
/* Section */
.section-title {
  font-weight: 700;
  color: #111827;
  /* near-black for contrast */
}

.section-subtitle {
  color: #6b7280;
  /* muted gray */
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Card base: white, soft border, subtle shadow */
.card-box {
  background: #ffffff;
  color: #111827;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid #eef1f6;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: cardEnter 0.8s forwards cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* Decorative top accent (thin gradient line) */
.card-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background: linear-gradient(90deg, #409089, #f97d45, #6b6359);
  opacity: 0.9;
}

/* Icon */
.icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  background: #f3f6fb;
  /* light */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #409089;
  /* soft primary */
  box-shadow: inset 0 0 0 2px #e6ebf4;
}

/* Headings & text */
.card-box h5 {
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-box p {
  font-size: 0.95rem;
  margin: 0;
  color: #4b5563;
}

/* Hover: gentle lift + brighter shadow + accent border */
.card-box:hover {
  transform: translateY(-6px) scale(1);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
  border-color: #e2e8f0;
}

/* Simple “pulse ring” on icon when hovering card */
.card-box:hover .icon-circle {
  box-shadow: inset 0 0 0 2px #e6ebf4, 0 0 0 6px rgba(59, 130, 246, 0.08);
}

/* Entrance animation */
@keyframes cardEnter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Staggered delays for columns (works with your Bootstrap grid) */
.row.g-4>.col-md-4:nth-child(1) .card-box {
  animation-delay: 0.15s;
}

.row.g-4>.col-md-4:nth-child(2) .card-box {
  animation-delay: 0.3s;
}

.row.g-4>.col-md-4:nth-child(3) .card-box {
  animation-delay: 0.45s;
}

/* End Le vitrage automobile propos page */

.offre-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 16px;
  position: relative;
  isolation: isolate;
}

/* Floating soft orbs in the back (very light, keeps it clean) */
.offre-wrap::before,
.offre-wrap::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  filter: blur(40px);
  opacity: .25;
  background: radial-gradient(180px 140px at center, var(--teal), transparent 70%);
  animation: floatY 14s ease-in-out infinite;
  transform: translateY(0);
}

.offre-wrap::before {
  width: 260px;
  height: 180px;
  left: -40px;
  top: -30px;
  animation-delay: -2s;
}

.offre-wrap::after {
  width: 240px;
  height: 160px;
  right: -20px;
  bottom: -20px;
  animation-delay: 4s;
}

.offre-title {
  font-weight: 800;
  letter-spacing: .06em;
  margin: 0 0 22px;
  text-align: center;
  color: var(--teal);
  position: relative;
  font-size: clamp(20px, 2.8vw, 34px);
  animation: dropIn .7s ease both;
}

/* playful animated underline */
.offre-title::after {
  content: "";
  display: block;
  height: 6px;
  width: 160px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}

/* strip layout */
.offre-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}

.offre-card {
  grid-column: span 4;
  min-height: 86px;
  border-radius: 18px;
  position: relative;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 16px;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
  /* animated border using mask */
  --b: 2px;
  border: var(--b) solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--ang), var(--teal), transparent 40%, var(--teal)) border-box;
  animation: spinBorder 8s linear infinite, breathe 6s ease-in-out infinite;
}

/* staggered entrance */
.offre-card:nth-child(1) {
  animation-delay: .1s, .0s
}

.offre-card:nth-child(2) {
  animation-delay: .2s, .3s
}

.offre-card:nth-child(3) {
  animation-delay: .3s, .6s
}

.offre-card h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(16px, 1.7vw, 20px);
}

/* the orange accent only where it must attract */
.offre-card .pop {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

/* subtle pulse halo for the numbers/keywords */
.offre-card .pop::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  pointer-events: none;
  box-shadow: 0 0 0 0 var(--orange);
  opacity: .55;
  animation: pulse 1.8s ease-out infinite;
}

/* magnetic tilt + sweep shine on hover */
.offre-card::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: -120% 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .7) 55%, transparent 70%);
  pointer-events: none;
  transition: translate .7s ease;
}

.offre-card:hover::after {
  translate: 120% 0
}

.offre-card:hover {
  transform: perspective(700px) rotateX(4deg) rotateY(-4deg) translateY(-4px)
}

.offre-card:hover h5 {
  letter-spacing: .2px
}

/* responsive */
@media (max-width:992px) {
  .offre-card {
    grid-column: span 6
  }
}

@media (max-width:600px) {
  .offre-card {
    grid-column: span 12
  }
}

/* keyframes */
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes shimmer {
  to {
    background-position: 200% 0
  }
}

@keyframes spinBorder {
  to {
    --ang: 360deg
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: translateZ(0)
  }

  50% {
    transform: translateZ(6px)
  }
}

@keyframes floatY {
  50% {
    transform: translateY(-14px)
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 125, 69, .55)
  }

  70% {
    box-shadow: 0 0 0 14px rgba(249, 125, 69, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 125, 69, 0)
  }
}

/* Card shells */
.service-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
  position: relative;
  overflow: hidden;
  transform: translateY(14px);
  opacity: 0;
  animation: riseIn .7s .05s forwards cubic-bezier(.2, .7, .3, 1);
}

.service-card::before {
  /* thin gradient top accent */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #409089, #f97d45, #6b6359);
}

/* Icons */
.service-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #f3f6fb;
  color: var(--primary);
  font-size: 1.25rem;
}

.impact-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #eef6ff;
  color: #2563eb;
  font-size: 1rem;
}

/* Sub-card for impact */
.impact-card {
  background: #f9fbff;
  border: 1px solid #e7eefb;
  border-radius: 14px;
}

/* Accordion */
.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: #111827;
  background: #eef6ff;
}

.accordion-item {
  border: 1px solid #e7eefb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: .75rem;
}

/* Lists */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0 0 .5rem 0;
}

.checklist li {
  margin: .35rem 0;
}

.checklist i {
  color: #10b981;
  margin-right: .5rem;
}

.steps-list {
  margin: 0;
  padding-left: 1.2rem;
}

.steps-list li {
  margin: .35rem 0;
}

/* Badges (soft) */
.bg-soft-orange {
  background: #fde9e2;
  /* light tint of #f97d45 */
  /* text/icons match brand orange */
}

.bg-soft-success {
  background: #eafaf3;
}

.bg-soft-info {
  background: #eef8ff;
}

.text-primary {
  color: #409089 !important;
}

.text-success {
  color: #059669 !important;
}

.text-info {
  color: #0472c6 !important;
}

/* Hover */
.service-card:hover {
  transform: translateY(0);
  box-shadow: 0 18px 36px rgba(17, 24, 39, .10);
}

/* Entrance animation */
@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-simple {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
}

.impact-simple .title {
  font-weight: 600;
  margin-bottom: .75rem;
  color: #111827;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
}

.checklist li {
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #374151;
}

.checklist i {
  color: #10b981;
}

.note {
  font-size: .9rem;
  color: #6b7280;
  margin: 0;
}

.steps-list {
  padding-left: 1.2rem;
  margin: 0;
}

.steps-list li {
  margin-bottom: .5rem;
  color: #374151;
}

.steps-list strong {
  color: #111827;
}

.impact-simple {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 16px rgba(17, 24, 39, .05);
}

.steps-list {
  padding-left: 1.2rem;
  margin: 0;
}

.steps-list li {
  margin-bottom: .5rem;
  color: #374151;
}

.steps-list strong {
  color: #111827;
}

/* Page Contact */
.smart-text {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: #222;
  display: inline-flex;
  align-items: baseline;
}

.word {
  font-weight: 700;
  position: relative;
}

.caret {
  width: 2px;
  height: 1.2em;
  margin-left: 4px;
  background: currentColor;
  animation: blink .9s steps(1, end) infinite;
  align-self: center;
}

@keyframes blink {

  0%,
  60% {
    opacity: 1;
  }

  61%,
  100% {
    opacity: 0;
  }
}

.green {
  color: #409089;
}

.red {
  color: #F97D45;
}


/* Contact */
:root {
  --brand: #409089;
  --brand-dark: #2f6c67;

}






.contact-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
  background: #fff;
  position: relative;
}

.contact-info {
  color: #fff;
  background: linear-gradient(160deg, var(--brand) 0%, #67b0a9 100%);
  position: relative;
}

.text-brand {
  color: var(--brand);
}

/* Notch between columns (desktop) */
.notch {
  width: 28px;
  flex: 0 0 28px;
  background: #fff;
  position: relative;
}

.notch::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 48px;
  width: 28px;
  height: 28px;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  animation: notchPulse 2.6s ease-in-out infinite;
}

@keyframes notchPulse {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-3px);
  }
}

/* Inputs with icons */
.icon-input {
  position: relative;
}

.icon-input>i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .55;
  transition: .25s;
}

.icon-input textarea+i {
  top: 18px;
  transform: none;
}

.icon-input .form-control {
  padding: 12px 14px 12px 40px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}

.icon-input .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(64, 144, 137, .12);
}

.icon-input:has(.form-control:focus)>i {
  color: var(--brand);
  opacity: 1;
}

/* Social buttons */
.social {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  text-decoration: none;
  transition: .25s;
}

.social:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-2px);
}

/* Button + ripple */
.btn-contact {
  background: var(--brand, #409089);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border: none;
  border-radius: 12px;
}

.btn-contact:hover {
  filter: saturate(1.15);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .6);
  opacity: .8;
  animation: ripple .6s ease-out forwards;
}

@keyframes ripple {
  to {
    transform: scale(10);
    opacity: 0;
  }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .notch::before,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
  }
}