/* EUROCOPY - Styles et animations personnalisés */

:root {
  --primary-color: #182f27;
  --secondary-color: #33cccc;
  --accent-color: #f8be2e;
  --text-color: #333333;
  --light-bg: #f7f9fc;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --gradient-primary: linear-gradient(135deg, #182f27, #33cccc);
}

/* ===== ANIMATIONS GLOBALES ===== */
.smooth-transition {
  transition: all var(--transition-speed) ease-in-out;
}

/* Effet de survol pour les boutons */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover:before {
  left: 100%;
}

/* Effet de survol pour les cartes et blocs */
.bloc_offer, .bloc_reussite_icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloc_offer:hover, .bloc_reussite_icon:hover {
  transform: translateY(-5px);
/*  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);*/
}

/* Animation pour les sections */
.section-animated {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animated.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== EFFETS DE TEXTE ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-reveal {
  position: relative;
  display: inline-block;
}

.text-reveal:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--light-bg);
  animation: text-reveal 1.5s forwards;
}

@keyframes text-reveal {
  0% { width: 100%; }
  100% { width: 0; }
}

/* ===== HEADER AMÉLIORÉ ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 15px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  backdrop-filter: blur(10px);
}

.site-header .site-branding-logo {
  transition: transform 0.3s ease;
}

.site-header.scrolled .site-branding-logo {
  transform: scale(0.85);
}

/* ===== CARTES ET BLOCS AMÉLIORÉS ===== */
.bloc_offer {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.bloc_offer_img {
  transform: scale(1);
  transition: transform 0.6s ease;
}

.bloc_offer:hover .bloc_offer_img {
  transform: scale(1.05);
}

.bloc_reussite_icon_wrap {
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloc_reussite_icon:hover .bloc_reussite_icon_wrap {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ===== TÉMOIGNAGES AMÉLIORÉS ===== */
.testimonial_slide {
  transition: transform 0.3s ease;
}

.testimonial_slide_wrap {
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  background: #ffffff;
  position: relative;
  margin: 20px;
  overflow: hidden;
}

.testimonial_slide_wrap:before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  display: none;
}

.testimonial_slide_wrap p {
  position: relative;
  z-index: 1;
}

.testimonial_user {
  display: block;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial_stars {
  display: block;
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.testimonial_stars:before {
/*  content: "★★★★★";*/
}

/* ===== EFFETS DE SCROLLING ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* ===== FORMULAIRES AMÉLIORÉS ===== */
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select {
  border: 2px solid #eaeaea;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 12px 15px;
  width: 100%;
  margin-bottom: 15px;
}

.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(51, 204, 204, 0.2);
  outline: none;
}

.wpcf7-submit {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(9, 33, 92, 0.3);
}

/* ===== FOOTER AMÉLIORÉ ===== */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.site-footer-icon {
  transition: transform 0.3s ease;
}

.site-footer-icon:hover {
  transform: translateY(-5px);
}

/* ===== EFFETS WOW.JS PERSONNALISÉS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES ===== */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.float-animation {
/*  animation: float 4s ease-in-out infinite;*/
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
  .section-animated, .fade-in-up, .fade-in-left, .fade-in-right, .zoom-in {
    transition-delay: 0s !important;
  }
  
  .testimonial_slide_wrap {
    margin: 10px auto;
    padding: 15px;
  }
  
  .bloc_offer:hover, .bloc_reussite_icon:hover {
    transform: translateY(-3px);
  }
}

.slick-next:before, .slick-prev:before{
  content: '';
}