/* ========== BONNES PRATIQUE  ============ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


/* =========== VARIABLES ================ */

:root {
  --bleu-marine: #0f2748;
  --bleu-fonce: #0e2a4d;
  --bleu-moyen: #153d6f;
}

#apropos,
#creations,
#promos {
  scroll-margin-top: 120px;
}

/* ========== HEADER ========== */

.site-header__logo-circle {
  background: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  padding: 4px;
  border: 2px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.site-header__logo-circle:hover {
  animation: tourner 2s linear infinite;
}


.site-header__logo-circle img {
  width: 120px;
  height: 70px;
  object-fit: contain;
  filter: invert(1) brightness(0);
}

.site-header__nav-link {
  position: relative;
  font-size: 1rem;
}

.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d6efd;
  transition: width 0.3s;
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus::after,
.site-header__nav-link:active::after{
  width: 100%;
}

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

.site-header__burger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.site-header__burger-line {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.site-header__burger.is-active .site-header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.site-header__burger.is-active .site-header__burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.site-header__burger.is-active .site-header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 767px) {
  .site-header__burger {
    display: flex;
  }
  
  .site-header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
    padding: 100px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .site-header__nav.is-open {
    right: 0;
  }
  
  .site-header__nav .nav {
    flex-direction: column;
    gap: 0 !important;
  }
  
  .site-header__nav .nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  
  .site-header__nav .nav-link {
    padding: 18px 0;
    display: block;
    font-size: 1.1rem;
  }

  .site-header__nav-link:active::after {
    width: 100%;
    transition: width 0s !important;
  }

  .site-header__logo-circle:active {
    animation: tourner 2s linear infinite;
  }

  .site-header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .site-header__overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 768px) {
  .site-header__nav {
    display: block !important;
  }
  
  .site-header__burger {
    display: none !important;
  }
}

/* ======= SECTION HERO PAGE INDEX========== */

.hero {
  background: url("../img/fond-bleu-degrade.png") center/cover,
  linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
  min-height: 600px; 
  padding: 120px 0 100px 0;

}

.hero__cta,
.creation-card__cta,
.promo-card__cta {
  position: relative;
  display: inline-block;
  background: white;
  border: 4px solid white;
  padding: 22px 26px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.hero__cta::before,
.creation-card__cta::before,
.promo-card__cta::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--bleu-marine);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.hero__cta:hover::before,
.creation-card__cta:hover::before,
.promo-card__cta:hover::before {
  opacity: 1;
}

.hero__cta-btn,
.creation-card__cta-btn,
.promo-card__cta-btn {
  position: relative;
  z-index: 2;
  display: block;
  background: black;
  color: white;
  padding: 16px 36px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s;
}

.hero__cta-btn:hover,
.creation-card__cta-btn:hover,
.promo-card__cta-btn:hover {
  color: white;
}

.hero__cta-corner,
.creation-card__cta-corner,
.promo-card__cta-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.hero__cta-corner::before,
.creation-card__cta-corner::before,
.promo-card__cta-corner::before {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  height: 5px;
  width: 52px;
}

.hero__cta-corner::after,
.creation-card__cta-corner::after,
.promo-card__cta-corner::after {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  width: 5px;
  height: 52px;
}

.hero__cta-corner--tr,
.creation-card__cta-corner--tr,
.promo-card__cta-corner--tr {
  top: 8px;
  right: 8px;
}

.hero__cta-corner--tr::before,
.creation-card__cta-corner--tr::before,
.promo-card__cta-corner--tr::before {
  top: 0;
  right: 0;
}

.hero__cta-corner--tr::after,
.creation-card__cta-corner--tr::after,
.promo-card__cta-corner--tr::after {
  top: 0;
  right: 0;
}

.hero__cta-corner--bl,
.creation-card__cta-corner--bl,
.promo-card__cta-corner--bl {
  bottom: 8px;
  left: 8px;
}

.hero__cta-corner--bl::before,
.creation-card__cta-corner--bl::before,
.promo-card__cta-corner--bl::before {
  bottom: 0;
  left: 0;
}

.hero__cta-corner--bl::after,
.creation-card__cta-corner--bl::after,
.promo-card__cta-corner--bl::after {
  bottom: 0;
  left: 0;
}

/* ======== SÉPARATEURS ================ */

.separator__line {
  flex: 1;
  height: 2px;
  background: var(--bleu-marine);
}

.separator__badge {
  width: 52px;
  height: 52px;
  border: 3px solid var(--bleu-marine);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separator__badge img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/*========= SECTION NOS DERNIÈRES CRÉATIONS =========*/

.creation-card {
  background: linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
  overflow: hidden;
}
.creation-card .card-img-top {
  transition: transform 0.5s ease;
}

.creation-card:hover .card-img-top {
  transform: scale(1.15);
}

.creation-card:hover {
  transform: none !important;
}

#apropos .card {
  transition: all 0.3s ease;
}

#apropos .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ============= SECTION PROMOTIONS ============= */

.promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,77,0.7), rgba(21,61,111,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.promo-card:hover .promo-card__overlay {
  opacity: 1;
}

.promo-card__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s 0.2s;
}

