
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

:root {
  --white:     #ffffff;
  --champagne: #f7f0e3;
  --champ-dk:  #ecdfc8;
  --terra:     #c0564a;
  --terra-lt:  #e8a090;
  --fuchsia:   #f70f8f;
  --gold:      #c9a84c;
  --gold-lt:   #e8d5a0;
  --olive:     #6b7a45;
  --olive-lt:  #a8b87a;
  --olive-bg:  #eef1e6;
  --dark:      #2a2318;
  --muted:     #8a7e74;
  --line:      #e4ddd4;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--champagne);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 52px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-logo.visible {
  opacity: 1;
  visibility: visible;
}

nav ul { list-style:none; display:flex; gap:32px; }
nav .desktop-menu { list-style:none; display:flex; gap:32px; }

nav a {
  text-decoration: none;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

nav a:hover { color: var(--terra); }

/* Menu hamburger (caché par défaut sur desktop) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu mobile déroulant */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--white) 50%, var(--olive-bg) 100%);
  z-index: 250;
  transition: left 0.3s ease;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  padding-top: 80px;
  overflow-y: auto;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--fuchsia), var(--gold));
}

.mobile-menu::after {
  content: '✦';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--gold);
  opacity: 0.4;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  position: relative;
}

.mobile-menu-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.mobile-menu-content a {
  padding: 18px 32px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  border-left: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
  background: transparent;
}

.mobile-menu-content a::before {
  content: '❖';
  position: absolute;
  left: 12px;
  opacity: 0;
  color: var(--gold);
  font-size: 10px;
  transition: all 0.3s;
}

.mobile-menu-content a:hover::before,
.mobile-menu-content a:active::before {
  opacity: 1;
  left: 16px;
}

.mobile-menu-content a:hover,
.mobile-menu-content a:active {
  background: rgba(255, 255, 255, 0.6);
  border-left-color: var(--gold);
  color: var(--terra);
  padding-left: 40px;
}

.mobile-menu-content a:not(:last-child) {
  border-bottom: 1px solid rgba(107, 122, 69, 0.1);
}

/* Ornement en bas du menu */
.mobile-menu-content::after {
  content: '◆ ❋ ◆';
  display: block;
  text-align: center;
  padding: 30px 0;
  color: var(--gold);
  font-size: 12px;
  opacity: 0.3;
  letter-spacing: 0.5em;
}

/* ── HERO ── */
#hero {
  min-height: auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 60px 40px 40px;
  position: relative;
  overflow: hidden;
}

.hero-arch {
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 0;
  border: 2px solid var(--olive);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 6% 6% 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.hero-arch-inner {
  position: absolute;
  top: 22px; left: 22px; right: 22px; bottom: 0;
  border: 1px solid var(--terra);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 6% 6% 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.hero-top {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s 0.2s forwards;
}

.hero-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(52px, 10vw, 110px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: none;
  line-height: 1.1;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-name-line { display: block; }
.hero-names .amp { color: var(--terra); font-style: italic; font-size: 0.75em; }

.hero-subnav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 18px 0 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1s 0.38s forwards;
}

.hero-subnav a {
  text-decoration: none;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.hero-subnav a:hover { color: var(--olive); }

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s 0.55s forwards;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--champ-dk) 0%, var(--olive-bg) 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-photo img { width:100%; height:100%; object-fit:cover; object-position: center 25%; display:block; }

.hero-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--olive-lt);
}

.hero-ph-icon { font-size: 44px; }

.hero-ph-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-photo-btn {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  padding: 6px 14px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: background 0.2s;
}

.hero-photo-btn:hover { background: var(--white); }

.hero-bottom {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
}

.hero-date-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.hero-location {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-rsvp-btn {
  display: inline-block;
  padding: 12px 38px;
  border: 1px solid var(--dark);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  margin-bottom: 28px;
  display: inline-block;
}

.hero-rsvp-btn:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }

.hero-invite-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── SECTION SHARED ── */
.sec { max-width: 960px; margin:0 auto; padding:96px 48px; }

.tag {
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.tag::before, .tag::after {
  content:'';
  height:1px;
  width:36px;
  flex-shrink:0;
}

.script-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 6px;
}

