
/* =====================================================
   BASE GLOBALE
===================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: #f5f0ea;
  color: #2b2b2b;
}

/* Conteneur central réutilisable */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   BARRE DU HAUT
===================================================== */

.topbar {
  background-color: #ffffff;
  text-align: center;
  padding: 22px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo {
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

nav a {
  text-decoration: none;
  color: #2b2b2b;
  margin: 0 12px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a:hover {
  text-decoration: underline;
}

.lang {
  font-style: italic;
}

/* =====================================================
   BANDEAUX (HAUT & BAS)
===================================================== */

.bandeau {
  width: 100%;
  background-color: #f5f0ea;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}

.bandeau img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 0;
   
}

/* =====================================================
   PAGE INDEX — INVITATION
===================================================== */

.invitation-new {
  max-width: 900px;
  margin: 0 auto;
  padding: 5px 20px 60px;
  text-align: center;
}

.invitation-new .intro {
  font-style: italic;
  margin-bottom: 18px;
  margin-top: -10px;
}

.invitation-new .date {
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 35px;
}

/* =====================================================
   ÉVÉNEMENTS
===================================================== */

.events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.event h3 {
  color: #c58b9f;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.event p {
  font-size: 15px;
  line-height: 1.8;
  min-height: 70px; 
}

/* =====================================================
   RSVP
===================================================== */

.rsvp {
  display: inline-block;
  margin: 30px 0 50px;
  color: #c58b9f;
  font-style: italic;
  text-decoration: none;
}

.rsvp:hover {
  text-decoration: underline;
}

/* =====================================================
   SECTIONS SIMPLES (présence / cadeaux)
===================================================== */

.simple-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.simple-page h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

.simple-page p {
  font-size: 16px;
  line-height: 1.8;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .events {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .events {
    grid-template-columns: 1fr;
  }

  .invitation-new {
    padding: 30px 15px 50px;
  }

  .invitation-new .date {
    font-size: 22px;
  }

  .logo {
    font-size: 18px;
  }

  nav a {
    display: inline-block;
    margin: 6px;
    font-size: 11px;
  }
}

/* =====================================================
   IMAGE DRESS CODE
===================================================== */

.dress-image {
  margin-top: 30px;
  text-align: center;
}

.dress-image img {
  max-width: 1000px;   /* taille élégante sur desktop */
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .dress-image img {
    max-width: 90%;
  }
}


.highlight {
color: #c58b9f;
font-size: 15px;
letter-spacing: 2px;
margin-bottom: 8px;
}



/* ==============================
   PAGE PRÉSENCE — LAYOUT
================================ */

.page-presence .presence-layout {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.page-presence .presence-image {
  flex: 1;
  text-align: center;
}

.page-presence .presence-image img {
  max-width: 100%;
  height: auto;
}

.page-presence .presence-form {
  flex: 1;
}

/* MOBILE */
@media (max-width: 900px) {
  .page-presence .presence-layout {
    flex-direction: column;
    align-items: center;
  }

  .page-presence .presence-image,
  .page-presence .presence-form {
    width: 100%;
    max-width: 420px;
  }
}

  }
}

.presence-form h1,
.simple-page h1 {
  margin-top: 10px;     /* ⬅️ réduit l’espace au-dessus */
  margin-bottom: 15px; /* espace propre en dessous */
}

/* =====================================================
   FORMULAIRE RSVP — ERGONOMIQUE
===================================================== */

.rsvp-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: "Georgia", serif;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.rsvp-form textarea {
  min-height: 100px;
  resize: vertical;
}

.rsvp-form button {
  margin-top: 10px;
  padding: 14px;
  background-color: #c58b9f;
  color: #fff;
  border: none;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
}

.rsvp-form button:hover {
  background-color: #b5798f;
}

.form-intro {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.6;
}



.cache {
  display: none;
}


.simple-page {
  max-width: 800px;
  margin: 0 auto;       /* 🔑 centre horizontalement */
  padding: 60px 20px;
  text-align: center;   /* 🔑 centre le texte */
}



.main-nav {
  display: flex;
  flex-direction: column;   /* empile les lignes */
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lang-switch {
  font-style: italic;
  font-size: 13px;
}


@media (max-width: 600px) {

  .nav-links {
    flex-wrap: nowrap;        /* 🔥 empêche le retour à la ligne */
    gap: 12px;
  }

  .nav-links a {
    font-size: 11px;          /* texte plus compact */
    letter-spacing: 1px;
    white-space: nowrap;      /* empêche coupure du texte */
  }

  .lang-switch {
    margin-top: 4px;
    font-size: 12px;
  }
}



