.promo-card:hover .promo-card__cta {
  opacity: 1;
  transform: translateY(0);
}

#promoCarousel {
  margin: 0 80px;
}

.promo-card .card-body { 
  background: linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
} 

.promo-card .card-body h3 { 
  color: white; 
} 

.promo-card .card-body .card-text { 
  color: white !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background-color: #212529 !important;
  opacity: 1 !important;
}

.carousel-control-prev {
  left: -80px;
}

.carousel-control-next {
  right: -80px;
}

.carousel-control-prev,
.carousel-control-next {
  top: 190px;
  transform: translateY(-50%); 
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #0d6efd !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-prev:hover .carousel-control-next-icon,
.carousel-control-next:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

/* =============== FOOTER ===================== */

.site-footer__logo-circle {
  background: white;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  border: 2px solid black;
  box-shadow: 0 0 0 6px white, 0 0 0 14px black;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__logo-circle:hover {
  animation: tourner 2s linear infinite;
}

@keyframes tourner {
  to { transform: rotate(360deg); }
}

.site-footer__logo-circle img {
  width: 140px;
  height: 84px;
  object-fit: contain;
  filter: invert(1) brightness(0);
}

.site-footer .nav-link {
  position: relative;
  font-size: 1rem;
}

.site-footer .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d6efd;
  transition: width 0.3s;
}

.site-footer .nav-link:hover::after,
.site-footer .nav-link:focus::after,
.site-footer .nav-link:active::after {
  width: 100%;
}

.site-footer__divider {
  background: white;
  position: relative;
  padding: 8px 0;
}

.site-footer__divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: black;
  transform: translateY(-50%);
}

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

@media (max-width: 767px) {
  .site-footer .nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
  }
  
  .site-footer .nav li:nth-child(1),
  .site-footer .nav li:nth-child(2),
  .site-footer .nav li:nth-child(3),
  .site-footer .nav li:nth-child(4),
  .site-footer .nav li:nth-child(5) {
    flex-basis: 100%;
    text-align: center;
  }


.site-footer .nav-link:active::after {
    width: 100%;
    transition: width 0s !important;
 }

 .site-footer__logo-circle:active {
    animation: tourner 2s linear infinite;
 }

}

/* ========== ANIMATIONS ============== */

.js-appear {
  opacity: 0;
}

.js-appear.is-visible {
  animation: apparaitre  2s ease-out forwards;
}

@keyframes apparaitre {
  0% {
    opacity: 0;
    }
  50% {
    opacity: 0.5;
    }
  100% {
    opacity: 1;
  }
 }

/*=========== FIN PAGE INDEX =========*/

/* ====== DÉBUT PAGE FAQ =========== */

.hero-faq {
   background: url("../img/fond-bleu-degrade.png") center/cover,
              linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
}

.faq-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #c9a961, #b8935a);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  position: relative;
}

.faq-icon::before {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-top: 15px solid #b8935a;
}

.faq-icon__dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  display: block;
}

/* =========== SECTION ACCORDÉON QUESTION  =========== */

.faq-question {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  color: white;
  font-weight: 700;
  border: none;
}

