:root{
  --cream:#fffaf0;
  --cream2:#fff4d7;
  --gold:#c7a33d;
  --gold-dark:#9e7b16;
  --ink:#24282b;
  --muted:#756f65;
  --white:#fffdf8;
  --line:rgba(199,163,61,.22);
  --shadow:0 18px 50px rgba(79,61,20,.12);
  --success:#2f7d4a;
  --danger:#b53d2e;
  --info:#6b5c2c;
}

html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:"DM Sans", Arial, sans-serif;
  line-height:1.6;
}

button,a,input,select{font:inherit}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.topbar{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,250,240,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

.nav{
  width:min(1120px,calc(100% - 28px));
  margin:auto;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 18px;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  flex:0 0 auto;
}

.brand img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
}

.brand2 img{
  width:100%;
  height:100%;
  object-fit:cover;
  margin:0 auto;
  border-radius:24px;
  box-shadow:var(--shadow);
  display:block;
}

.brand span{
  font-family:"Cormorant Garamond", serif;
  font-size:22px;
  font-weight:700;
}

.affiche{
  width:100%;
  max-width:600px;
  display:block;
  margin:0 auto;
  border-radius:24px;
  box-shadow:var(--shadow);
}

.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  flex-wrap:wrap;
  flex:1 1 auto;
  margin-left:auto;
  min-width:0;
}

.menu button{
  border:0;
  background:transparent;
  color:var(--muted);
  padding:10px 13px;
  border-radius:999px;
  cursor:pointer;
  white-space:nowrap;
  font-size:14px;
  font-weight:600;
  transition:.2s ease;
  flex:0 0 auto;
}

.menu button:hover,
.menu button.active{
  background:rgba(199,163,61,.13);
  color:var(--gold-dark);
}

.menu .join{
  background:var(--ink);
  color:#fff;
}

.menu .join.active,
.menu .join:hover{
  background:var(--gold);
  color:#fff;
}

.hero{
  min-height:250px;
  display:grid;
  place-items:center;
  padding:55px 20px 65px;
  background:
    radial-gradient(circle at 18% 15%,rgba(255,255,255,.95),transparent 30%),
    radial-gradient(circle at 85% 15%,rgba(255,225,135,.28),transparent 32%),
    linear-gradient(145deg,#fffdf7,#fff2d0);
  position:relative;
  overflow:hidden;
}

.hero:before{
  position:absolute;
  left:8%;
  top:45px;
  color:var(--gold);
  font-size:30px;
}

.hero:after{
  position:absolute;
  right:9%;
  bottom:55px;
  color:var(--gold);
  font-size:42px;
}

.hero-inner{
  width:min(1120px,100%);
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:60px;
  align-items:center;
}

.eyebrow{
  color:var(--gold-dark);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:700;
}

h1{
  margin:8px 0 12px;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(55px,8vw,90px);
  line-height:.86;
  font-weight:600;
}

.script{
  display:block;
  font-family:"Parisienne",cursive;
  font-size:.7em;
  font-weight:400;
}

.date{
  display:inline-block;
  padding:7px 17px;
  background:#fff;
  border-radius:9px;
  font-family:"Cormorant Garamond",serif;
  font-size:24px;
  font-weight:700;
  box-shadow:0 8px 25px rgba(80,60,20,.08);
}

.hero p{
  max-width:570px;
  color:var(--muted);
  font-size:17px;
  margin:22px 0;
}

.poster{
  width:min(330px,100%);
  justify-self:center;
  border:6px solid rgba(255,255,255,.8);
  border-radius:24px;
  box-shadow:var(--shadow);
  transform:rotate(1deg);
}

main{
  width:min(1120px,calc(100% - 28px));
  margin:auto;
}

.panel{
  display:none;
  padding:80px 0 95px;
  min-height:520px;
  animation:fade .28s ease;
}
.panel.active{display:block}

@keyframes fade{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}

.section-title{
  text-align:center;
  margin-bottom:42px;
}

.small{
  font-family:"Parisienne",cursive;
  color:var(--gold-dark);
  font-size:31px;
}

h2{
  margin:0;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(42px,5vw,60px);
  line-height:1;
}

.intro{
  max-width:720px;
  margin:15px auto 0;
  text-align:center;
  color:var(--muted);
}

.intro a{
  color:var(--gold-dark);
  font-weight:600;
  text-decoration:underline;
}

.icon{
  font-size:30px;
  color:var(--gold);
  margin-bottom:10px;
}


.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 24px;
  justify-content: center;
}