.serif-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  text-align: center;
  margin-bottom: 52px;
}

/* ── HISTOIRE (white bg) ── */
#histoire { background: var(--white); max-width:100%; padding:96px 48px; }
#histoire .tag { color: var(--olive); }
#histoire .tag::before, #histoire .tag::after { background: var(--olive-lt); }
#histoire .script-title { color: var(--terra); }

.hist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.hist-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--champ-dk) 0%, var(--olive-bg) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hist-frame::after {
  content:'';
  position:absolute;
  inset:14px;
  border:1px solid rgba(107,122,69,0.3);
}

.hist-monogram {
  font-family: 'Great Vibes', cursive;
  font-size: 96px;
  color: rgba(107,122,69,0.25);
}

.hist-frame-tag {
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  font-size:9px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color: var(--olive);
  font-weight:300;
  white-space:nowrap;
}

.hist-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 22px;
}

.tl { border-top:1px solid var(--line); margin-top:28px; }

.tl-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.tl-yr {
  font-family: 'Great Vibes', cursive;
  font-size: 20px;
  color: var(--gold);
}

.tl-txt { font-size:13px; font-weight:300; color:var(--muted); line-height:1.5; }
.tl-txt strong { font-weight:400; color:var(--dark); display:block; font-size:12px; letter-spacing:0.05em; margin-bottom:2px; }

/* ── CÉRÉMONIES (olive bg) ── */
#ceremonies { background: var(--olive-bg); max-width:100%; padding:96px 48px; }
#ceremonies .inner { max-width:960px; margin:0 auto; }
#ceremonies .tag { color: var(--olive); }
#ceremonies .tag::before, #ceremonies .tag::after { background: var(--olive-lt); }
#ceremonies .script-title { color: var(--fuchsia); }

.cer-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

/* Mariage civil centré en haut, prend toute la largeur mais limité */
.cer-grid .cer-card:first-child {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto 16px auto;
}

.cer-card {
  background: var(--white);
  border: 1px solid rgba(107,122,69,0.2);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.cer-card:hover { transform:translateY(-4px); box-shadow:0 16px 48px rgba(0,0,0,0.07); }

.cer-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
}

.cer-icon { font-size:22px; margin-bottom:14px; display:block; }

.cer-type {
  font-size:9px;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:300;
  margin-bottom:6px;
}

.cer-name {
  font-family:'Great Vibes', cursive;
  font-size:30px;
  color:var(--terra);
  line-height:1.1;
  margin-bottom:20px;
}

.cer-info { display:flex; flex-direction:column; gap:8px; }

.cer-row {
  display:grid;
  grid-template-columns:52px 1fr;
  gap:8px;
  align-items:baseline;
}

.cer-lbl {
  font-size:8px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:300;
}

.cer-val { font-size:13px; font-weight:300; color:var(--muted); line-height:1.5; }

/* ── DRESS CODE (champagne bg) ── */
#dresscode { background: var(--champagne); max-width:100%; padding:96px 48px; }
#dresscode .inner { max-width:960px; margin:0 auto; }
#dresscode .tag { color: var(--terra); }
#dresscode .tag::before, #dresscode .tag::after { background: var(--terra-lt); }
#dresscode .script-title { color: var(--olive); }

.dc-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

.dc-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
}

.dc-card::before {
  content:'';
  display:block;
  height:3px;
  background: linear-gradient(90deg, var(--fuchsia), var(--gold));
  margin-bottom:24px;
  border-radius:2px;
}

.dc-hdr { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.dc-ico { font-size:26px; }

.dc-title {
  font-family:'Great Vibes', cursive;
  font-size:28px;
  color:var(--fuchsia);
  line-height:1;
}

.dc-sub {
  font-size:9px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:300;
  margin-top:3px;
}

.dc-quote {
  font-family:'Cormorant Garamond', serif;
  font-size:17px;
  font-style:italic;
  color:var(--muted);
  line-height:1.6;
  margin-bottom:20px;
  padding-left:14px;
  border-left:2px solid var(--terra-lt);
}

.pal-lbl {
  font-size:8px;
  letter-spacing:0.26em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:300;
  margin-bottom:10px;
}

.palette { display:flex; height:38px; gap:4px; }
.sw { flex:1; border-radius:20px; transition:flex 0.3s; cursor:default; }
.sw:hover { flex:2; }

/* ── CADEAUX (white) ── */
#cadeaux { background: var(--white); max-width:100%; padding:96px 48px; }
#cadeaux .inner { max-width:960px; margin:0 auto; }
#cadeaux .tag { color: var(--fuchsia); }
#cadeaux .tag::before, #cadeaux .tag::after { background: rgba(247,15,143,0.3); }
#cadeaux .script-title { color: var(--terra); }

.cad-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }

