/* ================================================================
   CORKLET Apéro Club
   Crema calda + corallo + verde bottiglia + giallo sole.
   Bricolage Grotesque display, Nunito body. Pop, polaroid, sticker.
   ================================================================ */

:root {
  --cream: #FFF6E9;
  --cream-deep: #FBEDD8;
  --coral: #FF5D47;
  --coral-deep: #E8492F;
  --green: #1E7A4C;
  --sun: #FFC93C;
  --ink: #26201A;
  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Nunito", "Helvetica Neue", sans-serif;
  --r: 18px;
  --border: 3px solid var(--ink);
  --pop: 5px 5px 0 var(--ink);
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.5px;
}
.h2 em {
  font-style: normal;
  color: var(--coral);
  text-decoration: underline wavy var(--sun) 4px;
  text-underline-offset: 8px;
}
.h2--center { text-align: center; }
.h2--cream { color: var(--cream); }
.h2--cream em { color: var(--sun); text-decoration-color: var(--cream); }

/* ---------------- ticker ---------------- */
.ticker {
  background: var(--green);
  color: var(--cream);
  overflow: hidden;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 30s linear infinite;
}
.ticker__track > span { white-space: nowrap; margin-right: 2.2rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- nav ---------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4.5vw, 56px);
  position: sticky;
  top: 0;
  background: rgba(255, 246, 233, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: var(--border);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  color: var(--coral);
  text-decoration: none;
  transform: rotate(-2deg);
  display: inline-block;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}
