/* ============================================
   HEADER VIDÉO FIXE EN FOND + OPACITÉ PROGRESSIVE AU SCROLL
   ============================================ */
.uagb-container__video-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -2 !important;
}

.uagb-container__video-wrap video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.uagb-container__video-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, var(--scroll-opacity, 0.05));
  z-index: 1;
}


/* ============================================
   MENU HEADER - Style "pilule" compact
   ============================================ */
.ast-builder-menu-1 .menu-item a,
.ast-builder-menu-2 .menu-item a,
.main-header-menu .menu-item > a {
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
  line-height: normal !important;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 8px 18px !important;
  margin: 0 4px;
  color: #F8F5F0 !important;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.ast-builder-menu-1 .menu-item,
.ast-builder-menu-2 .menu-item,
.main-header-menu .menu-item {
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ast-builder-menu-1 .menu-item a:hover,
.ast-builder-menu-2 .menu-item a:hover,
.main-header-menu .menu-item > a:hover {
  background-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.ast-builder-menu-1 .current-menu-item > a,
.ast-builder-menu-2 .current-menu-item > a,
.main-header-menu .current-menu-item > a {
  background-color: rgba(255,201,76,0.15) !important;
  border-color: rgba(255,201,76,0.4) !important;
  color: #FFC94C !important;
}


/* ============================================
   NOUVELLE DISPOSITION DU HERO
   ============================================ */
.hero-outer-container {
  position: relative !important;
}

.hero-layout {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 140px 60px 60px;
}

.hero-middle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F8F5F0;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: auto;
}

.hero-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-devis-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #FFC94C;
  color: #FFC94C;
  padding: 16px 44px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.hero-devis-btn:hover {
  background: rgba(255,201,76,0.1);
  transform: scale(1.05);
  color: #FFC94C;
}

/* Description à droite */
.hero-right-text {
  position: absolute !important;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 320px;
  color: rgba(248,245,240,0.85) !important;
  font-size: 15px;
  line-height: 1.7;
  font-family: 'Roboto Mono', monospace;
  margin: 0 !important;
  z-index: 3;
}

/* Ligne du bas : titre centré sous le logo/bouton */
.hero-bottom {
  position: relative;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.hero-bottom h1 {
  font-size: 18px !important;
  letter-spacing: px;
  text-transform: uppercase;
  font-weight: 400;
  color: #FFC94C;
  margin: 0;
  display: inline-block;
}

.hero-bottom .sep {
  color: #F8F5F0;
  margin: 0 8px;
  opacity: 0.6;
}

/* Numéro de téléphone, en bas à GAUCHE, même ligne que le titre */
.hero-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #F8F5F0;
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  letter-spacing: px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-phone:hover {
  color: #FFC94C;
}


/* ============================================
   RESPONSIVE MOBILE - HERO
   ============================================ */
@media (max-width: 900px) {
  .hero-outer-container {
    display: flex;
    flex-direction: column;
  }

  .hero-layout {
    order: 1;
    padding: 100px 24px 20px;
  }

  .hero-middle {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    text-align: center;
    padding-top: 20px;
  }

  .hero-left {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    margin-right: 0;
  }

  .hero-center {
    position: static;
    transform: none;
  }

  .hero-bottom {
    margin-top: 40px;
    margin-bottom: 0;
    padding: 0 16px;
  }

  .hero-bottom h1 {
    font-size: 13px !important;
    letter-spacing: 1px;
    line-height: 1.6;
    white-space: normal;
  }

  .hero-bottom .sep {
    display: block;
    margin: 4px 0;
  }

  .hero-phone {
    position: static;
    display: block;
    margin-top: 14px;
    font-size: 14px;
  }

  /* Le paragraphe passe en dernier, sous le numéro, avec un espacement propre */
  .hero-right-text {
    order: 2;
    position: static !important;
    transform: none !important;
    max-width: 90% !important;
    margin: 30px auto 40px !important;
    text-align: center !important;
    font-size: 13px !important;
  }
}
/* ============================================
   FOOTER
   ============================================ */
@media (max-width: 768px) {
  .main-header-menu-toggle {
    margin-top: 1rem;
    z-index: 1000;
    position: relative;
  }
  h1.site-title {
    margin-top: 2rem;
  }
}

.footer-widget-area,
.footer-widget-area p,
.footer-widget-area a,
.footer-widget-area li,
.footer-widget-area h1,
.footer-widget-area h2,
.footer-widget-area h3,
.footer-widget-area h4,
.footer-widget-area h5,
.footer-widget-area h6 {
  color: #F8F5F0 !important;
  text-transform: none !important;
}

.footer-widget-area a:hover {
  color: #B5A27D !important;
}

.site-footer,
.footer-widget-area,
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  font-weight: 400;
}

#colophon,
.site-footer,
.ast-footer-overlay {
  background-color: #0C0C0C !important;
}
:root {
  --ast-global-color-4: #0C0C0C !important;
}

#colophon,
.site-footer,
.ast-hfb-header .site-footer {
  background-color: #0C0C0C !important;
}

/* ============================================
   AVIS GOOGLE (WP Social Ninja)
   ============================================ */
.wpsr-review-template {
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}

.wpsr-review-template,
.wpsr-review-template p,
.wpsr-review-template a,
.wpsr-review-template h1,
.wpsr-review-template h2,
.wpsr-review-template h3,
.wpsr-review-template h4,
.wpsr-review-template h5,
.wpsr-review-template h6,
.wpsr-review-template span,
.wpsr-review-template div {
  color: #ffffff !important;
}

.wpsr-all-reviews.wpsr-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 20px;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.wpsr-all-reviews.wpsr-row [class*="wpsr-col-"] {
  flex: 0 0 auto !important;
  width: 320px !important;
  max-width: 320px !important;
  scroll-snap-align: start;
}

.wpsr-all-reviews.wpsr-row::-webkit-scrollbar {
  height: 6px;
}
.wpsr-all-reviews.wpsr-row::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
}


/* ============================================
   ALIGNEMENT MOBILE - Cartes Film de Mariage/Publicitaire
   ============================================ */
@media (max-width: 768px) {
  .wp-block-uagb-container.uagb-layout-flex {
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .wp-block-uagb-container.uagb-layout-flex > * {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
}


/* ============================================
   FORMULAIRE DE CONTACT - Style sombre élégant
   ============================================ */
.wp-block-jetpack-contact-form,
.contact-form {
  background-color: transparent !important;
}

.wp-block-group:has(.wp-block-jetpack-contact-form),
.wp-block-group:has(.contact-form) {
  background-color: rgba(12, 12, 12, 0.5) !important;
  backdrop-filter: blur(6px) !important;
  padding: 40px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  width: 75% !important;
  max-width: 75% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .wp-block-group:has(.wp-block-jetpack-contact-form),
  .wp-block-group:has(.contact-form) {
    width: 90% !important;
    max-width: 90% !important;
    padding: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .wp-block-group:has(.wp-block-jetpack-contact-form) * {
    max-width: 100% !important;
  }

  .wp-block-group:has(.wp-block-jetpack-contact-form) label,
  .wp-block-group:has(.wp-block-jetpack-contact-form) input,
  .wp-block-group:has(.wp-block-jetpack-contact-form) textarea,
  .wp-block-group:has(.wp-block-jetpack-contact-form) select {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
  }

  .wp-block-group:has(.wp-block-jetpack-contact-form) .wp-block-button,
  .wp-block-group:has(.wp-block-jetpack-contact-form) .wp-block-buttons {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  .wp-block-group:has(.wp-block-jetpack-contact-form) .wp-block-button__link {
    width: auto !important;
    min-width: 220px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.wp-block-jetpack-field-text label,
.wp-block-jetpack-field-email label,
.wp-block-jetpack-field-textarea label,
.wp-block-jetpack-field-select label,
.contact-form label {
  color: #F8F5F0 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.wp-block-jetpack-field-text .required,
.wp-block-jetpack-field-email .required,
.wp-block-jetpack-field-textarea .required,
.wp-block-jetpack-field-select .required,
.contact-form .required {
  color: #FFC94C !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

.wp-block-jetpack-field-text input,
.wp-block-jetpack-field-email input,
.contact-form input[type="text"],
.contact-form input[type="email"] {
  background-color: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 10px !important;
  color: #F8F5F0 !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease !important;
}

.wp-block-jetpack-field-textarea textarea,
.contact-form textarea {
  background-color: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 10px !important;
  color: #F8F5F0 !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 140px !important;
}

.wp-block-jetpack-field-text input:focus,
.wp-block-jetpack-field-email input:focus,
.wp-block-jetpack-field-textarea textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #FFC94C !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255,201,76,0.2) !important;
}

.wp-block-jetpack-field-select select,
.contact-form select {
  background-color: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 10px !important;
  color: #F8F5F0 !important;
  padding: 14px 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wp-block-jetpack-contact-form button,
.contact-form button,
.wp-block-button__link {
  background: linear-gradient(135deg, #FFC94C, #E0A93A) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 16px 40px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.wp-block-jetpack-contact-form button:hover,
.contact-form button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255,201,76,0.3) !important;
}
/* ============================================
   TITRE PORTFOLIO
   ============================================ */
.portfolio-title {
  position: relative;
  display: inline-block;
  color: #F8F5F0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: left;
  padding-left: 1200px;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .portfolio-title {
    padding-left: 24px;
    font-size: 22px;
  }
}
/* Ligne fine sous le titre, qui se dessine au scroll */
.portfolio-title::after {
  content: "";
  position: absolute;
  left: 1200px;
  bottom: 0;
  height: 0.6px;
  width: 0;
  background: linear-gradient(90deg, #FFC94C, rgba(255,201,76,0));
}
.portfolio-title.reveal::after {
  animation: line-draw 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes line-draw {
  to { width: calc(100% - 1200px); }
}
@media (max-width: 768px) {
  .portfolio-title::after {
    left: 24px;
  }
  @keyframes line-draw {
    to { width: calc(100% - 24px); }
  }
}
/* Balayage lumineux fin qui traverse le texte */
.portfolio-title.reveal {
  background-image: linear-gradient(
    100deg,
    #F8F5F0 0%,
    #F8F5F0 35%,
    #FFC94C 47%,
    #ffffff 50%,
    #FFC94C 53%,
    #F8F5F0 65%,
    #F8F5F0 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: scan-text 1.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes scan-text {
  0% { background-position: 200% 0; }
  100% { background-position: -20% 0; }
}
/* ============================================
   PORTFOLIO SLIDER
   ============================================ */
.portfolio-slider-wrap {
  padding: 40px 0 80px;
}

.portfolio-slider {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.slide-poster,
.slide-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) {
  .slide:hover .slide-video {
    opacity: 1;
  }
}
.slide {
  width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.portfolio-slider {
  height: 500px;
}
/* Le titre apparaît désormais sur TOUTES les vignettes, y compris la centrale */
.slide-label {
  position: absolute;
  bottom: 130px; left: 16px;
  color: #F8F5F0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  z-index: 2;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #F8F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}
.slider-arrow.reveal { animation: arrow-fade 0.5s ease; }
@keyframes arrow-fade { from { opacity: 0; } to { opacity: 1; } }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow:hover {
  background: rgba(255,201,76,0.15);
  border-color: #FFC94C;
  color: #FFC94C;
}
.slider-arrow-left { left: 20px; }
.slider-arrow-right { right: 20px; }

.portfolio-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.portfolio-lightbox.active { display: flex; }
.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #0C0C0C;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-content video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.lightbox-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  font-family: 'Roboto Mono', monospace;
}
.lightbox-info-bar #lightboxTitle { font-size: 20px; font-weight: 700; color: #F8F5F0; }
.lightbox-link {
  color: #FFC94C;
  text-decoration: none;
  border: 1px solid #FFC94C;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.lightbox-link:hover { background: rgba(255,201,76,0.1); }
.lightbox-caption {
  padding: 0 24px 24px;
  margin: 0;
  color: rgba(248,245,240,0.75);
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Roboto Mono', monospace;
}
.lightbox-close {
  position: absolute;
  top: -46px; right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
@media (max-width: 768px) {
  .portfolio-slider { height: 240px; }
  .slide { width: 280px; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow-left { left: 8px; }
  .slider-arrow-right { right: 8px; }
  .lightbox-info-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* Flèches */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #F8F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-arrow svg { width: 22px; height: 22px; }

.slider-arrow:hover {
  background: rgba(255,201,76,0.15);
  border-color: #FFC94C;
  color: #FFC94C;
}

.slider-arrow-left { left: 20px; }
.slider-arrow-right { right: 20px; }

/* ============================================
   LIGHTBOX - façon fiche détaillée
   ============================================ */
.portfolio-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.portfolio-lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #0C0C0C;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-content video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.lightbox-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
  font-family: 'Roboto Mono', monospace;
}

.lightbox-info-bar #lightboxTitle {
  font-size: 20px;
  font-weight: 700;
  color: #F8F5F0;
}

.lightbox-link {
  color: #FFC94C;
  text-decoration: none;
  border: 1px solid #FFC94C;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.lightbox-link:hover { background: rgba(255,201,76,0.1); }

.lightbox-caption {
  padding: 0 24px 24px;
  margin: 0;
  color: rgba(248,245,240,0.75);
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Roboto Mono', monospace;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* ============================================
   RESPONSIVE MOBILE (layout conservé, 3 vignettes)
   ============================================ */
@media (max-width: 768px) {
  .portfolio-slider { height: 240px; }
  .slide { width: 280px; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow-left { left: 8px; }
  .slider-arrow-right { right: 8px; }

  .lightbox-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* ============================================
   AVIS GOOGLE - Cartes compactes + agrandissement
   ============================================ */
.wpsr-all-reviews.wpsr-row {
  align-items: stretch !important;
}

.wpsr-review-template {
  height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

.wpsr-review-template:hover {
  transform: translateY(-4px) !important;
}

.wpsr-review-template::after {
  content: "Voir plus";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 24px 16px 10px;
  background: linear-gradient(to bottom, transparent, rgba(12,12,12,0.85) 60%);
  color: #FFC94C;
  font-size: 11px;
  text-align: center;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .wpsr-review-template {
    height: 190px !important;
  }
}

/* Modal d'agrandissement */
.review-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.review-modal.active { display: flex; }

.review-modal-content {
  position: relative;
  max-width: 380px;
  width: 90%;
  max-height: 60vh;
  overflow-y: auto;
  background: #1a1a1a;
  border: 1px solid rgba(255,201,76,0.3);
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.review-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
/* ============================================
   BOUTONS D'ACTION - Style uniforme (façon header "Devis")
   ============================================ */
.wp-block-button__link,
a.wp-block-button__link,
.wp-block-buttons .wp-block-button__link {
  background: transparent !important;
  border: 1px solid #FFC94C !important;
  color: #FFC94C !important;
  padding: 16px 44px !important;
  border-radius: 40px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}

.wp-block-button__link:hover,
a.wp-block-button__link:hover {
  background: rgba(255,201,76,0.1) !important;
  transform: scale(1.05) !important;
  color: #FFC94C !important;
}
/* ============================================
   FAQ - Style accordéon avec bordure dorée
   ============================================ */
.wp-block-coblocks-faq-item {
  border: 1px solid #FFC94C !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  margin-bottom: 16px !important;
  background: rgba(12, 12, 12, 0.55) !important;
  backdrop-filter: blur(6px) !important;
}

.wp-block-coblocks-faq-item__question {
  color: #F8F5F0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

/* Colore la flèche native en orange (fonctionne sur Chrome/Firefox/Edge récents) */
summary::marker {
  color: #FFC94C !important;
}

/* Texte de la réponse */
.wp-block-coblocks-faq-item__answer,
.wp-block-coblocks-faq-item p {
  color: rgba(248,245,240,0.75) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-top: 16px !important;
}
.quote-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.quote-modal.active { display: flex; }

.quote-modal-inner {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 85vh;
  max-height: 750px;
}

.quote-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  background: #0C0C0C;
}

.quote-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .quote-modal-inner {
    height: 90vh;
  }
}	

/* ============================================
   VIDÉOS YOUTUBE (LYTE) - Style carte
   ============================================ */
.lyte-wrapper {
  border: 1px solid rgba(255,255,255,0.15) !important;
  box-shadow: 0 8px 24px rgba(255,255,255,0.08), 0 0 0 1px rgba(255,255,255,0.05) !important;
  transition: transform 0.3s ease !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative;
  max-width: 300px !important;
}
.lyte-wrapper:hover { transform: scale(1.02) !important; }
.lyte {
  border-radius: 16px !important;
  overflow: hidden !important;
  background-color: #1a1a1a !important;
  position: relative;
}
.lyte iframe { border-radius: 16px !important; border: none !important; }
.lyte-wrapper .play { display: none !important; }
.lyte-wrapper .tT { display: none !important; }

/* Supprime le contour de focus jaune du navigateur sur les vidéos */
.lyte-wrapper *:focus,
.lyte-wrapper *:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.lyte-wrapper::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease;
  z-index: 2;
}
.lyte-wrapper::before {
  content: "";
  position: absolute;
  top: 50%; left: calc(50% + 4px);
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #ffffff;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.lyte-wrapper:hover::before,
.lyte-wrapper:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.lyte-wrapper:has(iframe)::before,
.lyte-wrapper:has(iframe)::after { display: none; }

.lyte-wrapper .lyte::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.65) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.lyte-wrapper:hover .lyte::after { opacity: 1; }

/* ============================================
   SHORTS
   ============================================ */
.short-video .lyte-wrapper {
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 6px 18px rgba(255,255,255,0.12) !important;
  max-width: 320px !important;
  margin: 0 auto !important;
}
.short-video .lyte { border-radius: 20px !important; }
