/* Island Bites styles.css */
:root {
  --bg: #fbf7f1;
  --bg-2: #f6efe5;
  --surface: rgba(255,255,255,.82);
  --surface-strong: rgba(255,255,255,.94);
  --text: #1b2338;
  --muted: #5c6775;
  --primary: #11b8ea;
  --primary-deep: #145fd6;
  --orange: #f2a126;
  --orange-deep: #e68b00;
  --line: rgba(20,95,214,.12);
  --shadow-sm: 0 10px 24px rgba(20,95,214,.08);
  --shadow-lg: 0 22px 60px rgba(20,95,214,.15);
  --radius-lg: 34px;
  --container: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 18%, rgba(17,184,234,.11), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(242,161,38,.14), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(77,169,94,.10), transparent 16%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}
body::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 90px;
  background: radial-gradient(circle, rgba(17,184,234,.18), transparent 62%);
}
body::after {
  width: 240px;
  height: 240px;
  right: -70px;
  top: 170px;
  background: radial-gradient(circle, rgba(242,161,38,.18), transparent 62%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.page { position: relative; z-index: 1; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--primary-deep); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .88rem; }
.brand-logo { width: clamp(42px, 6vw, 64px); height: clamp(42px, 6vw, 64px); object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.9); padding: 4px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.badge-date { padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.76); border: 1px solid var(--line); color: var(--muted); font-size: .92rem; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 30px 0 44px; }
.hero-copy { padding: 18px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid var(--line); color: var(--primary-deep); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { margin: 0; font-family: 'Playfair Display', serif; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .94; letter-spacing: -.05em; color: #1d2754; }
.hero h1 span { display: block; background: linear-gradient(180deg, #1cc5f2 0%, #1568e0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.script { display: inline-block; margin-top: 8px; font-family: 'Allura', cursive; font-size: clamp(2.4rem, 4vw, 3.5rem); color: #7b3575; }
.lead { max-width: 58ch; margin: 20px 0 24px; font-size: 1.04rem; line-height: 1.85; color: var(--muted); }
.quick-info { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.pill { padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid var(--line); color: #21405d; font-size: .94rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.btn { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; font-size: .96rem; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); box-shadow: 0 16px 30px rgba(21,104,224,.25); }
.btn-secondary { color: var(--primary-deep); background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.social-btn { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; font-size: .94rem; border: 1px solid rgba(20,95,214,.12); background: rgba(255,255,255,.88); color: #17224b; box-shadow: var(--shadow-sm); }
.social-btn.instagram { background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); color: #fff; border: none; }
.social-btn.tiktok { background: linear-gradient(135deg, #111, #25f4ee, #fe2c55); color: #fff; border: none; }
.visual-card { position: relative; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.70)); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--shadow-lg); backdrop-filter: blur(14px); overflow: hidden; }
.visual-card::before { content: ""; position: absolute; width: 200px; height: 200px; left: -40px; top: -30px; border-radius: 999px; background: radial-gradient(circle, rgba(17,184,234,.18), transparent 62%); filter: blur(12px); }
.visual-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -40px; bottom: -40px; border-radius: 999px; background: radial-gradient(circle, rgba(242,161,38,.16), transparent 62%); filter: blur(12px); }
.visual-inner { position: relative; z-index: 2; }
.mini-date { color: var(--orange-deep); font-weight: 900; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.mini-date span { display: block; font-size: 1.95rem; letter-spacing: .02em; }
.poster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.poster-grid .poster-wrap:first-child { transform: rotate(-1.5deg); }
.poster-grid .poster-wrap:last-child { transform: rotate(1.5deg); }
.poster-wrap { border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.85); box-shadow: 0 18px 34px rgba(20,95,214,.10); min-height: 230px; }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; }
.countdown-wrap { position: relative; z-index: 6; margin-top: 0; border-radius: 26px; padding: 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(20,95,214,.10); box-shadow: 0 18px 34px rgba(20,95,214,.10); }
.countdown-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.countdown-head strong { font-size: 1rem; color: #17224b; }
.countdown-head span { color: var(--muted); font-size: .92rem; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-box { border-radius: 18px; padding: 16px 8px; background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%); border: 1px solid rgba(20,95,214,.08); text-align: center; }
.time-box strong { display: block; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1; color: var(--primary-deep); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.time-box span { display: block; font-size: .78rem; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.floating-tags { display: flex; gap: 14px; margin-top: 16px; }
.floating-tag { flex: 1; min-height: 98px; border-radius: 24px; display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(180deg, #1cc2f2 0%, #1568e0 100%); box-shadow: 0 18px 30px rgba(20,95,214,.22); padding: 14px; }
.floating-tag .top { font-size: .78rem; font-weight: 700; opacity: .94; }
.floating-tag .main { font-size: 1.9rem; line-height: 1; font-weight: 900; }
.floating-tag .bottom { font-size: .82rem; letter-spacing: .04em; }
.section { padding: 34px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 22px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.95rem, 4vw, 3rem); color: #17224b; }
.section-header p { max-width: 60ch; color: var(--muted); line-height: 1.8; }
.experience-grid,
.details-grid,
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.buy-grid { align-items: start; grid-template-columns: .75fr 1.25fr; }
.card { position: relative; padding: 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72)); border: 1px solid rgba(20,95,214,.08); box-shadow: var(--shadow-sm); }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, rgba(17,184,234,.95), rgba(242,161,38,.95)); }
.icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px; background: linear-gradient(145deg, rgba(17,184,234,.12), rgba(242,161,38,.14)); font-size: 1.35rem; }
.card h3 { font-size: 1.16rem; color: #17224b; margin-bottom: 10px; }
.card p { color: var(--muted); line-height: 1.78; }
/* ── Order summary dans buy-card ── */
.buy-card p { margin-top: 8px; }
.order-summary {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20,95,214,.10);
  background: rgba(255,255,255,.6);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(20,95,214,.07);
  font-size: .92rem;
  color: var(--muted);
}
.summary-row strong { color: #17224b; font-weight: 800; }
.summary-row:last-child { border-bottom: none; }
.summary-total {
  background: rgba(17,184,234,.07);
  font-weight: 800;
  color: #17224b;
}
.summary-total span { color: #17224b; font-weight: 800; }
.summary-total strong { color: var(--primary-deep); font-size: 1.05rem; }

/* ── Barre de progression tickets ── */
.ticket-progress-wrap {
  margin: 18px 0 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(20,95,214,.10);
  box-shadow: var(--shadow-sm);
}
.ticket-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.ticket-progress-label {
  font-size: .88rem;
  font-weight: 800;
  color: #17224b;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ticket-progress-count {
  font-size: .88rem;
  font-weight: 800;
  color: var(--primary-deep);
}
.ticket-progress-track {
  height: 8px;
  background: rgba(20,95,214,.08);
  border-radius: 999px;
  overflow: hidden;
}
.ticket-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #11b8ea, #f2a126);
  transition: width .6s ease;
}
.ticket-progress-sub {
  margin-top: 6px;
  font-size: .80rem;
  color: var(--muted);
  text-align: right;
}

/* ── Form status message ── */
.form-status {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: .93rem;
  line-height: 1.7;
}
.form-status--success {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.18);
  color: #15803d;
}
.form-status--error {
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.16);
  color: #dc2626;
}
.form-notice {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  padding: 10px 14px;
  background: rgba(255,255,255,.5);
  border-radius: 12px;
  border: 1px solid rgba(20,95,214,.07);
}

/* ── Payment info box ── */
.payment-box { display: grid; gap: 6px; }
.payment-number {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: .04em;
}
.payment-hint {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.65;
}

.buy-form { display: grid; gap: 14px; }
.buy-form h3 { margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 8px; font-weight: 700; color: #17224b; font-size: .95rem; }
input, select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(20,95,214,.14);
  background: rgba(255,255,255,.92);
  color: #17224b;
  outline: none;
}
input:focus, select:focus { border-color: rgba(17,184,234,.75); box-shadow: 0 0 0 4px rgba(17,184,234,.12); }
.summary-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.summary-box div { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.86); border: 1px solid rgba(20,95,214,.08); }
.summary-box span { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.summary-box strong { color: #17224b; font-size: 1.05rem; }
.notice { font-size: .92rem; line-height: 1.7; color: var(--muted); }
.info-banner { margin-top: 22px; padding: 24px; border-radius: 28px; background: linear-gradient(135deg, rgba(21,104,224,.96), rgba(17,184,234,.9)); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 16px; box-shadow: 0 20px 40px rgba(21,104,224,.24); }
.info-banner strong { display: block; font-size: 1.14rem; margin-bottom: 4px; }
.info-banner p { color: rgba(255,255,255,.92); line-height: 1.75; max-width: 60ch; }
.contact { padding: 44px 0 72px; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.74)); border: 1px solid rgba(20,95,214,.08); box-shadow: var(--shadow-lg); }
.contact-panel h3 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #17224b; margin-bottom: 10px; }
.contact-panel p { max-width: 62ch; color: var(--muted); line-height: 1.82; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
footer { padding: 0 0 34px; text-align: center; color: #767d88; font-size: .94rem; }
.divider { height: 1px; margin-bottom: 20px; background: linear-gradient(90deg, transparent, rgba(20,95,214,.18), transparent); }

/* ===== SPONSORS ===== */
.sponsors-section { padding-top: 10px; }
.sponsors-marquee { overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(20,95,214,.08); box-shadow: var(--shadow-sm); padding: 16px 0; }
.sponsors-track { display: flex; gap: 16px; width: max-content; animation: sponsorScroll 26s linear infinite; }
.sponsors-track:hover { animation-play-state: paused; }
.sponsors-track .sponsor-card { width: 150px; flex: 0 0 auto; }
.sponsor-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.82); border: 1px solid rgba(20,95,214,.08); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 12px; height: auto; transition: transform .2s ease, box-shadow .2s ease; }
.sponsor-card:hover { transform: translateY(-4px); }
.sponsor-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.sponsor-name { font-size: 13px; color: var(--muted); text-align: center; font-weight: 700; }
@keyframes sponsorScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .section-header,
  .contact-panel,
  .experience-grid,
  .details-grid,
  .buy-grid { grid-template-columns: 1fr; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .contact-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .hero { gap: 22px; padding-top: 18px; }
  .visual-card { padding: 18px; border-radius: 28px; }
  .poster-grid { grid-template-columns: 1fr; }
  .poster-grid .poster-wrap:first-child,
  .poster-grid .poster-wrap:last-child { transform: none; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .floating-tags { flex-direction: row; }
  .info-banner,
  .contact-panel { padding: 22px; }
  .brand { gap: 10px; font-size: .82rem; }
  .brand-logo { width: 48px; height: 48px; }
  .sponsors-track .sponsor-card { width: 150px; }
  .form-grid,
  .summary-box { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .container { width: min(var(--container), calc(100% - 16px)); }
  .topbar { padding-top: 18px; }
  .badge-date,
  .pill,
  .btn { width: 100%; }
  .hero h1 { font-size: clamp(2.6rem, 15vw, 4.1rem); }
  .script { font-size: 2.2rem; }
  .lead,
  .section-header p,
  .card p,
  .contact-panel p,
  .info-banner p,
  .notice { font-size: .96rem; }
  .countdown-head { flex-direction: column; gap: 8px; }
  .countdown { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .time-box { padding: 12px 6px; border-radius: 16px; }
  .time-box strong { font-size: 1.35rem; }
  .floating-tags { gap: 10px; }
  .floating-tag { min-height: 82px; }
  .brand { font-size: .78rem; letter-spacing: .05em; }
  .brand-logo { width: 44px; height: 44px; padding: 3px; }
  .social-btn { width: 100%; }
  .sponsors-marquee { padding: 10px 0; }
  .sponsors-track {
    gap: 10px;
    animation: sponsorScroll 40s linear infinite;
  }
  .sponsors-track .sponsor-card { width: 120px; }
  .sponsor-card {
    padding: 10px;
    height: auto;
  }
  .sponsor-card img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
  }
  .sponsor-name { font-size: 11px; }
}

/* Responsive fix for new ticket form */
.payment-info {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(20,95,214,.08);
}
.payment-box strong,
.payment-info strong {
  display: block;
  margin-bottom: 6px;
  color: #17224b;
}
.buy-form label { width: 100%; }
.buy-form input,
.buy-form select { width: 100%; }
.buy-form button { width: 100%; }
@media (max-width: 1024px) {
  .buy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .buy-form { gap: 12px; }
  .payment-info { padding: 14px; }
}
@media (max-width: 540px) {
  .buy-section .section-header p { text-align: left; }
  .buy-card, .buy-form { padding: 20px; }
  .buy-form input,
  .buy-form select,
  .buy-form button { min-height: 48px; }
}
.buy-form input,
.buy-form select,
.buy-form textarea {
  font-size: 16px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 540px) {
  .buy-form input,
  .buy-form select,
  .buy-form textarea { font-size: 16px; }
}