* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Playfair Display", serif;
  background: white;
  color: #111;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 1rem 2rem;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

header a {
  text-decoration: none;
  color: #111;
  font-weight: 1800;
  font: 100px;
}

.btn-contact {
  background: black;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

.hero {
  background-color: white; /* ✅ Forcer un fond clair */
  position: relative;
  margin: 0 auto;
  max-width: 90%;
  overflow: hidden;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.hero img {
  width: 100%;
  display: block;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 6rem;
  line-height: 1.3;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-address {
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #2f2a23;
}

/* Histoire */
.histoire-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.histoire-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.histoire-texte {
  flex: 1;
  min-width: 300px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #3a3732;
}

.histoire-image {
  flex: 1;
  min-width: 300px;
}

.histoire-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Parallax */
.parallax-section {
  background-image: url("images/domaine.png");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  position: relative;
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.parllax-texte {
  color: #ffffff;
}

.parallax-content {
  position: relative;
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.parallax-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.parallax-content p {
  font-size: 1.25rem;
  line-height: 1.8;
}

.parallax-content a {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #c59d5f;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.parallax-content a:hover {
  background: #a97d42;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .hero-text {
    font-size: 4rem;
  }
}

@media screen and (max-width: 768px) {
  header {
    justify-content: center;
    gap: 0.7rem;
  }

  .hero-text {
    font-size: 2.8rem;
  }

  .hero-address {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .parallax-content h2 {
    font-size: 2rem;
  }

  .parallax-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .parallax-content a {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }

  .histoire-container {
    flex-direction: column; /* ✅ Texte AU-DESSUS de la photo */
    text-align: center;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 480px) {
  .hero-text {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-address {
    font-size: 0.9rem;
  }

  .btn-contact {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .parallax-content h2 {
    font-size: 1.6rem;
  }

  .parallax-content p {
    font-size: 0.95rem;
  }

  .parallax-content a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    height: 80vh; /* ← augmente la hauteur */
    max-height: none;
  }

  .hero img {
    height: 100%;
    object-fit: cover;
  }

  .hero-text {
    font-size: 2.2rem;
    top: 55%; /* Pour mieux centrer */
    transform: translate(-50%, -50%);
  }
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Playfair Display", serif;
  background-color: #ffffff;
  color: #fff;
}

/* SECTION DE BASE */
.cuvee-section {
  display: flex;
  flex-wrap: nowrap;
  padding: 4rem 2rem;
  min-height: 100vh;
  align-items: center;
  justify-content: space-between;
  background: white;
  position: relative;
  gap: 2rem;
}

/* VARIANTE PAR TYPE DE CUVÉE */
.cuvee-section.brut {
  background: linear-gradient(135deg, #29150f 50%, #cfa250 50%);
}

.cuvee-section.rose {
  background: linear-gradient(135deg, #3d0c1b 50%, #f29cb3 50%);
}

.cuvee-section.millesime {
  background: linear-gradient(135deg, #1a1a1a 50%, #b6b6b6 50%);
}

/* TEXTE */
.cuvee-text {
  flex: 1;
  max-width: 600px;
  padding: 2rem;
  text-align: left;
}

.cuvee-text h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.cuvee-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #fff;
}

/* BOUTON */
.btn-transparent {
  display: inline-block;
  border: 2px solid #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-transparent:hover {
  background: #fff;
  color: #000;
}

/* IMAGE */
.cuvee-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2rem;
}

.cuvee-image img {
  max-height: 1350px;
  width: auto;
  object-fit: contain;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: transform 0.3s ease;
  animation: slideInRight 1s ease-out forwards;
}

/* VARIANTE POUR DÉCALAGE INITIALE + ANIMATION */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(200px) rotate(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(-90deg);
  }
}

/* FLOTTEMENT (optionnel, non utilisé actuellement) */
@keyframes float {
  0%,
  100% {
    transform: rotate(-90deg) translateY(0);
  }
  50% {
    transform: rotate(-90deg) translateY(-10px);
  }
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .cuvee-section {
    flex-direction: column;
    background: linear-gradient(180deg, #29150f 60%, #cfa250 40%);
    text-align: center;
  }

  .cuvee-text {
    text-align: center;
    padding: 1rem;
  }

  .cuvee-text h1 {
    font-size: 3rem;
  }

  .cuvee-text p {
    font-size: 1rem;
  }

  .cuvee-image {
    justify-content: center;
  }

  .cuvee-image img {
    max-height: 420px;
    transform: rotate(0deg);
    animation: slideInBottom 1s ease-out forwards;
  }

  @keyframes slideInBottom {
    0% {
      opacity: 0;
      transform: translateY(100px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
