/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* === BACKGROUND === */
body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #F8F3E8; /* beige clair de la charte */
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: url("image5.jpeg") no-repeat center/cover;
  position: relative;
}

/* Overlay noir avec flou */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,10,10,0.65);
  backdrop-filter: blur(4px);
}

/* === CONTENU === */
.content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 24px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  transform: translateY(-6vh);
}
.content > * + * { margin-top: 1.2em; }

/* === LOGO === */
.logo {
  display: block;
  max-width: 220px;
  width: 30vw;
  height: auto;
  margin: 0 auto 0.6em auto; /* rapproché du slogan */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

/* === SLOGAN === */
.slogan {
  font-family: "Playfair Display", serif;
  font-weight: 400; /* Regular */
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.15;
  margin-top: 0; /* supprime marge parasite */
  color: #F8F3E8;
}
.slogan .slogan-break {
  display: block;
  margin-top: -0.2em;
}

/* === TEXTE D’ACCROCHE === */
.lead {
  font-family: "Montserrat", sans-serif; /* plus moderne */
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(248,243,232,.9); /* beige clair un peu atténué */
}

/* === EMAIL === */
.contact {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 2.4em;
  color: #F8F3E8;
}

/* === RESEAUX SOCIAUX === */
.socials {
  margin-top: 1.4em;
}
.socials a {
  color: #F8F3E8; /* beige clair par défaut */
  font-size: clamp(25px, 2.3vw, 32px); /* +15% plus grands */
  margin: 0 14px;
  transition: transform .2s ease, opacity .2s ease, color .3s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  opacity: .9;
  color: #A28135; /* doré au survol */
}

/* === ANIMATION === */
@keyframes fadeInUp { 
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}
.content > * { opacity:0; animation: fadeInUp .9s ease forwards; }
.content > *:nth-child(1){animation-delay:.2s}
.content > *:nth-child(2){animation-delay:.4s}
.content > *:nth-child(3){animation-delay:.6s}
.content > *:nth-child(4){animation-delay:.8s}

/* === MOBILE === */
@media (max-width: 480px) {
  .content {
    padding: 16px;
    transform: translateY(-4vh);
  }

  .logo {
    max-width: 140px; /* réduit sur iPhone */
    margin-bottom: 0.4em;
  }

  .slogan {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.2;
  }

  .lead {
    font-size: 15px;
    line-height: 1.4;
  }

  .contact {
    font-size: 14px;
  }

  .socials a {
    font-size: 18px;
    margin: 0 8px;
  }
}
