@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Montserrat:wght@300;400;500;600;700&display=swap");

/* ==========================================================
   01. VARIABLES GLOBALES
========================================================== */

:root {
  --bleu: #123a6f;
  --bleu-samedi: #214b86;
  --beige: #faf6f0;
  --blanc: #ffffff;
  --or: #c79a2e;
  --rose: #e94f7a;
  --vert: #4e7a57;
  --gris: #5f6670;
  --ligne: #e5ded4;
  --ombre: rgba(0, 0, 0, 0.28);

  --radius: 10px;
  --shadow-photo: 0 30px 80px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 16px 36px rgba(18, 58, 111, 0.08);
}

/* ==========================================================
   02. RESET + BASE
========================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--beige);
  color: var(--bleu);
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

#accueil,
#weekend,
#domaine,
#details,
#cagnotte {
  scroll-margin-top: 115px;
}

/* ==========================================================
   03. HEADER + MENU
========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 240, 0.97);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 8px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  gap: 42px;
  list-style: none;
}

.main-nav a {
  color: var(--bleu);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--or);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

#menu-toggle {
  display: none;
}

/* ==========================================================
   04. HERO DESKTOP
========================================================== */

.hero-carousel {
  position: relative;
  height: 82vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bleu);
}

.carousel-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
  padding-right: 50%;
}

.hero-slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(0.72);
  transform: scale(1.12);
  opacity: 0.9;
  transition: transform 6s ease;
}

.hero-slide.active .slide-bg {
  transform: scale(1.18);
}

.slide-photo {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: 42vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-photo);
}

.hero-slide.active .slide-photo {
  animation: photoEnter 1.1s ease both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.14),
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.62)
  );
}

.hero-content {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  width: 620px;
  text-align: center;
  color: white;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  object-fit: contain;
  display: block;
}

.hero-logo-desktop {
  width: 245px;
  height: auto;
  margin-bottom: 8px;
  animation: floatLogo 6s ease-in-out infinite;
}

.hero-logo-mobile {
  display: none;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 1.05;
}

.gold-line {
  width: 96px;
  height: 1px;
  background: var(--or);
  margin: 30px auto;
  position: relative;
}

.gold-line::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--or);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-text {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  line-height: 1.45;
  margin-bottom: 34px;
}

.hero-date {
  color: var(--or);
  letter-spacing: 5px;
  font-size: 20px;
  margin-bottom: 14px;
}

.hero-place {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ==========================================================
   05. CAROUSEL
========================================================== */

.carousel-btn {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: white;
  font-size: 52px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.carousel-btn:hover {
  opacity: 1;
  color: var(--or);
}

.carousel-btn.prev {
  left: 28px;
}

.carousel-btn.next {
  right: 28px;
}

.carousel-dots {
  position: absolute;
  z-index: 5;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.dot:hover {
  transform: scale(1.2);
}

.dot.active {
  background: var(--or);
}

/* ==========================================================
   06. INTRO + COMPTE Ã€ REBOURS
========================================================== */

.intro {
  background: var(--blanc);
  text-align: center;
  padding: 80px 30px 90px;
  border-bottom: 1px solid var(--ligne);

}

.intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 70px;
}

.intro p {
  margin-bottom: 45px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 55px;
}

.countdown-item {
  width: 128px;
  height: 128px;
  border-right: 1px solid var(--ligne);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-item:last-child {
  border-right: none;
}

.countdown-item span {
  font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1;
}

.countdown-item p {
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ==========================================================
   07. BOUTONS PRINCIPAUX
========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 15px 38px;
  background: var(--or);
  color: white;
  border: 2px solid var(--or);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: 0.35s ease;
  box-shadow: 0 10px 26px rgba(199, 154, 46, 0.18);
}

.btn:hover {
  background: transparent;
  color: var(--or);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(199, 154, 46, 0.25);
}

/* ==========================================================
   08. TITRES DE SECTION
========================================================== */

.section-heading {
  text-align: center;
  margin-bottom: 58px;
}

.section-heading p {
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 500;
}

.section-heading::after {
  content: "";
  display: block;
  width: 86px;
  height: 1px;
  background: var(--or);
  margin: 24px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s ease;
}

.reveal.is-visible .section-heading::after,
.section-heading.is-visible::after {
  transform: scaleX(1);
}

/* ==========================================================
   09. SECTION LE WEEK-END
========================================================== */

.weekend {
  background: var(--beige);
  padding: 72px 40px 82px;
  border-bottom: 1px solid var(--ligne);
}

.weekend-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.weekend-card {
  padding: 20px 42px 30px;
  text-align: center;
  min-height: 300px;
  border-right: 1px solid var(--ligne);
  transition: transform 0.35s ease;
}

.weekend-card:hover {
  transform: translateY(-4px);
}

.weekend-card:last-child {
  border-right: none;
}

.weekend-card .day {
  color: var(--vert);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 95px;
}

.weekend-card:nth-child(2) .day,
.weekend-card .day.day-blue {
  color: var(--bleu-samedi);
}

.weekend-card .day.pink {
  color: var(--rose);
}

.weekend-card h3,
.detail-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  font-weight: 500;
  margin-bottom: 20px;
}

.weekend-card h3 {
  position: relative;
  margin-top: 0;
}

.weekend-card p,
.detail-card p {
  font-size: 15px;
}

.program-note {
  margin-top: 18px;
  font-size: 14px;
  font-style: italic;
  color: rgba(18, 58, 111, 0.68);
}

/* ==========================================================
   10. EMOJIS PERSONNALISÃ‰S
========================================================== */

.program-icon {
  position: absolute;
  top: -130px;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.program-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.weekend-card:hover .program-icon img {
  transform: scale(1.04);
}

.info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.info-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.detail-card:hover .info-icon img {
  transform: scale(1.06);
}

.dress-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.dress-icons img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* ==========================================================
   11. SECTION LE DOMAINE
========================================================== */

.domaine {
  background: var(--blanc);
  padding: 90px 40px 100px;
  border-bottom: 1px solid var(--ligne);
}

.domaine-content {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 58px;
  align-items: center;
}

.domaine-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
}

.domaine-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.domaine-photo-large {
  grid-row: span 2;
}

.domaine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.domaine-photo:hover img {
  transform: scale(1.04);
}

.domaine-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 28px;
}

.domaine-text p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 35px;
}

