.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(75,46,30,0.4),
    rgba(75,46,30,0.6)
  );
  z-index: 1;
}

/* HEADER */
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* LOGO */
.hero-logo {
  height: 60px;
}

/* MENU DESKTOP */
.nav-desktop {
  display: flex;
  gap: 40px;
}

.nav-desktop a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* MENU MOBILE */
.nav-mobile {
  position: fixed;
  inset: 0;
  background-color: #5b3519; /* même marron que le header */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 20;
}


.nav-mobile a {
  font-size: 22px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.nav-mobile.open {
  transform: translateX(0);
}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-header {
    padding: 20px 25px;
  }
}

/* ===== HERO TEXT ===== */
.hero-content {
  position: absolute;
  bottom: 90px;              /* espace depuis le bas */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 5;
  max-width: 900px;
  padding: 0 20px;

  /* animation */
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.4s;
}

/* SUBTITLE */
.hero-subtitle {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 16px;
  margin-bottom: 20px;
}

/* TITLE */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* TEXT */
.hero-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  opacity: 0.9;
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .hero-content {
    bottom: 70px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }
}

/* Cache le retour à la ligne sur mobile */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* ===== FIX TITRE MOBILE (ANTI 1 MOT / LIGNE) ===== */
@media (max-width: 768px) {

  .hero-content {
    max-width: 100%;     /* ❗ enlève la contrainte */
    width: 100%;
    padding: 0 16px;     /* padding léger */
  }

  .hero-title {
    line-height: 1.2;    /* respiration correcte */
    word-break: normal; /* pas de casse agressive */
    hyphens: none;
  }
}

/* ============================= */
/* Décalage du hero sous le bandeau */
/* ============================= */

.hero {
  padding-top: 90px; /* même hauteur que le bandeau */
}

@media (max-width: 768px) {

  .hero {
    padding-top: 70px;
  }
}

/* ============================= */
/* SECTION TRADIZIONE */
/* ============================= */

.tradizione-section {
  position: relative;
  background: #f7f5f2;
  padding: 120px 0;
  overflow: hidden;
}

/* Demi-cercle gauche – ajusté */
.semi-circle {
  position: absolute;
  left: -330px;               /* un peu plus présent */
  top: 50%;
  width: 680px;               /* légèrement PLUS GRAND */
  height: 680px;
  background: rgba(91, 53, 25, 0.12);
  border-radius: 50%;
  transform: translateY(-50%) scale(0.55);
  transition: transform 0.15s linear;
  z-index: 1;
}




/* Demi-cercle droit – miroir du gauche */
.small-circle {
  position: absolute;
  right: -340px;              /* sort de l’écran */
  top: 50%;
  width: 520px;
  height: 520px;
  background: rgba(91, 53, 25, 0.12);
  border-radius: 50%;
  transform: translateY(-50%) scale(0.55);
  transition: transform 0.15s linear;
  z-index: 1;
}




/* Contenu */
.tradizione-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Texte */
.tradizione-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #5b3519;
  margin-bottom: 20px;
}

.tradizione-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* Image */
.tradizione-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {

  .tradizione-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .semi-circle {
    left: -360px;
    width: 580px;
    height: 580px;
  }

  .small-circle {
    display: none; /* comme Kamrino */
  }

  .tradizione-text h2 {
    font-size: 32px;
  }
}

/* ============================= */
/* SECTION PRODUITS VISUEL */
/* ============================= */

.produits-hero {
  position: relative;
  width: 100%;
  height: 80vh;               /* comme Kamrino */
  overflow: hidden;
  background-color: #5b3519;  /* marron Ortomì */
}

/* Image de fond */
.produits-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/fondsproduits.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.produits-tomate {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px; /* ⬅️ PLUS GRANDE */
  transform: translate(-50%, -35%) scale(0.65); /* ⬅️ un peu plus visible */
  opacity: 0;
  filter: blur(8px);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    filter 0.4s ease;
  z-index: 2;
  pointer-events: none;
}


/* Responsive */
@media (max-width: 768px) {
  .produits-hero {
    height: 60vh;
  }

  .produits-tomate {
    width: 260px;
  }
}

/* ============================= */
/* SECTION AZIENDA – COOPERAZIONE */
/* ============================= */

.azienda-section {
  position: relative;
  background: #ffffff;
  padding: 140px 0;
  overflow: hidden;
}

/* Demi-cercle interactif */
.azienda-semi-circle {
  position: absolute;
  right: -340px;
  top: 50%;
  width: 680px;
  height: 680px;
  background: rgba(91, 53, 25, 0.12);
  border-radius: 50%;
  transform: translateY(-50%) scale(0.6);
  transition: transform 0.15s ease-out;
  z-index: 1;
}

/* Container */
.azienda-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* Image */
.azienda-image {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.azienda-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

/* Texte */
.azienda-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.azienda-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: #5b3519;
  margin-bottom: 24px;
}

.azienda-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

/* Activation au scroll */
.azienda-visible .azienda-image,
.azienda-visible .azienda-text {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {

  .azienda-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
  }

  .azienda-semi-circle {
    display: none;
  }

  .azienda-text h2 {
    font-size: 32px;
  }
}

