*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  accent-color: var(--importantColor);
}
:root {
  --main: rgb(56, 32, 21);
  /* --main: #2C1B0E; */
  --important: #9A5A3A;
  --border-col: #9A5A3A;
  --lightBg: #F5EDD9;
  --ivory: #FAF5EC;
  --important-light: #C4845C;
  --important-dim: rgba(154, 90, 58, 0.15);
  --text: #3A2012;
  --muted: #8A6B58;
  --sand-deep: #EDE3CC;
  --dark-accent: #5C2A10;
  --namesPolicy: 'Darleston', sans-serif;
  --sectionPaddingX: 20px;
  --sectionPaddingY: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  background: var(--ivory);
  color: var(--text);
  font-family: 'Cambria';
  font-weight: 400;
  overflow-x: hidden;
}

/* ── ORNEMENT ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 1.6rem 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--important-light), transparent);
  max-width: 80px;
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--important);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── COVER ── */
.cover {
  height: 45vH;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  background: var(--lightBg);
  position: relative;
  overflow: hidden;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(154, 90, 58, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(44, 27, 14, 0.06) 0%, transparent 60%);
}

.cover-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.2;
}

.cover-corner.tl {
  top: 20px;
  left: 20px;
}

.cover-corner.tr {
  top: 20px;
  right: 20px;
  transform: scaleX(-1);
}

.cover-corner.bl {
  bottom: 20px;
  left: 20px;
  transform: scaleY(-1);
}

.cover-corner.br {
  bottom: 20px;
  right: 20px;
  transform: scale(-1);
}

.cover-intro {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 280px;
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s ease both;
  text-align: justify;
}

.cover-names {
  text-align: center;
  font-family: var(--namesPolicy);
  font-size: clamp(52px, 16vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--important);
  position: relative;
  z-index: 1;
  margin: 1.2rem 0 0.3rem;
  animation: fadeUp 1.2s 0.2s ease both;
}

.yes-text {
    font-family: 'Cambria';
    font-style: italic;
    font-size: 45px;
    color: var(--important);
}

.cover-amp {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: clamp(28px, 9vw, 40px);
  font-weight: 300;
  color: var(--important);
  display: block;
  margin: -4px 0;
}

.cover-hebrew {
  text-align: center;
  font-size: 18px;
  letter-spacing: 6px;
  color: var(--important);
  margin: 0.6rem 0;
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s 0.35s ease both;
}
#bhText {
  text-align: right;
  font-size: 15px;
}
.cover-date-hint {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
  animation: fadeUp 1.2s 0.5s ease both;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
  animation: fadeIn 2s 1s ease both;
}

.scroll-hint span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--important-light), transparent);
  animation: scrollPulse 1.4s ease-in-out infinite;
}

/* ── SECTIONS ── */
section {
  padding: var(--sectionPaddingY) var(--sectionPaddingX);
  position: relative;
  overflow: hidden;
}

section:nth-child(even) {
  background: var(--lightBg);
}

.section-label {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--important);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: 'Cambria', serif;
  font-size: clamp(36px, 10vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--main);
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: italic;
  color: var(--important);
}

.section-body {
  font-size: 18px;
  line-height: 2;
  color: var(--muted);
  margin-top: 1rem;
}

.section-body strong {
  font-weight: 400;
  color: var(--text);
}

/* ── IMAGE PLACEHOLDER ── */
.event-image {
  --widthImg: 60vW;
  width: var(--widthImg);
  /* centrer l'élément: */
  margin: 0 auto 40px;
  background: none;
  /* border: 1.5px dashed rgba(154, 90, 58, 0.35); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 30px;
}

.event-image img {
  width: 100%;
}

/* .event-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(154, 90, 58, .6);
  mix-blend-mode: multiply;
} */

/* ── DATE PILL ── */
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--important);
  color: var(--sand-deep);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 100px;
  margin-top: 1.4rem;
}

.date-pill.afterPill::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--important-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── ADDRESS BLOCK ── */
.address-block {
  margin-top: 1.2rem;
  padding: 16px 20px;
  border-left: 2px solid var(--border-col);
  background: var(--important-dim);
  border-radius: 0 8px 8px 0;
}

.address-block p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.address-name {
  font-family: 'Cambria', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--main);
  margin-bottom: 4px;
}

.waze-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand-deep);
  text-decoration: none;
  border-bottom: 0.5px solid var(--border-col);
  padding-bottom: 2px;
}

/* ── FAMILY GRID ── */
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.4rem;
}

.family-col {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0.5px solid rgba(154, 90, 58, 0.2);
  border-radius: 8px;
}

.family-col p {
  font-size: 12px;
  line-height: 2;
  color: var(--text);
}

/* ── PROGRAMME BAND ── */
.programme-band {
  background: var(--main);
  padding: var(--sectionPaddingY) var(--sectionPaddingX);
  position: relative;
  overflow: hidden;
}

.programme-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(154, 90, 58, 0.18) 0%, transparent 70%);
}

.programme-band .section-label {
  color: var(--important-light);
}

.programme-band .ornament::before,
.programme-band .ornament::after {
  background: linear-gradient(to right, transparent, rgba(154, 90, 58, 0.5), transparent);
}

.programme-band .ornament-diamond {
  background: var(--important-light);
}

.timeline {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--important-light), transparent);
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  position: relative;
}

.timeline-dot {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 3px;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--important);
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 6px;
}

.timeline-event {
  font-size: 17px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--important-light);
  margin-bottom: 2px;
}

.timeline-name {
  font-family: 'Cambria', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--lightBg);
  line-height: 1.2;
}

.timeline-detail {
  font-size: 16px;
  color: rgba(245, 237, 217, 0.5);
  margin-top: 3px;
  line-height: 1.8;
}

