@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background-color: #eceae5;        /* légèrement plus sombre que #f0eeea */
  color: #3a5233;                    /* vert foncé plus marqué */
  min-height: 100vh;
}


/* ===== PAGE ACCUEIL ===== */

/* === NOUVEAU HERO SPLIT GAUCHE/DROITE === */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  z-index: 1;
}

/* Colonne gauche : texte + boutons  - 100 vg */  
.hero-left {
  width: 50%;
  min-height: 100vh;
  background-color: #eceae5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  /* centre verticalement */
  padding: 40px;
  gap: 40px;  /* espace entre le texte et les boutons */
}

.hero-top {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}


/* Colonne droite : photo */
.hero-right {
  width: 50%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === TEXTE (remplace .hero-top) === */
.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 40px 24px 40px;
  width: 100%;
}

.hero-mariage-label {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: #3a5233;
  font-style: italic;
  margin: 0;
}

.hero-title {
  font-size: 6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #3a5233;
  line-height: 1.1;
  margin: 0;
}

.hero-title .ampersand {
  color: #8fad82;
  font-style: italic;
}

.hero-date {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #8fad82;
  text-transform: uppercase;
  margin: 0;
}

/* ===== BOUTONS NAVIGATION ===== */
.nav-buttons {
  display: flex;
  flex-direction: column;  /* boutons verticaux */
  gap: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: none;
  border-top: none;
}


.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid #c2cdbf;
  border-bottom: none;
  color: #4a6741;
  background-color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
}

.nav-btn:last-child {
  border-bottom: 1px solid #c2cdbf;
}

.nav-btn:hover {
  background-color: #4a6741;
  color: #f0eeea;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  
  .hero-left {
    width: 100%;
    min-height: unset;   /* ← supprime l'espace blanc */
    padding: 40px 24px;
   /* order: 2; /* Texte en bas sur mobile */
  }
  
  .hero-right {
    width: 100%;
    height: 60vw;        /* hauteur proportionnelle à l'écran */
    order: -1; /* Photo en haut sur mobile */
    max-height: 50vh;
  }
  
  .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-text {
    padding: 20px 20px 16px 20px;
  }
  
  .hero-title {
    font-size: 3.5rem; /* Réduit sur mobile */
  }
  
  .hero-date {
    font-size: 1.5rem;
  }
}

/* ===== PAGES INTÉRIEURES ===== */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 30px 80px;
  min-height: 100vh;
}

.page h2 {
  font-size: 4rem;               /* +~15% depuis 2.4rem */
  font-weight: 600;
  color: #3a5233;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-align: center;
}

.page .sous-titre {
  text-align: center;
  color: #8fad82;
  font-size: 2.0rem;              /* +15% depuis 1rem */
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 50px;
}

/* Ligne décorative sous le titre */
.page h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background-color: #8fad82;
  margin: 16px auto 0;
}

/* ===== BLOCS LIEUX ===== */
.lieu-bloc {
  background-color: #f5f3ef;       /* légèrement plus sombre que #faf9f7 */
  border: 1px solid #c2cdbf;       /* bordure plus visible */
  border-radius: 3px;
  padding: 30px 32px;
  margin: 24px 0;
}

.lieu-bloc h3 {
  font-size: 1.6rem;               /* +15% depuis 1.4rem */
  font-weight: 400;
  color: #3a5233;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.lieu-bloc p {
  font-size: 1.2rem;               /* +15% depuis 1.05rem */
  font-weight: 300;
  line-height: 1.9;
  color: #3a5233;
  margin-bottom: 14px;
}

.lieu-bloc strong {
  font-weight: 600;
}

.separateur {
  height: 1px;
  background-color: #c2cdbf;
  margin: 8px 0;
}

/* ===== LIENS MAPS ===== */
.map-link {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 22px;
  border: 1px solid #3a5233;
  color: #3a5233;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;                 /* +10% depuis 0.9rem */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.map-link:hover {
  background-color: #3a5233;
  color: #eceae5;
}

/* ===== BLOCS CADEAUX ===== */
.cadeau-bloc {
  background-color: #f5f3ef;
  border: 1px solid #c2cdbf;
  border-radius: 3px;
  padding: 30px 32px;
  margin: 24px 0;
  text-align: center;
}

.cadeau-bloc h3 {
  font-size: 1.6rem;               /* +15% */
  font-weight: 400;
  color: #3a5233;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.cadeau-bloc p {
  font-size: 1.6rem;               /* +15% */
  font-weight: 300;
  line-height: 1.9;
  color: #3a5233;
  margin-bottom: 18px;
}