.faq-question:not(.collapsed) {
  background: linear-gradient(135deg, #0a1f3a, #0f2d58);
  color: white;
}

.faq-question:hover {
  background: linear-gradient(135deg, #0a1f3a, #0f2d58);
}

.faq-question::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  border: 3px solid var(--bleu-marine);
  border-top: none;
}

/* ========= SECTION TÉMOIGNAGES =========== */

.flip-card {
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: drop-shadow(0 0 0 transparent);  
}

.flip-card:hover {
  transform: translateY(-12px);
  filter: drop-shadow(0 12px 30px rgba(36, 96, 238, 0.45));  
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease-in-out;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flip-card__front {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  color: white;
}

.flip-card__back {
  transform: rotateY(180deg);
  background: white;
}

.flip-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(36, 96, 238, 0.4);
}

.testimonial-stars {
 color:hsl(64, 100%, 51%);
 font-size: 2.2rem;
 background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
 padding: 10px 20px;
 border-radius: 8px;
 display: inline-block;
 text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
letter-spacing: 4px;
}

/*========= FIN PAGE FAQ =========*/

/*=========== DÉBUT PAGE CONTACT ===========*/


.hero {
  background: url("../img/fond-bleu-degrade.png") center/cover,
  linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
  min-height: auto;
}


/*====== SECTION FORMULAIRE ========*/

#contactForm .form-control {
  border: 2px solid var(--bleu-marine);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}
#contactForm .form-control:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(15, 39, 72, 0.1);
  outline: none;
}
.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(15, 39, 72, 0.03), rgba(21, 61, 111, 0.05));
  border: 3px solid var(--bleu-marine);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(15, 39, 72, 0.1);
  position: relative;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bleu-marine), transparent);
}

#contactForm .form-label {
  font-weight: 600;
  color: var(--bleu-marine);
  margin-bottom: 8px;
}

.contact-form__btn {
  position: relative;
  display: inline-block;
  background: white;
  border: 4px solid white;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.contact-form__btn::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--bleu-marine);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.contact-form__btn:hover::before {
  opacity: 1;
}

.contact-form__btn-inner {
  position: relative;
  z-index: 2;
  display: block;
  background: black;
  color: white;
  padding: 14px 40px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.contact-form__btn:hover .contact-form__btn-inner {
  color: white;
}

.contact-form__btn-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.contact-form__btn-corner::before {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  height: 4px;
  width: 40px;
}

.contact-form__btn-corner::after {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  width: 4px;
  height: 40px;
}

.contact-form__btn-corner--tr {
  top: 6px;
  right: 6px;
}

.contact-form__btn-corner--tr::before {
  top: 0;
  right: 0;
}

.contact-form__btn-corner--tr::after {
  top: 0;
  right: 0;
}

.contact-form__btn-corner--bl {
  bottom: 6px;
  left: 6px;
}

.contact-form__btn-corner--bl::before {
  bottom: 0;
  left: 0;
}

.contact-form__btn-corner--bl::after {
  bottom: 0;
  left: 0;
}

#contactForm .form-check-input:checked {
  background-color: var(--bleu-marine);
  border-color: var(--bleu-marine);
}

#contactForm .form-check-label {
  color: var(--bleu-marine);
  font-weight: 500;
}

#contactForm .form-check-input {
  border: 2px solid var(--bleu-marine);
  width: 1.2em;
  height: 1.2em;
}

#contactForm .form-check-input:focus {
  border-color: var(--bleu-moyen);
  box-shadow: 0 0 0 3px rgba(15, 39, 72, 0.1);
}

/*======= SECTION VIDÉO ==========*/