/* ==========================================================
   12. INFORMATIONS PRATIQUES
========================================================== */

.details {
  background: var(--beige);
  padding: 90px 40px;
  border-bottom: 1px solid var(--ligne);
}

.details-grid {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.detail-card {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  padding: 42px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.detail-card ul {
  text-align: left;
  max-width: 430px;
  margin: 18px auto;
  font-size: 14px;
}

.detail-card li {
  margin-bottom: 8px;
}

/* ==========================================================
   13. CAGNOTTE
========================================================== */

.gift {
  background: var(--blanc);
  padding: 90px 30px;
  text-align: center;
}

.gift-box {
  max-width: 780px;
  margin: auto;
}

.gift p {
  max-width: 620px;
  margin: 0 auto 34px;
}

/* ==========================================================
   14. FOOTER
========================================================== */

.footer {
  background: #0f3c79;
  padding: 50px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
}

.footer-logo img {
  width: 350px;
}

.footer-divider {
  width: 1px;
  height: 180px;
  background: rgba(255, 255, 255, 0.35);
}

.footer-text {
  color: white;
  text-align: center;
}

.footer-text h3 {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-text p {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

.footer-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-separator span {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.footer-separator i {
  font-style: normal;
  color: white;
  font-size: 14px;
}

/* ==========================================================
   15. PAGE RSVP
========================================================== */

.rsvp-form {
  max-width: 760px;
  margin: auto;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  padding: 48px;
}

.rsvp-form label {
  display: block;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 14px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--ligne);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: var(--bleu);
}

.rsvp-form input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

/* ==========================================================
   16. ANIMATIONS AU SCROLL
========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal .weekend-card,
.reveal .detail-card {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible .weekend-card,
.reveal.is-visible .detail-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible .weekend-card:nth-child(1),
.reveal.is-visible .detail-card:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal.is-visible .weekend-card:nth-child(2),
.reveal.is-visible .detail-card:nth-child(2) {
  transition-delay: 0.25s;
}

.reveal.is-visible .weekend-card:nth-child(3) {
  transition-delay: 0.4s;
}

.secret-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.secret-link:hover {
  color: var(--or);
}

/* ===============================
   BONUS
================================ */

.bonus {

    max-width: 1300px;
    margin: 120px auto 100px;
    padding: 0 40px;
    text-align: center;
}

.bonus h1{
    font-size:3.8rem;
    color:var(--bleu);
    margin-bottom:10px;
}

.bonus h2{
    font-size:2rem;
    margin-bottom:30px;
    color:var(--bleu);
}

.bonus p{
    max-width:700px;
    margin:0 auto 60px;
    font-size:1.15rem;
    line-height:1.8;
}

.bonus-gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.bonus-gallery img{
    width:100%;
    height:650px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
    transition:.4s;
}

.bonus-gallery img:hover{
    transform:scale(1.02);
}

.bonus-end{
    margin-top:50px;
    font-style:italic;
    opacity:.8;
}

@media (max-width:900px){

.bonus{
margin-top:100px;
padding:0 20px;

}

.bonus-gallery{

grid-template-columns:1fr;

}

.bonus-gallery img{
height:420px;

}

.bonus h1{
font-size:2.8rem;

}

.bonus h2{
font-size:1.6rem;

}

}


/* ==========================================================
   17. RESPONSIVE TABLETTE
========================================================== */
@media (min-width: 851px) and (max-width: 1200px) {
  .dot {
    width: 9px;
    height: 9px;
  }

  .carousel-dots {
    gap: 9px;
    bottom: 18px;
  }

  .hero-place {
    margin-bottom: 42px;
  }
   
    .hero-content{
        left: 72%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 1050px) {
  .header-inner {
    padding: 8px 28px;
  }

  .brand-logo {
    width: 112px;
    height: 112px;
  }

  .main-nav ul {
    gap: 24px;
  }

  .hero-content {
    right: 4%;
    width: 500px;
  }

  .hero-logo-desktop {
    width: 235px;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .domaine-content {
    grid-template-columns: 1fr;
  }

  .domaine-text {
    text-align: center;
  }
}

/* ==========================================================
   18. RESPONSIVE MOBILE
========================================================== */

@media (max-width: 850px) {
  #accueil,
  #weekend,
  #domaine,
  #details,
  #cagnotte {
    scroll-margin-top: 110px;
  }

.domaine-gallery {
  grid-template-columns: 1fr;
  grid-template-rows: 280px 230px 230px;
  gap: 18px;
}

.domaine-photo {
  width: 100%;
}

.domaine-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  .domaine-photo-large {
    grid-row: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 8px 24px;
  }

  .brand-logo {
    width: 105px;
    height: 105px;
  }

  #menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--bleu);
    font-size: 34px;
    cursor: pointer;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
  }

  .main-nav ul.open {
    display: flex;
  }

  .hero-carousel {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--beige);
  }

  .carousel-slides {
    position: relative;
    inset: auto;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: var(--bleu);
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide-bg {
    display: block;
    filter: blur(26px) brightness(0.75);
    transform: scale(1.16);
    opacity: 0.7;
  }

  .hero-slide.active .slide-bg {
    transform: scale(1.16);
  }

  .slide-photo {
    width: auto;
    height: auto;
    max-width: 86vw;
    max-height: 430px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  }

  .hero-overlay {
    display: none;
  }

  .carousel-dots {
    position: relative;
    z-index: 8;
    left: auto;
    bottom: auto;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 32px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .carousel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 280px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 1;
    transition: 0.25s;
    z-index: 20;
  }

  .carousel-btn.prev {
    left: 14px;
  }

  .carousel-btn.next {
    right: 14px;
  }

  .carousel-btn:active {
    transform: translateY(-50%) scale(0.94);
  }

  .carousel-btn.animate.prev {
    animation: hintLeft 0.8s ease-in-out 3;
  }

  .carousel-btn.animate.next {
    animation: hintRight 0.8s ease-in-out 3;
  }

  .hero-content {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    padding: 46px 24px 74px;
    color: var(--bleu);
    background: var(--beige);
  }

  .hero-logo-desktop {
    display: none;
  }

  .hero-logo-mobile {
    display: block;
    width: 170px;
    height: 170px;
    margin: 0 auto 18px;
}

  .hero-content h1 {
    color: var(--bleu);
    font-size: 46px;
  }

  .hero-text {
    color: var(--bleu);
    font-size: 21px;
  }

  .hero-date {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .hero-place {
    color: var(--bleu);
    font-size: 18px;
  }

  .weekend {
    padding: 60px 22px;
  }

  .weekend-grid,
  .details-grid,
  .domaine-content {
    grid-template-columns: 1fr;
  }

  .weekend-card {
    min-height: auto;
    padding: 36px 24px 48px;
    border-right: none;
    border-bottom: 1px solid var(--ligne);
  }

  .weekend-card:last-child {
    border-bottom: none;
  }

  .weekend-card .day {
    margin-bottom: 75px;
  }

  .program-icon {
    top: -85px;
    width: 105px;
    height: 105px;
  }

  .domaine-text {
    text-align: center;
  }
}

/* ==========================================================
   19. RESPONSIVE MOBILE FOOTER
========================================================== */

@media (max-width: 768px) {
  .footer {
    padding: 70px 30px;
  }

  .footer-content {
    flex-direction: column;
    gap: 35px;
  }

  .footer-divider {
    width: 140px;
    height: 1px;
  }

  .footer-logo img {
    width: 180px;
  }

  .footer-text {
    text-align: center;
  }

  .footer-text h3 {
    font-size: 38px;
  }

  .footer-text p {
    font-size: 22px;
  }

  .footer-separator {
    justify-content: center;
  }
}

/* ==========================================================
   20. PETITS MOBILES
========================================================== */

@media (max-width: 520px) {
  .brand-logo {
    width: 92px;
    height: 92px;
  }

  .carousel-slides {
    height: 510px;
  }

  .carousel-btn {
    top: 255px;
  }

  .slide-photo {
    max-width: 88vw;
    max-height: 395px;
  }

  .hero-logo-mobile {
    width: 120px;
    height: 120px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .intro,
  .weekend,
  .domaine,
  .details,
  .gift,
  .gift-list-hero,
  .gift-category,
  .gift-free {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 34px;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-item {
    width: 76px;
    height: 92px;
  }

  .countdown-item span {
    font-size: 30px;
  }

  .countdown-item p {
    font-size: 10px;
    letter-spacing: 1px;
  }

.domaine-gallery {
  grid-template-rows: 260px 220px 220px;
}

  .detail-card,
  .rsvp-form {
    padding: 30px 22px;
  }

  .btn {
    width: 100%;
    max-width: 330px;
    min-width: 0;
  }
}

/* ==========================================================
   21. KEYFRAMES
========================================================== */

@keyframes hintLeft {
  0% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(-6px);
  }

  100% {
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes hintRight {
  0% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(6px);
  }

  100% {
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes photoEnter {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================
   22. ACCESSIBILITÃ‰
========================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   LISTE DE MARIAGE
========================================================== */

.gift-list-hero {
  background: var(--blanc);
  padding: 90px 30px 70px;
  text-align: center;
  border-bottom: 1px solid var(--ligne);
}

.gift-list-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
}

.gift-category {
  padding: 70px 40px;
  border-bottom: 1px solid var(--ligne);
   
}

.gift-light {
  background: var(--blanc);
}

.gift-beige {
  background: var(--beige);
}

.gift-category-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.gift-category-heading span {
  font-size: 42px;
  display: block;
  margin-bottom: 12px;
}

.gift-category-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 18px;
}

.gift-category-heading p {
  font-size: 16px;
  line-height: 1.8;
}

.gift-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gift-card {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(18, 58, 111, 0.12);
}

.gift-card-icon {
  font-size: 44px;
  margin-bottom: 22px;
}

.gift-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 14px;
}

.gift-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.gift-btn {
  border: 1px solid var(--or);
  background: transparent;
  color: var(--or);
  padding: 12px 28px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.gift-btn:hover {
  background: var(--or);
  color: white;
}

.gift-free {
  padding: 90px 30px;
  text-align: center;
}

.gift-free h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 20px;
}

.gift-free p {
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-category {
    padding: 60px 24px;
  }

  .gift-category-heading h2,
  .gift-free h2 {
    font-size: 34px;
  }
}

/* ==========================================================
   CARTES VOYAGE AVEC PHOTOS
========================================================== */

.gift-grid-travel {
  max-width: 1320px;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.gift-card-photo {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blanc);
  display: flex;
  flex-direction: column;
}

/* ==========================================================
   IMAGES PREMIUM
========================================================== */

.gift-image{

    position:relative;

    height:280px;

    overflow:hidden;

    border-radius:18px 18px 0 0;

    isolation:isolate;

    background:#ece8df;

}

/* image floue en fond */

.gift-image::before{

    content:"";

    position:absolute;

    inset:-40px;

    background-image:var(--bg);

    background-size:cover;

    background-position:center;

    filter:blur(32px) saturate(140%) brightness(.95);

    transform:scale(1.35);

    opacity:.95;

    z-index:0;

}

/* léger voile élégant */

.gift-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at center,
        transparent 35%,
        rgba(255,255,255,.05) 70%,
        rgba(255,255,255,.12) 100%);

    z-index:1;

}

/* image nette */

.gift-image img{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    max-width:100%;
    max-height:100%;

    width:auto;
    height:auto;

    object-fit:contain;

    z-index:2;

    transition:transform .45s ease;

}

/* zoom léger */

.gift-card-photo:hover .gift-image img{

    transform:translate(-50%,-50%) scale(1.04);

}

.gift-card-body {
  padding: 20px 22px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-card-photo h3 {
  font-family: "Montserrat", sans-serif;
  min-height: 52px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.gift-price {
  font-family: "Playfair Display", serif;
  color: var(--or);
  font-size: 30px;
  font-weight: 600;
  margin: 0 auto 20px;
  padding-top: 16px;
  width: 80%;
  border-top: 1px solid rgba(199, 154, 46, 0.45);
}

.gift-card-photo .gift-btn {
  margin-top: auto;
  align-self: center;
  min-width: 170px;
}

@media (max-width: 1100px) {
  .gift-grid-travel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .gift-grid-travel {
    grid-template-columns: 1fr;
  }

  .gift-card-photo img {
    height: 220px;
  }
}

/* ==========================================================
   MODALE PARTICIPATION CADEAU
========================================================== */

.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gift-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 38, 70, 0.55);
  backdrop-filter: blur(6px);
}

.gift-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--blanc);
  border-radius: 18px;
  padding: 42px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.gift-modal-x {
  position: absolute;
  top: 18px;
  right: 22px;
  border: none;
  background: transparent;
  color: var(--bleu);
  font-size: 34px;
  cursor: pointer;
}

.gift-modal-header {
  text-align: center;
  margin-bottom: 34px;
}

.gift-modal-header p {
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.gift-modal-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 12px;
}

.gift-modal-header span {
  display: inline-block;
  color: var(--or);
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 600;
}

.gift-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gift-modal-form label {
  display: block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}

.gift-modal-form input,
.gift-modal-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--ligne);
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: var(--bleu);
}

.gift-modal-form input:focus,
.gift-modal-form textarea:focus {
  outline: none;
  border-color: var(--or);
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}

.checkbox-line input {
  width: auto;
  flex-shrink: 0;
  margin: 0;
}

#gift-amount:disabled {
  background: #f4f0ea;
  color: rgba(18, 58, 111, 0.6);
}

.gift-modal-form .btn {
  display: block;
  width: 100%;
  max-width: 330px;
  margin: 22px auto 0;
}

/* Jauge de participation */

.gift-progress {
  width: 100%;
  margin: 0 auto 22px;
}

.gift-progress-bar {
  width: 100%;
  height: 7px;
  background: rgba(199, 154, 46, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.gift-progress-bar span {
  display: block;
  height: 100%;
  background: var(--or);
  border-radius: 999px;
}

.gift-progress p {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(18, 58, 111, 0.7);
  text-align: center;
}

/* Modale de remerciement */

.gift-thanks-box {
  max-width: 520px;
  text-align: center;
}

.gift-thanks-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 18px;
}

.gift-thanks-box p {
  margin-bottom: 32px;
  line-height: 1.8;
}

@media (max-width: 650px) {
  .gift-modal-box {
    padding: 34px 24px;
  }

  .gift-modal-header h2 {
    font-size: 30px;
  }
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 34px 0 26px;
}

.payment-card {
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 26px 22px;
  background: var(--beige);
  text-align: center;
}

.payment-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
}

.payment-card p {
  margin-bottom: 18px;
  font-size: 14px;
}

.payment-card strong {
  display: block;
  color: var(--bleu);
  font-size: 22px;
  margin-bottom: 20px;
}

.bank-details {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.payment-card .gift-btn {
  width: 100%;
  max-width: 220px;
}

.payment-note {
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(18, 58, 111, 0.75);
}

.copy-btn.copied {
  background: var(--or);
  color: white;
}

@media (max-width: 700px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

.gift-btn-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.gift-card-funded {
  opacity: 0.78;
  box-shadow: inset 0 0 0 2px rgba(199, 154, 46, 0.45),
              0 18px 45px rgba(18, 58, 111, 0.14);
}

.gift-card-funded::after {
  content: "Cadeau offert";
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--or);
  color: white;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.gift-card-photo {
  position: relative;
}

.gift-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 35px auto 0;
}

.gift-tabs a {
  border: 1px solid var(--or);
  color: var(--bleu);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gift-tabs a:hover {
  background: var(--or);
  color: white;
}

.gift-category,
.gift-free {
  scroll-margin-top: 115px;
}