.nav__links a:hover { color: var(--coral); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  border: var(--border);
  border-radius: 60px;
  padding: 14px 32px;
  font-size: 16.5px;
  box-shadow: var(--pop);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); background: var(--coral-deep); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--small { padding: 9px 20px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn--big { padding: 18px 40px; font-size: 18px; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--bundle { width: 100%; text-align: center; }

/* ---------------- stickers & polaroid ---------------- */
.stick {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 50px;
  border: var(--border);
  z-index: 3;
  white-space: nowrap;
}
.s1 { background: var(--sun); top: -14px; left: -8px; transform: rotate(-8deg); }
.s2 { background: #fff; bottom: 26px; right: -10px; transform: rotate(6deg); }

.polaroid {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  padding: 12px 12px 14px;
  box-shadow: var(--pop);
}
.polaroid img { border-radius: 9px; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption {
  font-weight: 800;
  text-align: center;
  margin-top: 10px;
  font-size: 14.5px;
}

/* ---------------- hero ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vh, 80px) clamp(20px, 4.5vw, 56px) clamp(50px, 8vh, 96px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -1.5px;
}
.hero__title em {
  font-style: normal;
  color: var(--coral);
  text-decoration: underline wavy var(--sun) 5px;
  text-underline-offset: 10px;
}
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: 19px; }
.hero__sub i { color: var(--green); }
.hero__cta { margin-top: 30px; }
.hero__trust { margin-top: 12px; font-size: 14px; opacity: 0.75; }
.hero__chips {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__chips li {
  background: #fff;
  border: var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: 3px 3px 0 var(--ink);
}
.hero__visual { position: relative; max-width: 360px; justify-self: center; }
.polaroid--hero { transform: rotate(2deg); }

/* ---------------- size ---------------- */
.size {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(50px, 8vh, 90px) clamp(20px, 4.5vw, 56px);
  background: var(--cream-deep);
  border-top: var(--border);
  border-bottom: var(--border);
}
.size__img img {
  border: var(--border);
  border-radius: var(--r);
  box-shadow: var(--pop);
  transform: rotate(-2deg);
}
.size__copy p { margin-top: 18px; font-size: 18px; max-width: 52ch; }
.size__facts { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.size__facts li { padding-left: 28px; position: relative; }
.size__facts li::before { content: "✔"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.size__facts b { color: var(--coral-deep); }

/* ---------------- how ---------------- */
.how { padding: clamp(60px, 9vh, 110px) clamp(20px, 4.5vw, 56px); text-align: center; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin: clamp(36px, 5vh, 56px) auto 0;
  max-width: 1080px;
}
.how__step {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  padding: 30px 24px;
  box-shadow: var(--pop);
  text-align: left;
}
.how__step:nth-child(2) { background: var(--sun); transform: rotate(1deg); }
.how__step:nth-child(3) { background: var(--coral); color: #fff; transform: rotate(-1deg); }
.how__num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: var(--border);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}
.how__step h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin-bottom: 8px; }
.how__step p { font-size: 15.5px; }
.how__photo { max-width: 720px; margin: clamp(36px, 5vh, 56px) auto 0; }
.how__photo img { border: var(--border); border-radius: var(--r); box-shadow: var(--pop); }
.how__photo figcaption { margin-top: 14px; font-weight: 800; }

/* ---------------- moments ---------------- */
.moments {
  background: var(--green);
  padding: clamp(60px, 9vh, 100px) 0 clamp(70px, 9vh, 110px);
  border-top: var(--border);
  border-bottom: var(--border);
}
.moments .h2 { padding: 0 20px; margin-bottom: clamp(34px, 5vh, 50px); }
.moments__scroll {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 14px clamp(20px, 4.5vw, 56px) 22px;
  scroll-snap-type: x mandatory;
}
.moments__scroll::-webkit-scrollbar { height: 10px; }
.moments__scroll::-webkit-scrollbar-thumb { background: var(--sun); border-radius: 10px; border: 2px solid var(--green); }
.moments__scroll .polaroid {
  flex: 0 0 250px;
  scroll-snap-align: center;
}
.moments__scroll .polaroid:nth-child(odd) { transform: rotate(-2deg); }
.moments__scroll .polaroid:nth-child(even) { transform: rotate(2deg); }

/* ---------------- buy ---------------- */
.buy { padding: clamp(60px, 9vh, 110px) clamp(20px, 4.5vw, 56px); }
.buy__head { text-align: center; margin-bottom: clamp(36px, 5vh, 56px); }
.buy__sub { margin-top: 12px; font-size: 18px; }
.buy__wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}
.buy__imgs { position: relative; padding-bottom: 70px; }
.polaroid--buy { max-width: 330px; transform: rotate(-2.5deg); position: relative; z-index: 2; }
.polaroid--back {
  position: absolute;
  top: 60px; left: 34%;
  max-width: 300px;
  transform: rotate(4deg);
  z-index: 1;
}
.bundles { display: grid; gap: 18px; }
.bundle {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--pop);
  position: relative;
}
.bundle--hot { background: var(--sun); }
.bundle__flag {
  position: absolute;
  top: -16px; right: 18px;
  background: var(--coral);
  color: #fff;
  border: var(--border);
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  transform: rotate(2deg);
}
.bundle__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bundle__row h3 { font-family: var(--font-display); font-weight: 800; font-size: 23px; }
.bundle__qty {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.bundle__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--green);
  margin: 8px 0 16px;
}
.bundle__price s { font-size: 18px; opacity: 0.45; margin-left: 4px; }
.bundle__note { display: block; font-family: var(--font-body); font-size: 13.5px; color: var(--coral-deep); font-weight: 800; margin-top: 2px; }
.buy__trustrow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.85;
}

/* ---------------- waitlist ---------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.waitlist {
  background: var(--sun);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: clamp(50px, 8vh, 90px) clamp(20px, 4.5vw, 56px);
}
.waitlist__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1140px;
  margin: 0 auto;
  align-items: center;
}
.waitlist__img img {
  border: var(--border);
  border-radius: var(--r);
  box-shadow: var(--pop);
  transform: rotate(-1.5deg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.waitlist__copy p { margin-top: 14px; font-size: 18px; }
.waitlist__perks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.waitlist__perks li { font-size: 17px; }
.waitlist__perks b { color: var(--coral-deep); }
.waitlist__form { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.waitlist__form input[type="email"] {
  flex: 1 1 240px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16.5px;
  padding: 14px 20px;
  border: var(--border);
  border-radius: 60px;
  background: #fff;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  outline: none;
}
.waitlist__form input[type="email"]:focus { box-shadow: 5px 5px 0 var(--ink); }
.waitlist__note { margin-top: 14px; font-size: 14px; opacity: 0.8; }
.waitlist__note.ok { opacity: 1; font-weight: 800; color: var(--green); }
.waitlist__note.err { opacity: 1; font-weight: 800; color: var(--coral-deep); }

/* ---------------- specs band ---------------- */
.specs { padding: clamp(60px, 9vh, 100px) clamp(20px, 4.5vw, 56px); }
.specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  max-width: 1080px;
  margin: clamp(34px, 5vh, 50px) auto 0;
}
.spec {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  box-shadow: var(--pop);
  padding: 26px 18px 22px;
  text-align: center;
}
.spec:nth-child(2) { background: var(--sun); transform: rotate(1deg); }
.spec:nth-child(3) { background: var(--coral); color: #fff; transform: rotate(-1deg); }
.spec:nth-child(3) .spec__num, .spec:nth-child(3) .spec__unit { color: #fff; }
.spec__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  color: var(--coral);
  display: inline-block;
}
.spec__unit { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); margin-left: 4px; }
.spec p { font-size: 14.5px; margin-top: 8px; font-weight: 800; }