/* ── INFO ROW (beach party) ── */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(154, 90, 58, 0.15);
}

.info-row:last-child {
  border-bottom: none;
}

.info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--lightBg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.info-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.info-value {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.info-value strong {
  font-weight: 400;
  font-family: 'Cambria', serif;
  font-size: 16px;
  color: var(--main);
}

/* ══════════════════════════════════
   INFOS PRATIQUES — nouveau format
   ══════════════════════════════════ */
.ip-section {
  padding: var(--sectionPaddingY) var(--sectionPaddingX);
  background: var(--lightBg);
  position: relative;
  overflow: hidden;
}

.ip-title {
  font-family: 'Cambria', serif;
  font-size: clamp(34px, 9vw, 48px);
  font-weight: 400;
  color: var(--main);
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 2.5rem;
}

.ip-group {
  margin-bottom: 2.8rem;
}

.ip-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}

.ip-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(154, 90, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--important);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ip-subtitle {
  font-family: 'Cambria', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--main);
  text-align: center;
  letter-spacing: -0.3px;
}

/* Airport cards */
.airport-cards {
  max-width: 60vW;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: auto;
  margin-top: 0;
}

.airport-card {
  flex: 1 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 0.5px solid rgba(154, 90, 58, 0.2);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.airport-card.featured {
  border-left: 3px solid var(--important);
  border-radius: 0 8px 8px 0;
}

.airport-code {
  font-family: 'Cambria', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.airport-tag {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--important);
  margin-bottom: 8px;
}

.airport-dist {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Airport cards */
.coordonnees-cards {
  max-width: 60vW;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: auto;
  margin-top: 0;
}

.coordonnees-card {
  flex: 1 0 auto;
  background: rgba(255, 255, 255, 0.6);
  border: 0.5px solid rgba(154, 90, 58, 0.2);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coordonnees-card.featured {
  border-left: 3px solid var(--important);
  border-radius: 0 8px 8px 0;
}

.coordonnees-code {
  font-family: 'Cambria', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--main);
  line-height: 1.2;
  margin-bottom: 4px;
}

.coordonnees-tag {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--important);
  margin-bottom: 8px;
}

.coordonnees-dist {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.coordonnees-card a {
  text-decoration: none;
  color: inherit;
}

/* Hotel card */
.hotel-card {
  background: rgba(255, 255, 255, 0.6);
  border: 0.5px solid rgba(154, 90, 58, 0.2);
  border-radius: 8px;
  padding: 22px 20px;
  margin-top: 0;
}

.hotel-card p {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  text-align: center;
  margin-bottom: 12px;
}

.hotel-card p:last-child {
  margin-bottom: 0;
}

.hotel-name {
  color: var(--important);
  font-style: italic;
}

.hotel-code-box {
  margin-top: 1.4rem;
  background: var(--main);
  border-radius: 8px;
  padding: 11px;
  text-align: center;
  width: 70%;
  margin: 20px auto 0 auto;
}

.hotel-code-box p {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245, 237, 217, 0.45);
  margin-bottom: 6px;
}

.hotel-code-val {
  font-family: 'Cambria', serif;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--important-light);
}

.hotel-link {
  display: block;
  text-align: center;
  margin-top: 1.2rem;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--important);
  text-decoration: none;
  border-bottom: 0.5px solid var(--border-col);
  padding-bottom: 2px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* ── PENSÉE ── */
.pensee {
  text-align: center;
  padding: 39px 32px 10px;
  background: var(--dark-accent);
  position: relative;
  overflow: hidden;
}

.pensee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.pensee blockquote {
  font-family: 'Cambria', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(245, 237, 217, 0.82);
  max-width: 300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: justify;
}

.pensee blockquote::before {
  content: '"';
  font-size: 50px;
  line-height: 0;
  color: rgba(245, 237, 217, 0.82);
  font-family: 'Cambria', serif;
  display: block;
  margin-bottom: 5px;
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 60px 32px 15px;
  background: var(--main);
}

.footer .names {
  font-family: var(--namesPolicy);
  font-size: 42px;
  font-weight: 300;
  color: var(--lightBg);
}

.footer .names em {
  font-style: italic;
  color: var(--important-light);
}

.footer .year {
  font-size: 15px;
  letter-spacing: 5px;
  color: rgba(245, 237, 217, 0.28);
  margin-top: 1.5rem;
}

.footer .developped {
  font-size: 8px;
  color: rgba(245, 237, 217, 0.28);
  margin-top: 1.5rem;
}
.footer .developped a {
  text-decoration: none;
  color: inherit;
}
.footer-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 1.2rem 0;
}

.footer-star {
  width: 3px;
  height: 3px;
  background: var(--important);
  border-radius: 50%;
  opacity: 0.5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}

.reveal, .revealTrigger  {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
}

.from-left {
  transform: translateX(-48px);
}

.from-right {
  transform: translateX(48px);
}

.from-bottom {
  transform: translateY(40px);
}

.from-top {
  transform: translateY(-30px);
}

.scale-in {
  transform: scale(0.92);
}

.visible {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: .1s;
}

[data-delay="2"] {
  transition-delay: .2s;
}

[data-delay="3"] {
  transition-delay: .3s;
}

[data-delay="4"] {
  transition-delay: .45s;
}

[data-delay="5"] {
  transition-delay: .6s;
}

[data-delay="6"] {
  transition-delay: .8s;
}
[data-delay="7"] {
  transition-delay: 1s;
}
[data-delay="8"] {
  transition-delay: 1.2s;
}
[data-delay="9"] {
  transition-delay: 1.4s;
}
[data-delay="10"] {
  transition-delay: 1.6s;
}