.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 39, 72, 0.15);
}
.video-card .card-body {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  padding: 20px;
}
.video-card .card-body h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 12px;
}
.video-card .card-body p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 20px;
}
.video-card__link {
  display: inline-block;
  background: white;
  color: var(--bleu-marine);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.video-card__link:hover {
  background: #f0f0f0;
  color: var(--bleu-marine);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.video-card__link::after {
  content: '→';
  font-size: 1.6rem;
  font-weight: bold;
  margin-left: 5px;
}

/*======= FIN PAGE CONTACT =====*/

/*=========== DÉBUT PAGE CONSTRUCTION ===========*/

.construction-hero {
 background: url("../img/fond-bleu-degrade.png") center/cover,
  linear-gradient(180deg, #0e2a4d, #153d6f);
  min-height: 500px;
  color: white;
}
.construction-hero * {
  color: white !important;
}

.construction-services__card {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid rgba(13, 110, 253, 0.3);
  box-shadow: 
    0 0 10px rgba(13, 110, 253, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(13, 110, 253, 0.05);
}

.construction-services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(13, 110, 253, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.construction-services__card:hover::before {
  opacity: 1;
}

.construction-services__card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 20px rgba(13, 110, 253, 0.6),
    0 0 40px rgba(13, 110, 253, 0.4),
    0 12px 30px rgba(13, 110, 253, 0.3),
    inset 0 0 30px rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.8);
}

.construction-services__card > * {
  position: relative;
  z-index: 1;
}

.construction-services__icon {
  font-size: 3rem;
  display: inline-block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.construction-services__card--portfolio .construction-services__icon,
.construction-services__card--contact .construction-services__icon {
  animation: icon-rotate-glow 4s ease-in-out infinite;
}

@keyframes icon-rotate-glow {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.construction-services__card--faq .construction-services__icon {
  animation: icon-swing-glow 2.5s ease-in-out infinite;
}

@keyframes icon-swing-glow {
  0% {
    transform: rotate(-35deg);
  }
  50% {
    transform: rotate(35deg);
  }
  100% {
    transform: rotate(-35deg);
  }
}

.construction-services__card:hover .construction-services__icon {
  animation: icon-neon-bounce 0.6s ease;
}

@keyframes icon-neon-bounce {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  }
  25% {
    transform: scale(1.3) rotate(-8deg);
    filter: drop-shadow(0 0 20px rgba(13, 110, 253, 0.8));
  }
  50% {
    transform: scale(1.25) rotate(8deg);
    filter: drop-shadow(0 0 25px rgba(13, 202, 240, 0.8));
  }
  75% {
    transform: scale(1.3) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(13, 110, 253, 0.8));
  }
}

.construction-services__card h3 {
  color: #ffffff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.construction-services__card:hover h3 {
  color: #4dabf7;
  text-shadow: 0 0 10px rgba(13, 110, 253, 0.8), 0 0 20px rgba(13, 110, 253, 0.5);
}

.construction-services__card p {
  color: #b8c1cc;
}

/* ===== FIN PAGE CONSTRUCTION ========*/

/*=========== PAGE CONFIRMATION ===========*/

.confirmation-message {
  background: url("../img/fond-bleu-degrade.png") center/cover,
  linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
  color: white !important;
  min-height: 400px;
}

.confirmation-message {
  background: url("../img/fond-bleu-degrade.png") center/cover,
              linear-gradient(180deg, var(--bleu-fonce), var(--bleu-moyen));
  color: white !important;
  min-height: 400px;
}

.confirmation-message * {
  color: white !important;
}

.confirmation-message .text-success {
  color: #4ade80 !important;
}

.confirmation-btn {
  position: relative;
  display: inline-block;
  background: white;
  border: 4px solid white;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.confirmation-btn::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid var(--bleu-marine);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.confirmation-btn:hover::before {
  opacity: 1;
}

.confirmation-btn-inner {
  position: relative;
  z-index: 2;
  display: block;
  background: black;
  color: white;
  padding: 14px 32px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s;
}

.confirmation-btn:hover .confirmation-btn-inner {
  color: white;
}

.confirmation-btn-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.confirmation-btn-corner::before {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  height: 4px;
  width: 48px;
}

.confirmation-btn-corner::after {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  width: 4px;
  height: 48px;
}

.confirmation-btn-corner--tr {
  top: 6px;
  right: 6px;
}

.confirmation-btn-corner--tr::before {
  top: 0;
  right: 0;
}

.confirmation-btn-corner--tr::after {
  top: 0;
  right: 0;
}

.confirmation-btn-corner--bl {
  bottom: 6px;
  left: 6px;
}

.confirmation-btn-corner--bl::before {
  bottom: 0;
  left: 0;
}

.confirmation-btn-corner--bl::after {
  bottom: 0;
  left: 0;
}

.confirmation-btn--outline {
  background: white;
  border-color: white;
}

.confirmation-btn--outline .confirmation-btn-inner {
  background: black;
  color: white;
  font-weight: 800;
}

.confirmation-btn--outline:hover .confirmation-btn-inner {
  color: white;
}

/*======== SECTION CRÉATIONS POPULAIRES ===========*/

.creation-showcase-card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.creation-showcase-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.creation-showcase-card__img-wrapper {
  position: relative;
  width: 100%;
  height: 320px !important;
  overflow: hidden;
}

.creation-showcase-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.creation-showcase-card:hover .creation-showcase-card__img {
  transform: scale(1.05);
}

.creation-showcase-card__body {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  padding: 22px;
  text-align: center;
}

.creation-showcase-card__title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.creation-showcase-card__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/*=========== SECTION INFOLETTRE ==========*/

.newsletter-section {
  background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-moyen));
  color: white;
}

.newsletter-section * {
  color: white !important;
}

.newsletter-section .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.newsletter-section .form-control {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-section .form-control:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  color: white;
}

.newsletter-btn {
  position: relative;
  display: inline-block;
  background: white;
  border: 3px solid white;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.newsletter-btn::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border: 2px solid var(--bleu-marine);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.newsletter-btn:hover::before {
  opacity: 1;
}

.newsletter-btn-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
  color: white !important;
  padding: 11px 32px;
  font-weight: 800;
  border: none;
  transition: color 0.2s;
  height: 100%;
  white-space: nowrap;
}

.newsletter-btn:hover .newsletter-btn-inner {
  color: white !important;
}

.newsletter-btn-corner {
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.newsletter-btn-corner::before {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  height: 3px;
  width: 32px;
}

.newsletter-btn-corner::after {
  content: "";
  position: absolute;
  background: var(--bleu-marine);
  width: 3px;
  height: 32px;
}

.newsletter-btn-corner--tr {
  top: 4px;
  right: 4px;
}

.newsletter-btn-corner--tr::before {
  top: 0;
  right: 0;
}

.newsletter-btn-corner--tr::after {
  top: 0;
  right: 0;
}

.newsletter-btn-corner--bl {
  bottom: 4px;
  left: 4px;
}

.newsletter-btn-corner--bl::before {
  bottom: 0;
  left: 0;
}

.newsletter-btn-corner--bl::after {
  bottom: 0;
  left: 0;
}

.newsletter-section .row.g-3 {
  align-items: center;
}

/*======= FIN PAGE CONFIRMATION ========*/

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

@media (max-width: 820px) {
  #promoCarousel { margin: 0 60px; }
  .carousel-control-prev { left: -50px; }
  .carousel-control-next { right: -50px; }
}

@media (max-width: 576px) {
  .site-header__logo-circle { 
    width: 60px; 
    height: 60px; 
  }
  
  .site-header__logo-circle img {
    width: 100px;
    height: 60px;
  }
  
 
  #promoCarousel .carousel-control-prev,
  #promoCarousel .carousel-control-next {
    display: none !important;
  }

  #promoCarousel {
    margin: 0 !important;
  }

  #promoCarousel .carousel-inner {
    display: flex !important;
    flex-direction: column;
  }
  
  #promoCarousel .carousel-item {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    margin-bottom: 0 !important;
  }

  
