/* ============================= */
/* HERO FRUTTA – COMPOSITION */
/* ============================= */

.frutta-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  padding-bottom: 180px;
  background-color: #5b3519;
  overflow: hidden;
}

/* ============================= */
/* CONTENU CENTRAL */
/* ============================= */

.frutta-hero-inner {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frutta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ============================= */
/* FRUITS DÉCORATIFS */
/* ============================= */

.fruit {
  position: absolute;
  z-index: 3;
  opacity: 0.95;
  pointer-events: none;
  animation: floatFruit 24s ease-in-out infinite;
}

/* tailles – DESKTOP */
.fruit.large { width: 440px; }
.fruit.medium { width: 320px; }
.fruit.small { width: 220px; }

/* positions – DESKTOP */
.fruit-anguria {
  top: 10%;
  left: 4%;
}

.fruit-uva {
  top: 18%;
  right: 10%;
  animation-duration: 28s;
}

.fruit-pesca {
  bottom: 12%;
  left: 10%;
  animation-duration: 32s;
}

.fruit-melone {
  bottom: 12%;
  right: 16%;
  animation-duration: 26s;
}

/* ============================= */
/* CERCLES DÉCORATIFS */
/* ============================= */

.decor-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  animation: floatCircle 30s ease-in-out infinite;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: #ffffff;
  top: -80px;
  left: -100px;
}

.circle-2 {
  width: 220px;
  height: 220px;
  background: #e0e0e0;
  bottom: 120px;
  right: -80px;
  animation-duration: 36s;
}

.circle-3 {
  width: 160px;
  height: 160px;
  background: #ffffff;
  top: 40%;
  left: 15%;
  animation-duration: 40s;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes floatFruit {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-30px); }
  100% { transform: translateY(0); }
}

@keyframes floatCircle {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(40px); }
  100% { transform: translateY(0); }
}

/* ============================= */
/* TABLET (iPad) */
/* ============================= */

@media (max-width: 1024px) {

  .frutta-hero {
    height: calc(100vh - 100px);
  }

  /* tailles – TABLET */
  .fruit.large { width: 360px; }
  .fruit.medium { width: 260px; }
  .fruit.small { width: 190px; }

  .frutta-title {
    font-size: clamp(64px, 9vw, 110px);
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

  .frutta-hero {
    height: 85vh;
  }

  .frutta-title {
    font-size: 64px;
    letter-spacing: 2px;
  }

  .fruit {
    opacity: 0.75;
    animation-duration: 28s;
  }

  /* tailles – MOBILE */
  .fruit.large { width: 220px; }
  .fruit.medium { width: 180px; }
  .fruit.small { width: 140px; }

  /* positions – MOBILE (4 fruits visibles) */
  .fruit-anguria {
    top: 8%;
    left: 6%;
  }

  .fruit-uva {
    top: 12%;
    right: 8%;
  }

  .fruit-pesca {
    bottom: 18%;
    left: 10%;
  }

  .fruit-melone {
    bottom: 12%;
    right: 8%;
  }

  /* cercles */
  .circle-1,
  .circle-2 {
    display: none;
  }
}

.frutta-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 160px;
  background: #ffffff;
  z-index: 1;

  clip-path: path(
    "M0,40 C200,120 400,0 720,50 1000,100 1200,140 1440,60 L1440,160 L0,160 Z"
  );
}
@media (max-width: 1024px) {
  .frutta-hero {
    padding-bottom: 160px;
  }

  .frutta-hero-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .frutta-hero {
    padding-bottom: 150px;
  }

  .frutta-hero-text {
    font-size: 16px;
    line-height: 1.7;
    padding: 0 20px;
  }
}
/* ============================= */
/* SECTION TESTO – PRODOTTI */
/* ============================= */

.prodotti-testo-section {
  background-color: #ffffff;
  position: relative;
  margin-top: -1px;              /* 🔥 même fix que Sostenibilità */
  padding: 20px 0 160px;        /* 🔥 grand espace élégant */
}

.prodotti-testo-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.prodotti-titolo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
  line-height: 1.15;
}
.prodotti-testo {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 1024px) {

  .prodotti-testo-section {
    padding: 20px 0 140px;
  }

  .prodotti-titolo {
    font-size: clamp(42px, 6vw, 60px);
  }

  .prodotti-testo {
    font-size: 17px;
  }
}
@media (max-width: 768px) {

  .prodotti-testo-section {
    padding: 20px 0 120px;
  }

  .prodotti-testo-container {
    padding: 0 20px;
  }

  .prodotti-titolo {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .prodotti-testo {
    font-size: 16px;
    line-height: 1.7;
  }
}
/* ============================= */
/* FIX LIGNE BLANCHE – MOBILE FRUTTA */
/* ============================= */

@media (max-width: 768px) {

  /* 1️⃣ On fait descendre la vague blanche */
  .frutta-hero::after {
    bottom: -2px;   /* 🔥 CLÉ ABSOLUE */
  }

  /* 2️⃣ La section blanche remonte légèrement dessous */
  .prodotti-testo-section {
    margin-top: -2px;
  }
}
/* ============================= */
/* GRID FRUTTA */
/* ============================= */

.frutta-grid-section {
  background: #ffffff;
  padding: 40px 0 140px;
}

.frutta-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* ============================= */
/* CARD FRUTTA */
/* ============================= */

.frutta-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 26px;
  overflow: hidden;
  background: #f3f1ed;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.frutta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* IMAGE */
.frutta-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* CONTENU */
.frutta-card-content {
  background: #5b3519;
  padding: 26px;
  text-align: center;
}

.frutta-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 8px;
}

.frutta-card-content span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ============================= */
/* iPad */
/* ============================= */
@media (max-width: 1024px) {
  .frutta-grid {
    padding: 0 40px;
    gap: 36px;
  }

  .frutta-card img {
    height: 260px;
  }
}

/* ============================= */
/* Mobile */
/* ============================= */
@media (max-width: 768px) {
  .frutta-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .frutta-card img {
    height: 240px;
  }
}



