/* ============================= */
/* HERO CONTATTI (IMAGE + BANDEAU) */
/* ============================= */

.contatti-hero {
  width: 100%;
  background-color: #5b3519;
  overflow: hidden; /* 🔥 indispensable pour la vague */
}

/* ============================= */
/* IMAGE CONTATTI */
/* ============================= */

.contatti-image,
.contatti-image img {
  width: 100%;
  display: block;
}

/* ===== DESKTOP ===== */
.contatti-image img {
  height: calc(100vh - 90px); /* écran - header */
  object-fit: cover;
  object-position: center;
}

/* ===== TABLETTE + MOBILE ===== */
@media (max-width: 1024px) {
  .contatti-image img {
    height: auto;
    object-fit: contain;
  }
}

/* ============================= */
/* BANDEAU MARRON TEXTE */
/* ============================= */

.contatti-text-section {
  position: relative;
  background-color: #5b3519;
  padding: 90px 0 170px; /* espace + vague */
}

/* Conteneur centré (réutilise ton système existant) */
.contatti-text-section .hero-text-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ============================= */
/* TITRE CONTATTI */
/* ============================= */

.contatti-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 26px;
}

/* ============================= */
/* TEXTE */
/* ============================= */

.contatti-text-section .hero-paragraph {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 60px;
}

/* ============================= */
/* FLÈCHES SCROLL (identiques Sostenibilità) */
/* ============================= */

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 3;
}

.scroll-indicator .chevron {
  width: 22px;
  height: 22px;
  border-right: 3px solid rgba(255,255,255,0.85);
  border-bottom: 3px solid rgba(255,255,255,0.85);
  transform: rotate(45deg);
  animation: scrollDown 1.6s infinite;
}

.scroll-indicator .chevron:nth-child(2) {
  animation-delay: 0.3s;
  opacity: 0.6;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px) rotate(45deg);
  }
}

/* ============================= */
/* FIN ONDULÉE (VAGUE) */
/* ============================= */

.contatti-text-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 160px;
  background: #ffffff; /* section suivante */
  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"
  );
}

/* ============================= */
/* TABLETTE */
/* ============================= */