.cad-msg {
  font-family:'Cormorant Garamond', serif;
  font-size:22px;
  font-style:italic;
  font-weight:300;
  color:var(--dark);
  line-height:1.7;
  margin-bottom:16px;
}

.cad-sub { font-size:13px; font-weight:300; color:var(--muted); line-height:1.8; }

.rib-card {
  background: var(--champagne);
  border:1px solid var(--champ-dk);
  padding:36px 28px;
  text-align:center;
}

.rib-card::before {
  content:'';
  display:block;
  height:3px;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  margin-bottom:20px;
  border-radius:2px;
}

.rib-icon { font-size:32px; margin-bottom:10px; display:block; }

.rib-title {
  font-family:'Great Vibes', cursive;
  font-size:26px;
  color:var(--olive);
  margin-bottom:16px;
}

.rib-zone {
  border:2px dashed rgba(107,122,69,0.3);
  min-height:160px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:24px;
  background:rgba(255,255,255,0.6);
}

.rib-zone-icon { font-size:26px; color:var(--olive-lt); }
.rib-zone-text { font-size:10px; letter-spacing:0.15em; text-transform:uppercase; color:var(--muted); font-weight:300; }
.rib-zone img { width:100%; height:auto; display:block; }

.pal-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  justify-content: center;
}

.pal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: calc(33.33% - 12px);
  max-width: 80px;
}

.pal-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pal-name {
  font-size: 10px;
  font-weight: 400;
  color: var(--dark);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.pal-code {
  font-size: 9px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-family: monospace;
}

/* ── GALERIE (olive bg) ── */
#galerie { background: var(--olive-bg); max-width:100%; padding:96px 48px; }
#galerie .inner { max-width:960px; margin:0 auto; }
#galerie .tag { color: var(--olive); }
#galerie .tag::before, #galerie .tag::after { background: var(--olive-lt); }
#galerie .script-title { color: var(--gold); }

.gal-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.g-slot {
  aspect-ratio:1;
  background: var(--champ-dk);
  border:1px solid rgba(107,122,69,0.2);
  overflow:hidden;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color 0.3s;
  position:relative;
}

.g-slot:hover { border-color:var(--olive); }
.g-slot img { width:100%; height:100%; object-fit:contain; transition:transform 0.5s; }
.g-slot:hover img { transform:scale(1.04); }

.g-empty { display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--olive-lt); }
.g-empty-icon { font-size:22px; }
.g-empty-lbl { font-size:8px; letter-spacing:0.18em; text-transform:uppercase; font-weight:300; color:var(--muted); }

.gal-btn {
  display:block;
  margin:24px auto 0;
  padding:12px 36px;
  border:1px solid var(--olive);
  background:transparent;
  color:var(--olive);
  font-family:'Jost', sans-serif;
  font-size:9px;
  font-weight:300;
  letter-spacing:0.25em;
  text-transform:uppercase;
  cursor:pointer;
  border-radius:30px;
  transition:background 0.3s, color 0.3s;
}

.gal-btn:hover { background:var(--olive); color:var(--white); }

/* ── CONTACT (champagne) ── */
#contact { background: var(--champagne); max-width:100%; padding:96px 48px; }
#contact .inner { max-width:960px; margin:0 auto; text-align:center; }
#contact .tag { color: var(--gold); }
#contact .tag::before, #contact .tag::after { background: var(--gold-lt); }
#contact .script-title { color: var(--fuchsia); }

.cnt-card {
  max-width:380px;
  margin:0 auto;
  background:var(--white);
  border:1px solid var(--line);
  padding:44px 36px;
  position:relative;
}