/* ============================= */
/* SECTION VIDEO ORTOMÌ */
/* ============================= */

.video-section {
  position: relative;
  width: 100%;
  height: 90vh; /* impact visuel fort */
  overflow: hidden;
  background: #000;
}

/* Vidéo */
.video-ortomi {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* garde la qualité */
}
/* ============================= */
/* SECTION VALORE DELLA QUALITÀ */
/* ============================= */

/* ============================= */
/* SECTION VALORE DELLA QUALITÀ */
/* ============================= */

.valore-section {
  background: #faf7f2;
  padding: 140px 0;
}

.valore-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* TEXTE FIXE */
.valore-text {
  position: sticky;
  top: 140px;
  align-self: flex-start;
}

.valore-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  color: #5b3519;
  margin-bottom: 24px;
}

.valore-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

/* IMAGES */
.valore-images {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.valore-image {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.valore-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

/* Image visible */
.valore-image.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .valore-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .valore-text {
    position: relative;
    top: auto;
    margin-bottom: 60px;
  }

  .valore-images {
    gap: 60px;
  }

  .valore-text h2 {
    font-size: 32px;
  }
}

/* ============================= */
/* SECTION RICETTE */
/* ============================= */

.ricette-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: #f7f5f2;
}

/* Overlay inutile */
.ricette-overlay {
  display: none;
}

/* ============================= */
/* CONTENU TEXTE (CENTRÉ) */
/* ============================= */

.ricette-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  animation: ricetteFade 1s ease forwards;
}

/* Badge */
.ricette-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6b3f1d, #8a5326);
  color: #ffffff;
  padding: 22px 80px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 60px 28px 60px 28px;
  margin: 0 auto 50px auto;
}

/* Titre */
.ricette-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #5b3519;
}

/* Texte */
.ricette-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  max-width: 760px;
  margin: 0 auto;
}

/* Animation */
@keyframes ricetteFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* SLIDER RECETTE – FULL WIDTH */
/* ============================= */

.recette-slider-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
}

/* Fenêtre */
.recette-slider {
  width: 100%;
  overflow: hidden;
  padding: 0 30px; /* même valeur que le gap */
}

/* Track */
.recette-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

/* 3 images visibles */
.recette-item {
  flex: 0 0 calc((100% - 60px) / 3);
}

/* Image */
.recette-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ============================= */
/* FLÈCHES – SOUS LES IMAGES */
/* ============================= */

.recette-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 32px;
  padding-right: 30px; /* aligné avec le slider */
}

.slider-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #6b3f1d;
  background: transparent;
  color: #6b3f1d;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.slider-arrow:hover {
  background: #6b3f1d;
  color: #fff;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
  .recette-item {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {

  .ricette-section {
    padding: 120px 0;
  }

  .ricette-badge {
    padding: 18px 56px;
    font-size: 18px;
  }

  .ricette-title {
    font-size: 34px;
  }

  .ricette-text {
    font-size: 16px;
  }

  .recette-slider {
    padding: 0 20px;
  }

  .recette-track {
    gap: 20px;
  }

  .recette-item {
    flex: 0 0 80%;
  }

  .recette-item img {
    height: 300px;
  }

  /* ✅ FLÈCHES VISIBLES SUR MOBILE */
  .recette-arrows {
    justify-content: center;
    padding-right: 0;
    margin-top: 24px;
  }

  .slider-arrow {
    display: inline-flex;
  }
}

/* ============================= */
/* BOUTON SCOPRI TUTTE LE RICETTE */
/* ============================= */

.ricette-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.ricette-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 44px;
  border-radius: 999px;

  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #6b3f1d;               /* marron Ortomì */
  border: 2px solid #6b3f1d;
  background: transparent;

  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER – comme Kamrino */
.ricette-btn:hover {
  background: #a86a3a;          /* rouge clair doux */
  border-color: #a86a3a;
  color: #ffffff;
}
@media (max-width: 768px) {
  .ricette-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }
}

/* ============================= */
/* SECTION PARTNER */
/* ============================= */

.partner-section {
  padding: 50px 0;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* TITRE */
.partner-title {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  font-weight: 700;
  color: #5b3519;
  margin-bottom: 18px;
}

/* LIGNE ONDULÉE */
.partner-wave {
  width: 200px;
  height: 14px;
  margin: 0 auto 70px auto;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0 50 10 T 100 10 T 150 10 T 200 10' stroke='%236b3f1d' stroke-width='4' fill='none'/%3E%3C/svg%3E") no-repeat center;
}

/* SLIDER */
.partner-slider {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.partner-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: partnerMove 22s linear infinite;
}

/* FORME NUAGE */
.partner-cloud {
  width: 260px;
  height: 180px;
  background: #5b3519;
  border-radius: 55% 45% 60% 40% / 55% 60% 40% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* LOGO */
.partner-cloud img {
  max-width: 190px;
  max-height: 110px;
  object-fit: contain;
}

/* ANIMATION */
@keyframes partnerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .partner-title {
    font-size: 44px;
  }

  .partner-track {
    gap: 50px;
    animation-duration: 18s;
  }

  .partner-cloud {
    width: 200px;
    height: 140px;
  }

  .partner-cloud img {
    max-width: 150px;
    max-height: 85px;
  }
}

