/* ===== Homepage Private ===== */
.homepage-private {
    font-family: 'Arial', sans-serif;
    color: #333;
}
.hero::after {
    pointer-events: none;
}
/* HERO SECTION */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    color: #fff;
    padding: 0 8%;
}

.hero::after {
    content: "";
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.35); /* légère overlay pour le texte */
}

.hero-content {
    position: relative;
    max-width: 700px;
    text-align: left;
    z-index: 99999;
    
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f39200; /* orange */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

/* COSA REALIZZIAMO */
.cosa-realizziamo {
    padding: 60px 20px;
    text-align: center;
}

.cosa-realizziamo h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.cosa-realizziamo .cards {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.cosa-realizziamo .card {
    text-decoration: none;
     color: inherit;
    width: 300px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s;
}

.cosa-realizziamo .card:hover {
    transform: translateY(-5px);
}

.cosa-realizziamo .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cosa-realizziamo .card h3 {
    font-size: 1.2rem;
    padding: 15px;
}

/* USP SECTION */
.usp {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background: #f9f9f9;
}

.usp .usp-item {
    text-align: center;
    max-width: 180px;
}

.usp .usp-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.usp .usp-item p {
    font-weight: bold;
}

/* REVIEWS & BEFORE/AFTER */
.reviews {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

/* Testimonials */
.testimonials .testimonial {
    text-align: center;
    font-style: italic;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Prima e Dopo Slider */
.before-after .slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.before-after .slider img {
    width: 100%;
    max-width: 580px;
    border-radius: 6px;
    scroll-snap-align: start;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .cosa-realizziamo .cards {
        flex-direction: column;
        align-items: center;
    }
    .usp {
        flex-direction: column;
        align-items: center;
    }
    .before-after .slider {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
/* ===== SECTION CABA STYLE ===== */
.reviews-caba {
    padding: 0px 20px;
}

.reviews-caba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* BOXES IDENTIQUES */
.reviews-box,
.before-after-box {
    background: #fff;
    padding: 25px;
    height: 420px; /* 🔥 MÊME HAUTEUR */
    display: flex;
    flex-direction: column;
}

.reviews-caba h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

/* DICONO DI NOI */
.reviews-content {
    flex: 1;
    overflow: hidden;
       
}

/* PRIMA E DOPO */
.before-after-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows .arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f39200;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.before-after-slider {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ITEMS */
.ba-item {
    min-width: 240px;
    position: relative;
}

.ba-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

/* LABELS */
.ba-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
}

.ba-label.before { background: rgba(0,0,0,0.7); }
.ba-label.after { background: #f39200; }

/* RESPONSIVE */
@media (max-width: 705px) {
    .reviews-caba-grid {
        grid-template-columns: 1fr;
    }

    .reviews-box,
    .before-after-box {
        height: auto;
    }
}
/* Grid USP */


/* Card */
.usp-item {
  position: relative;
  padding: 20px 15px;
  cursor: default;
}

.usp-item img {
  max-width: 80px;
  margin-bottom: 10px;
}

.usp-item p {
  font-weight: 600;
}

/* Tooltip */
.usp-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  max-width: 280px;
  padding: 12px 14px;
  background: #111;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  pointer-events: none;
  z-index: 20;
}

/* Arrow */
.usp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #111;
}

/* Hover trigger */
.usp-item:hover .usp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.shortcode-placeholder {
    width: 100%;
    min-height: 220px;
    border: 2px dashed #ccc;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shortcode-placeholder span {
    font-size: 16px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}