.cnt-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background: linear-gradient(90deg, var(--terra), var(--fuchsia), var(--gold));
}

.cnt-icon { font-size:28px; display:block; margin-bottom:10px; }

.cnt-script {
  font-family:'Great Vibes', cursive;
  font-size:34px;
  color:var(--gold);
  margin-bottom:20px;
}

.cnt-info a {
  display:block;
  font-size:13px;
  font-weight:300;
  color:var(--muted);
  text-decoration:none;
  line-height:2.2;
  transition:color 0.25s;
}

.cnt-info a:hover { color:var(--terra); }

/* ── RSVP (white) ── */
#rsvp {
  background: var(--white);
  padding:96px 48px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

#rsvp::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(192,86,74,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(107,122,69,0.07) 0%, transparent 55%);
  pointer-events:none;
}

.rsvp-icon { font-size:36px; display:block; margin-bottom:16px; }

.rsvp-tag {
  font-size:9px;
  letter-spacing:0.4em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:300;
  margin-bottom:8px;
}

.rsvp-title {
  font-family:'Great Vibes', cursive;
  font-size:clamp(48px,7vw,80px);
  color:var(--fuchsia);
  margin-bottom:12px;
  line-height:1.1;
}

.rsvp-deadline {
  font-size:10px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--terra);
  font-weight:300;
  margin-bottom:44px;
}

.rsvp-form {
  max-width:480px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:13px;
  position:relative;
  z-index:1;
}

.f-row { display:grid; grid-template-columns:1fr 1fr; gap:13px; }

.f-grp { display:flex; flex-direction:column; gap:5px; text-align:left; }

.f-lbl {
  font-size:8px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:300;
}

.f-in, .f-sel, .f-ta {
  width:100%;
  background:var(--champagne);
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--dark);
  font-family:'Jost', sans-serif;
  font-size:13px;
  font-weight:300;
  padding:13px 15px;
  outline:none;
  transition:border-color 0.3s;
  -webkit-appearance:none;
}

.f-in::placeholder, .f-ta::placeholder { color:#c8c0b4; }
.f-in:focus, .f-sel:focus, .f-ta:focus { border-color:var(--terra); }
.f-sel option { background:var(--white); }
.f-ta { resize:vertical; min-height:80px; }

.f-btn {
  margin-top:8px;
  padding:14px 44px;
  border:none;
  background: linear-gradient(135deg, var(--terra), var(--fuchsia));
  color:var(--white);
  font-family:'Jost', sans-serif;
  font-size:10px;
  font-weight:300;
  letter-spacing:0.28em;
  text-transform:uppercase;
  cursor:pointer;
  border-radius:30px;
  transition:opacity 0.3s;
  align-self:center;
}

.f-btn:hover { opacity:0.85; }

.f-success {
  display:none;
  font-family:'Great Vibes', cursive;
  font-size:44px;
  color:var(--olive);
  padding:40px 0;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  text-align:center;
  padding:44px;
}

.ft-script {
  font-family:'Great Vibes', cursive;
  font-size:38px;
  color:var(--gold);
  margin-bottom:10px;
}

.ft-note {
  font-size:10px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.35);
  font-weight:200;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { 
    padding: 16px 24px; 
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Cacher le menu desktop sur mobile */
  .desktop-menu { 
    display: none !important;
  }
  
  /* Afficher le bouton burger sur mobile */
  .mobile-menu-btn { 
    display: flex !important;
  }
  
  /* Logo caché par défaut sur mobile, visible au scroll */
  .nav-logo {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    flex: 1;
    text-align: center;
  }
  
  .nav-logo.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .hist-grid, .cad-grid, .dc-grid, .f-row { grid-template-columns:1fr; }
  .cer-grid { grid-template-columns:1fr; }
  
  /* Supprimer la largeur max et le centrage du mariage civil sur mobile */
  .cer-grid .cer-card:first-child {
    max-width: 100%;
    margin-bottom: 16px;
  }
  
  #histoire, #ceremonies, #dresscode, #cadeaux, #galerie, #contact, #rsvp { padding:72px 24px; }
  .sec { padding:72px 24px; }
}