.stat {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  text-align: center;
  box-sizing: border-box;
  min-width: 0;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 5vw, 42px);
  color: var(--gold-dark);
  line-height: 1.2;
}

.stat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive mobile */
@media (max-width: 480px) {
  .stats {
    gap: 10px;
    max-width: 100%;
  }

  .stat {
    padding: 20px 10px;
    border-radius: 16px;
  }

  .stat span {
    font-size: 12px;
  }
}

.box{
  max-width:760px;
  margin:auto;
  text-align:center;
}

.box button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:13px 23px;
  background:var(--ink);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:13px 23px;
  background:var(--ink);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn.gold{background:var(--gold)}
.btn[disabled]{opacity:.6;cursor:not-allowed;transform:none}

footer{
  padding:42px 20px;
  background:#24282b;
  color:#fff;
  text-align:center;
  margin-top:50px;
}

footer img{
  width:62px;
  height:62px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 12px;
}

footer p{
  margin:5px 0;
  opacity:.7;
  font-size:13px;
}

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(36,40,43,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:1000;
}
.modal-overlay.open{display:flex}

.modal{
  width:min(560px,100%);
  background:#fffdf8;
  border-radius:24px;
  padding:10px 10px;
  box-shadow:0 24px 60px rgba(0,0,0,.18);
  position:relative;
  border:1px solid var(--line);
  animation:modalIn .22s ease;
}

@keyframes modalIn{
  from{opacity:0; transform:translateY(10px) scale(.98)}
  to{opacity:1; transform:none}
}

.modal h3{
  margin:0 0 8px;
  font-family:"Cormorant Garamond",serif;
  font-size:38px;
  line-height:1;
}

.modal-intro{
  margin:0 0 20px;
  color:var(--muted);
}

.modal-close{
  position:absolute;
  top:20px;
  right:24px;
  border:0;
  background:transparent;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  color:var(--muted);
}

.form-row{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
  text-align:left;
}

.form-row label{
  font-weight:600;
  color:var(--ink);
}

.form-row input,
.form-row select{
  width:90%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:5px 10px;
  font:inherit;
  color:var(--ink);
}

.form-row input:focus,
.form-row select:focus{
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(199,163,61,.15);
}

.form-actions{
  margin-top:20px;
  display:flex;
  justify-content:flex-end;
}

.form-status{
  margin-top:14px;
  min-height:24px;
  font-size:14px;
}
.form-status.success{color:var(--success)}
.form-status.error{color:var(--danger)}
.form-status.info{color:var(--info)}

.success-box{
  text-align:center;
  padding:12px 4px 8px;
}
.success-box .emoji{
  font-size:44px;
  margin-bottom:8px;
}
.success-box p{
  color:var(--muted);
  margin:8px 0 0;
}

.hp-wrap{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Conteneur des logos */
.contact-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

/* Liens des logos */
.contact-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

/* Images */
.contact-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

button:disabled {
    background-color: #e0e0e0;
    color: #888888;
    border-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

[hidden]{display:none !important;}

@media(max-width:820px){
  .nav{
    min-height:68px;
    align-items:center;
    gap:10px;
  }

  .brand span{
    display:none;
  }

  .menu{
    flex:1;
    justify-content:flex-start;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px;
  }

  .menu button{
    flex:0 0 auto;
    padding:9px 10px;
    font-size:13px;
  }

  .menu .join{
    padding-left:14px;
    padding-right:14px;
  }
}