#promoCarousel .carousel-item .row {
    flex-direction: column;
  }
  
  #promoCarousel .carousel-item .col-md-4,
  #promoCarousel .carousel-item .col-12 {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-bottom: 1.5rem !important;
  }

  #promoCarousel .carousel-item .col-md-4:last-child,
  #promoCarousel .carousel-item .col-12:last-child {
    padding-bottom: 0 !important;
  }

 .faq-icon {
    width: 85px;
    height: 85px;
  }
  
  .flip-card {
    height: 320px;
  }
  
  .flip-card__photo {
    width: 80px;
    height: 80px;
  }
  
  .video-container {
    padding-bottom: 75%;
  }

  .contact-form-wrapper {
    padding: 25px;
  }
  
  .contact-form__btn {
    padding: 16px 20px;
  }
  
  .contact-form__btn-inner {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
  
  .contact-form__btn-corner {
    width: 40px;
    height: 40px;
  }
  
  .contact-form__btn-corner::before {
    width: 32px;
  }
  
  .contact-form__btn-corner::after {
    height: 32px;
  }


  .construction-hero {
    min-height: 400px;
  }
  
  .construction-services__icon {
    font-size: 2.5rem;
  }
  
  .creation-showcase-card__img-wrapper {
    height: 200px;
  }
  
  .confirmation-btn-corner {
    width: 50px;
    height: 50px;
  }
  
  .confirmation-btn-corner::before {
    width: 40px;
  }
  
  .confirmation-btn-corner::after {
    height: 40px;
  }
  
  .newsletter-btn {
    padding: 8px 10px;
    width: 100%;
  }
  
  .newsletter-btn-inner {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }
  
  .newsletter-btn-corner {
    width: 36px;
    height: 36px;
  }
  
  .newsletter-btn-corner::before {
    width: 26px;
    height: 3px;
  }
  
  .newsletter-btn-corner::after {
    height: 26px;
    width: 3px;
  }

}