@media (max-width: 1024px) {

  .contatti-text-section {
    padding: 80px 0 200px;
  }

  .contatti-title {
    font-size: clamp(36px, 7vw, 54px);
  }

  .contatti-text-section .hero-paragraph {
    font-size: 17px;
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

  .contatti-text-section {
    padding: 70px 0 180px;
  }

  .contatti-text-section .hero-text-container {
    padding: 0 20px;
  }

  .contatti-title {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .contatti-text-section .hero-paragraph {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 50px;
  }

  /* Sécurité anti ligne blanche */
  .contatti-text-section::after {
    bottom: -2px;
  }
}
/* ============================= */
/* CONTATTI – INFO CENTRALE */
/* ============================= */

.contatti-info-section {
  background-color: #ffffff; /* ✅ BLANC PUR */
  padding: 80px 0 100px;
  text-align: center;
}

/* Conteneur */
.contatti-info-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Petit label */
.contatti-eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 22px;
}

/* Adresse principale (FORTE) */
.contatti-address {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.2;
  color: #1e1e1e;
  margin-bottom: 32px;
}

/* Texte descriptif */
.contatti-subtext {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 70px;
}

/* Bloc infos secondaires */
.contatti-meta {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.contatti-meta-block {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.meta-title {
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 12px;
}

/* Téléphone */
.contatti-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: 1px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {

  .contatti-info-section {
    padding: 70px 0 150px;
  }

  .contatti-meta {
    gap: 60px;
  }
}

@media (max-width: 768px) {

  .contatti-info-section {
    padding: 60px 0 60px; 
  }

  .contatti-info-inner {
    padding: 0 24px;
  }

  .contatti-address {
    font-size: 34px;
  }

  .contatti-subtext {
    font-size: 15px;
  }

  .contatti-meta {
    flex-direction: column;
    gap: 40px;
  }

  .contatti-phone {
    font-size: 26px;
  }
}
/* ============================= */
/* FIX LIGNE ENTRE VAGUE & SECTION CONTATTI */
/* ============================= */

/* 1️⃣ Aucune bordure / ombre parasite */
.contatti-text-section,
.contatti-info-section {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* 2️⃣ La section blanche remonte légèrement sous la vague */
.contatti-info-section {
  position: relative;
  margin-top: -2px; /* 🔥 CLÉ ABSOLUE */
}

/* 3️⃣ La vague descend très légèrement */
.contatti-text-section::after {
  bottom: -2px; /* 🔥 CLÉ ABSOLUE */
}
@media (max-width: 768px) {

  .contatti-info-section {
    margin-top: -3px;
  }

  .contatti-text-section::after {
    bottom: -3px;
  }
}
/* ============================= */
/* CONTATTI META – DESKTOP & IPAD */
/* ============================= */

@media (min-width: 769px) {

  /* On empile Email puis Orari (comme mobile) */
  .contatti-meta {
    flex-direction: column;     /* 🔥 CLÉ ABSOLUE */
    align-items: center;
    gap: 48px;                  /* espace propre entre Email et Orari */
  }

  /* Chaque bloc centré */
  .contatti-meta-block {
    text-align: center;
  }

  /* Chaque ligne (emails / horaires) */
  .contatti-meta-block span {
    display: block;
  }

  .contatti-meta-block span + span {
    margin-top: 6px;
  }
}
/* ============================= */
/* FORM CONTATTI */
/* ============================= */

.contatti-form-section {
  background-color: #ffffff;
  padding: 70px 0 160px; 
}

.contatti-form-card {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #e9eaec; /* gris clair */
  border-radius: 26px;
  padding: 70px 80px;
}

/* TITRE */
.contatti-form-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #5b3519;
  text-align: center;
  margin-bottom: 50px;
}

/* FORM */
.contatti-form {
  width: 100%;
}

/* LIGNES */
.form-row {
  display: flex;
  gap: 26px;
  margin-bottom: 26px;
}

/* INPUTS */
.contatti-form input,
.contatti-form textarea {
  width: 100%;
  padding: 20px 22px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  border-radius: 999px;
  border: 2px solid #5b3519;
  background-color: #ffffff;
  color: #5b3519;
  outline: none;
}

.contatti-form textarea {
  border-radius: 28px;
  min-height: 160px;
  resize: vertical;
  margin-bottom: 40px;
}

/* PLACEHOLDER */
.contatti-form input::placeholder,
.contatti-form textarea::placeholder {
  color: #5b3519;
  opacity: 0.7;
}

/* FOOTER */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* PRIVACY */
.privacy-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.privacy-check input {
  accent-color: #5b3519;
}

/* BOUTON */
.form-submit {
  background-color: #5b3519;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 18px 46px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ============================= */
/* TABLETTE */
/* ============================= */

@media (max-width: 1024px) {

   .contatti-form-section {
    padding-top: 60px;
  }

  .contatti-form-card {
    padding: 60px 50px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

  .contatti-form-section {
    padding: 40px 0 120px;
  }

  .contatti-form-card {
    padding: 50px 24px;
    border-radius: 22px;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }
}
/* ============================= */
/* MAPPA ORTOMÌ – FULL WIDTH */
/* ============================= */

.contatti-map-section {
  margin-top: -80px; /* 🔥 colle la carte au formulaire */
  padding: 0;
  background: #ffffff;
}

/* Carte pleine largeur */
.contatti-map-wrapper {
  width: 100vw;
  height: 60vh;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.contatti-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lien Google Maps */
.contatti-map-link {
  display: block;
  text-align: center;
  margin: 24px 0 80px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #5b3519;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.contatti-map-link:hover {
  opacity: 0.8;
}

/* ============================= */
/* TABLETTE */
/* ============================= */

@media (max-width: 1024px) {
  .contatti-map-wrapper {
    height: 50vh;
  }

  .contatti-map-section {
    margin-top: -60px;
  }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {
  .contatti-map-wrapper {
    height: 55vh;
  }

  .contatti-map-section {
    margin-top: -40px;
  }

  .contatti-map-link {
    margin-bottom: 60px;
  }
}