/* ---------------- gift split ---------------- */
.gift__inner--split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  text-align: left;
}
.gift__img img {
  border: var(--border);
  border-radius: var(--r);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.35);
  transform: rotate(-2deg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.gift__copy p { margin: 16px 0 26px; max-width: 52ch; font-size: 17.5px; }

/* ---------------- reviews ---------------- */
.reviews { padding: 0 clamp(20px, 4.5vw, 56px) clamp(60px, 9vh, 100px); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 26px);
  max-width: 1140px;
  margin: clamp(34px, 5vh, 50px) auto 0;
}
.review {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: var(--pop);
}
.review:nth-child(1) { transform: rotate(-1deg); }
.review:nth-child(3) { transform: rotate(1deg); }
.review p { font-size: 16.5px; }
.review p::before { content: "★★★★★"; display: block; color: var(--sun); -webkit-text-stroke: 1px var(--ink); font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; }
.review cite { display: block; margin-top: 14px; font-style: normal; font-size: 13.5px; font-weight: 800; opacity: 0.65; }

/* ---------------- gift ---------------- */
.gift { padding: 0 clamp(20px, 4.5vw, 56px) clamp(60px, 9vh, 100px); }
.gift__inner {
  background: var(--coral);
  color: var(--cream);
  border: var(--border);
  border-radius: calc(var(--r) + 8px);
  box-shadow: 7px 7px 0 var(--ink);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vh, 64px) clamp(24px, 4vw, 56px);
}
.gift__inner .h2 em { color: var(--sun); text-decoration-color: var(--cream); }
.gift__inner p { margin: 16px auto 26px; max-width: 52ch; font-size: 17.5px; }
.gift__inner .btn { background: var(--cream); color: var(--ink); }

/* ---------------- faq ---------------- */
.faq { padding: 0 clamp(20px, 4.5vw, 56px) clamp(60px, 9vh, 100px); }
.faq__list { max-width: 760px; margin: clamp(30px, 4vh, 44px) auto 0; display: grid; gap: 14px; }
.faq__item {
  background: #fff;
  border: var(--border);
  border-radius: var(--r);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}
.faq__item summary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  padding: 18px 48px 18px 22px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--coral);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 22px 20px; font-size: 15.5px; }

/* ---------------- final ---------------- */
.final {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: clamp(70px, 11vh, 120px) 24px;
  border-top: var(--border);
}
.final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 1.02;
  margin-bottom: 32px;
}

/* ---------------- footer ---------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 246, 233, 0.85);
  padding: 48px clamp(20px, 4.5vw, 56px) 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  font-size: 14.5px;
}
.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--coral);
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 50px;
  padding: 8px 16px 8px 12px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.social:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 rgba(0,0,0,0.35); background: var(--sun); }
.social svg { width: 20px; height: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; text-align: right; }
.footer__links a { text-decoration: none; font-weight: 700; }
.footer__links a:hover { color: var(--sun); }
.footer__copy { grid-column: 1 / -1; opacity: 0.5; font-size: 13px; margin-top: 10px; }

/* ---------------- sticky bar ---------------- */
.stickybar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  z-index: 60;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.stickybar.show { transform: translateY(0); }
.stickybar__price { font-weight: 800; font-size: 15px; }

/* ---------------- reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.polaroid--hero.reveal.in, .hero__visual.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- legal pages (shared shell) ---------------- */
.legal { max-width: 740px; margin: 0 auto; padding: clamp(44px, 7vh, 80px) 24px; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 26px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  color: var(--coral-deep);
  margin: 32px 0 10px;
}
.legal p, .legal li { font-weight: 600; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .withdraw-btn { margin-top: 14px; }

/* ---------------- responsive ---------------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .waitlist__wrap { grid-template-columns: 1fr; }
  .waitlist__img { max-width: 480px; margin: 0 auto; }
  .specs__grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .gift__inner--split { grid-template-columns: 1fr; text-align: center; }
  .gift__img { max-width: 320px; margin: 0 auto; }
  .gift__copy p { margin-inline: auto; }
  .hero__visual { order: -1; max-width: 380px; }
  .size { grid-template-columns: 1fr; }
  .size__img { max-width: 380px; margin: 0 auto; }
  .how__grid { grid-template-columns: 1fr; max-width: 480px; }
  .buy__wrap { grid-template-columns: 1fr; }
  .buy__imgs { max-width: 420px; margin: 0 auto; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 520px; }
  .nav__links { display: none; }
  .footer { grid-template-columns: 1fr; }
  .footer__links { text-align: left; }
}