.cadeau-link {
  display: inline-block;
  padding: 11px 28px;
  background-color: #3a5233;
  color: #eceae5;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;              /* +10% */
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.cadeau-link:hover {
  background-color: #2c3f27;       /* hover encore plus foncé */
}

/* ===== BLOCS VISITES ===== */
.visite-bloc {
  background-color: #f5f3ef;
  border: 1px solid #c2cdbf;
  border-radius: 3px;
  padding: 24px 28px;
  margin: 20px 0;
}

.visite-bloc h3 {
  font-size: 1.2rem;              /* +15% depuis 1.25rem */
  font-weight: 400;
  color: #3a5233;
  margin-bottom: 10px;
}

.visite-bloc p {
  font-size: 1.15rem;              /* +15% depuis 1rem */
  font-weight: 300;
  line-height: 1.8;
  color: #3a5233;                  /* unifié avec le reste */
  margin-bottom: 12px;
}

.visite-link {
  font-size: 0.95rem;              /* +10% */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fad82;
  text-decoration: none;
  border-bottom: 1px solid #8fad82;
  transition: color 0.3s;
}

.visite-link:hover {
  color: #3a5233;
  border-bottom-color: #3a5233;
}

/* ===== BOUTON RETOUR ===== */
.back {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 24px;
  color: #f0eeea;
  background-color: #4a6741;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 2px;
  border-bottom: none;
  transition: background-color 0.3s;
}

.back:hover {
  background-color: #3a5233;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-title .ampersand {
    font-size: 3.2rem;
  }
  .hero-photo {
    height: 280px;
  }
  .page {
    padding: 40px 20px 60px;
  }
  .page h2 {
    font-size: 2.2rem;
  }
  .lieu-bloc p,
  .cadeau-bloc p,
  .visite-bloc p {
    font-size: 1.05rem;
  }
}

/* ===== QR CODE ===== */
.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0 20px;
}

.qr-code {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border: 1px solid #c2cdbf;
  border-radius: 3px;
  padding: 10px;
  background-color: #ffffff;
}

.qr-legende {
  margin-top: 12px !important;
  font-size: 0.8rem !important;      /* +15% */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #141b11 !important;
}

.cadeau-separateur {
  font-size: 1rem;                 /* +10% */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fad82;
  margin: 18px 0;
}



/* ===== IBAN ===== */
.iban-bloc {
  background-color: #ffffff;
  border: 1px solid #d6ddd4;
  border-radius: 3px;
  padding: 24px 28px;
  margin-top: 8px;
  text-align: left;
  width: 100%;
}

.iban-titre {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8c49a;
  margin-bottom: 16px;
  text-align: center;
}

.iban-ligne {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #eceae5;
  gap: 16px;
}

.iban-ligne:last-of-type {
  border-bottom: none;
}

.iban-label {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8c49a;
  white-space: nowrap;
}

.iban-valeur {
  font-size: 1rem;
  color: #3a5233;
  font-weight: 400;
  text-align: right;
}

.iban-mention {
  margin-top: 16px;
  font-size: 1.2rem;
  color: #7a9272;
  text-align: center;
  font-style: italic;
}



/* ===== PAGE ACCÈS LIEU ===== */
.acces-bloc {
  background-color: #f5f3ef;
  border: 1px solid #c2cdbf;
  border-radius: 3px;
  padding: 36px 40px;
  margin: 24px 0;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.acces-texte {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  color: #3a5233;
  margin-bottom: 28px;
}

.mdp-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #c2cdbf;
  border-radius: 2px;
  background-color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: #3a5233;
  letter-spacing: 0.1em;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 16px;
}

.mdp-input:focus {
  border-color: #3a5233;
}

.mdp-input::placeholder {
  color: #c2cdbf;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.mdp-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #3a5233;
  color: #eceae5;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  margin-top: 8px;
}

.mdp-btn:hover {
  background-color: #2d3f28;
}

.erreur-msg {
  font-size: 0.95rem;
  color: #9e6b5a;                /* rouge-brique doux, dans l'esprit du site */
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.hero-mariage {
  display: block;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #8fad82;
  margin-bottom: 12px;
}



/* ===== FONDS D'ÉCRAN PAR PAGE ===== */

}
.page-lieu {
  background-image: url('lieu.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.page-visites {
  background-image: url('visites.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.page-cadeau {
  background-image: url('japon.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}


/* Voile blanc commun */
.page-index::before,
.page-lieu::before,
.page-visites::before,
.page-cadeau::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

/* Contenu au-dessus du voile */
.page-index .page,
.page-lieu .page,
.page-visites .page,
.page-cadeau .page,
.page-index .hero {
  position: relative;
  z-index: 1;
}