@media (max-width: 768px) {
  .creation-showcase-card__img-wrapper {
    height: 220px;
  }
  
  .confirmation-message {
    min-height: 350px;
  }
  
  .confirmation-btn {
    padding: 16px 20px;
  }
  
  .confirmation-btn-inner {
    padding: 12px 24px;
  }
  
  .newsletter-btn {
    padding: 10px 14px;
    width: 100%;
  }
  
  .newsletter-btn-inner {
    padding: 10px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  
  .creation-card__cta-btn,
  .hero__cta-btn {
    padding: 12px 16px;
    font-size: 0.8rem;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center;
    white-space: normal;
    line-height: 1.2;  
  }
  
  .creation-card__cta,
  .hero__cta {
    padding: 12px 14px;
  }
  
  .creation-card__cta-corner,
  .hero__cta-corner {
    width: 46px;
    height: 46px;
  }
  
  .creation-card__cta-corner::before,
  .hero__cta-corner::before {
    width: 36px;
  }
  
  .creation-card__cta-corner::after,
  .hero__cta-corner::after {
    height: 36px;
  }
}

@media (max-width: 820px) {
  #promoCarousel { margin: 0 60px; }
  .carousel-control-prev { left: -50px; }
  .carousel-control-next { right: -50px; }
}

@media (max-width: 767px) and (min-width: 577px) {
     #promoCarousel .carousel-control-prev,
  #promoCarousel .carousel-control-next {
    display: none !important;
  }

  #promoCarousel {
    margin: 0 !important;
  }

  #promoCarousel .carousel-inner {
    display: flex !important;
    flex-direction: column;
  }
  
  #promoCarousel .carousel-item {
    display: block !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    transition: none !important;
    margin-bottom: 0 !important;
  }
#promoCarousel .carousel-item .row {
    flex-direction: column;
  }
  
  #promoCarousel .carousel-item .col-md-4,
  #promoCarousel .carousel-item .col-12 {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding-bottom: 1.5rem !important;
  }

  #promoCarousel .carousel-item:last-child .col-md-4:last-child,
  #promoCarousel .carousel-item:last-child .col-12:last-child {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 991px) and (min-width: 768px) {

    .video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .video-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .video-card .card-body h3 {
    min-height: 60px;
    display: flex;
    align-items: center;
  }

  .video-card .card-body p {
    flex-grow: 1;
    min-height: 72px;
  }

  .video-card__link {
    margin-top: auto;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
    .construction-services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .construction-services .col-lg-4:nth-child(1) {
    flex: 0 0 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
  }

  .construction-services .col-lg-4:nth-child(2),
  .construction-services .col-lg-4:nth-child(3) {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .construction-services__card {
    height: 100%;
  }
}

@media (max-width: 1400px) and (min-width: 577px) {
  .creation-showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .creation-showcase-card__img-wrapper {
    height: 280px;
    flex-shrink: 0;
  }

  .creation-showcase-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 140px;
  }

  .creation-showcase-card__title {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .creation-showcase-card__text {
    flex-grow: 1;
  }
}

@media (max-width: 768px) {
  .creation-showcase-card__img-wrapper {
    height: 220px;
  }
}