*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7fbfe;
  color: var(--brand-ink);
  font-family: var(--brand-sans);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-teal);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--brand-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

#signup,
#offres,
#faq,
#last-cta,
#how,
#tiers,
#premium,
#about,
#conditions,
#confidentialite {
  scroll-margin-top: 88px;
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.85rem 2rem;
  border-bottom: 1px solid #e8eef3;
  box-shadow: 0 4px 18px rgba(12, 59, 74, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-ink);
  text-decoration: none;
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--brand-muted);
  text-decoration: none;
  padding: 0.32rem 0.7rem;
}

.lang-switch a[aria-current="page"] {
  background: var(--brand-sky);
  color: var(--brand-ink);
}

.nav-login {
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-login:hover,
.nav-login.is-current {
  color: var(--brand-teal);
}

.nav-premium {
  display: inline-block;
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid var(--brand-teal);
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  line-height: 1.2;
}

.nav-premium:hover,
.nav-premium.is-current {
  background: var(--brand-sky);
  color: var(--brand-teal-hover);
  border-color: var(--brand-teal-hover);
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  margin: 0;
  padding: 0 0 4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Founding bar ---------- */
.founding-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  position: relative;
  background: #e4f7f2;
  border: 1px solid #b7e4d8;
  border-radius: 12px;
  padding: 8px 2.5rem 8px 16px;
  margin: 8px 12px 0;
  box-sizing: border-box;
}

.founding-bar[hidden] {
  display: none;
}

.founding-bar-copy {
  margin: 0;
  color: #0f6e56;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.founding-bar-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.42rem 1.05rem;
  border: none;
  border-radius: 999px;
  background: #12a388;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.founding-bar-cta:hover {
  background: #0e8f76;
  color: #fff;
  text-decoration: none;
}

.founding-bar-dismiss {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a9695;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.founding-bar-dismiss:hover,
.founding-bar-dismiss:focus {
  color: #0d2f3a;
  outline: none;
}

/* ---------- Hero ---------- */
/* Streamlit keeps 220px bottom pad for the photo, then pulls the form up with
   margin-top:-200px. FastAPI keeps the form inside .hero-band, so we absolutely
   pin it into that pad instead of stacking form height + 220px empty space. */
.hero-band {
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 40px 24px 220px;
  overflow: visible;
  background: transparent;
}

.hero-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 252, 252, 0.28) 0%, rgba(231, 246, 248, 0.12) 42%, rgba(247, 251, 254, 0.94) 100%),
    var(--brand-hero) center top / cover no-repeat;
}

.hero-band > * {
  position: relative;
  z-index: 1;
}

/* Beat .hero-band > * { position: relative } so the form can overlay the pad */
.hero-band > .signup-card-hero {
  position: absolute;
  z-index: 2;
}

.hero-band:has(.signup-done) {
  padding-bottom: 48px;
}

.hero-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.hero-title {
  margin: 0 auto 28px;
  max-width: 16ch;
  font-family: var(--brand-serif);
  font-size: clamp(2.35rem, 6.4vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--brand-ink);
}

.hero-head p {
  margin: 0 auto 24px;
  max-width: 34rem;
  color: var(--brand-ink-soft);
  line-height: 1.55;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 400;
}

.landing-h2 {
  margin: 0 0 8px;
  font-family: var(--brand-serif);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--brand-ink);
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
}

.sec-head p {
  margin: 12px 0 0;
  color: var(--brand-muted);
  line-height: 1.5;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

/* ---------- Signup forms ---------- */
.signup-card {
  max-width: 420px;
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid #e9eff2;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signup-card input[type="email"] {
  width: 100%;
  border: 1.5px solid #d6e2e6;
  border-radius: 999px;
  padding: 12px 16px;
  min-height: 48px;
  font: inherit;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 59, 74, 0.08);
  box-sizing: border-box;
}

.signup-card input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(31, 181, 174, 0.18);
}

.consent-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  color: #8a9695;
  line-height: 1.45;
  text-align: left;
  max-width: 100%;
}

.consent-line input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 16px;
  border: 1.5px solid #12a388;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  accent-color: #12a388;
}

.consent-line input:checked {
  background: #12a388;
  border-color: #12a388;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.consent-line a {
  color: #12a388;
  text-decoration: underline;
}

.signup-card .cta-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(12, 59, 74, 0.22);
  transition: background 0.15s ease, transform 0.15s ease;
}

.signup-card .cta-btn:hover {
  background: #21875c;
  transform: scale(1.03);
}

.signup-card .cta-btn-premium {
  background: var(--brand-waitlist);
  box-shadow: none;
}

.signup-card .cta-btn-premium:hover {
  background: var(--brand-waitlist-2);
  transform: none;
}

/* Hero: form overlaid on photo (matches Streamlit -200px pull into 220px pad) */
.signup-card-hero {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 2;
  max-width: 300px;
  width: calc(100% - 48px);
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  gap: 10px;
}

.signup-card-hero .consent-line {
  max-width: 100%;
  color: #4d5f5e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.signup-card-hero .cta-btn {
  padding: 12px 16px;
  min-height: 48px;
}

/* Footer closing signup: centered ~300px, green pill */
.signup-card-footer {
  max-width: 300px;
  width: 100%;
  margin: 20px auto 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Premium mint signup card */
.signup-card-premium {
  background: #e4f7f2;
  border: 1.5px solid #12a388;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  max-width: 380px;
  width: 100%;
  margin: 1.5rem auto 0;
  box-shadow: 0 14px 28px rgba(18, 163, 136, 0.16);
  gap: 10px;
}

.signup-card-premium input[type="email"] {
  border-radius: 12px;
  box-shadow: none;
}

.premium-signup-head {
  text-align: center;
  margin: 0 0 8px;
}

.premium-signup-promo {
  text-align: center;
  color: #5c7380;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 10px;
}

.premium-signup-promo strong {
  font-weight: 700;
  color: inherit;
}

.premium-signup-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 0 4px;
  text-align: center;
}

.premium-signup-amount {
  font-size: 40px;
  font-weight: 700;
  color: #0d2f3a;
  line-height: 1.1;
}

.premium-signup-period {
  font-size: 14px;
  font-weight: 400;
  color: #8a9695;
  line-height: 1.2;
}

.premium-signup-foot {
  text-align: center;
  color: #8a9695;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin: 8px 0 0;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

.signup-done {
  text-align: center;
  padding: 12px 8px;
}

.signup-done-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--brand-ink);
}

.signup-done-sub {
  margin: 0 0 10px;
  color: #4d6672;
}

.signup-done-link {
  color: var(--brand-teal);
  font-weight: 600;
  text-decoration: none;
}

.signup-done-link:hover {
  text-decoration: underline;
}

.signup-card-hero.signup-done,
.signup-card-footer.signup-done {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 16px;
}

.signup-card-hero.signup-done {
  position: relative;
  left: auto;
  transform: none;
  bottom: auto;
  margin: 24px auto 0;
  width: 100%;
  max-width: 300px;
}

.hero-band > .signup-card-hero.signup-done {
  position: relative;
}

/* ---------- Deal cards ---------- */
.deals-sec {
  margin: 0 auto;
  width: min(1120px, calc(100% - 2.5rem));
}

.deals-head {
  margin: 20px auto 18px;
  max-width: 36rem;
}

.deals-head p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.deal-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.deal-card {
  flex: 0 0 min(340px, 86vw);
  scroll-snap-align: start;
}

.card {
  border: 1px solid #e9eff2;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 59, 74, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(12, 59, 74, 0.12);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-bottom {
  margin-top: auto;
}

.card .cta-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
}

.image-wrap {
  height: 248px;
  background: var(--brand-sky);
  position: relative;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.image-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 59, 74, 0) 0%, rgba(12, 59, 74, 0.82) 100%);
  pointer-events: none;
}

.price-stack {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  text-shadow: 0 1px 8px rgba(12, 59, 74, 0.35);
}

.price-was {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: line-through;
  letter-spacing: 0.01em;
  line-height: 1;
}

.price-now {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.locked .price-stack {
  display: none;
}

.place-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 68%;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(12, 59, 74, 0.12);
  overflow: hidden;
  white-space: nowrap;
}

.place-badge .flag {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.place-badge .place-city {
  overflow: hidden;
  text-overflow: ellipsis;
}

.save-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--brand-green);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.deal-dest {
  font-weight: 800;
  font-size: 1.18rem;
  margin: 0 0 4px;
  line-height: 1.25;
  color: var(--brand-ink);
}

.deal-from {
  font-size: 0.86rem;
  color: var(--brand-muted);
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.35;
}

.meta {
  color: #93a7b0;
  font-size: 0.84rem;
  margin: 0 0 12px;
}

.locked .image-wrap img {
  filter: grayscale(0.35) brightness(0.9) blur(5px);
}

.mask-blur {
  filter: blur(5px);
  opacity: 0.75;
  user-select: none;
}

.note-caption {
  text-align: center;
  font-size: 0.84rem;
  color: #93a7b0;
  margin: 6px 0 0;
}

/* ---------- How it works ---------- */
.how {
  margin: 40px auto 8px;
  text-align: center;
  width: min(1120px, calc(100% - 2.5rem));
}

.how-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin: 32px auto 0;
  max-width: 920px;
  text-align: left;
}

.how-cascade {
  flex: 1 1 420px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.how-shot {
  flex: 1 1 280px;
  max-width: 360px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.how-shot-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  aspect-ratio: 360 / 434;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(12, 59, 74, 0.12);
}

.how-cascade-item {
  display: flex;
  align-items: stretch;
  gap: 14px;
  position: relative;
}

.how-cascade-item:nth-child(1) {
  z-index: 3;
}

.how-cascade-item:nth-child(2) {
  z-index: 2;
  margin-left: 32px;
  margin-top: -16px;
}

.how-cascade-item:nth-child(3) {
  z-index: 1;
  margin-left: 64px;
  margin-top: -16px;
}

.how-n {
  font-family: var(--brand-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-ink);
  min-width: 1.35rem;
  padding-top: 16px;
  flex-shrink: 0;
}

.how-step {
  flex: 1;
  border-radius: 20px;
  padding: 22px 22px 20px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(12, 59, 74, 0.12);
  box-sizing: border-box;
}

.how-step-1 {
  background: var(--brand-aqua);
  color: var(--brand-ink);
}

.how-step-2 {
  background: var(--brand-teal);
  color: #fff;
}

.how-step-3 {
  background: var(--brand-ink);
  color: #fff;
}

.how-step h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  color: inherit;
  line-height: 1.3;
}

.how-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.how-step-1 p {
  color: var(--brand-ink-soft);
}

.how-step-2 p,
.how-step-3 p {
  color: rgba(255, 255, 255, 0.88);
}

.how-emoji {
  margin-right: 6px;
}

.how-cta-wrap {
  text-align: center;
  margin: 8px 0 0;
}

.how-cta {
  display: inline-block;
  margin: 36px auto 0;
  background: var(--brand-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.75rem 2rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.how-cta:hover {
  background: #21875c;
  transform: scale(1.03);
  color: #fff;
}

/* ---------- Plans ---------- */
.plans {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 72px auto 8px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 8px auto 0;
  align-items: stretch;
}

.plan-card-cell {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow: 0 8px 24px rgba(12, 59, 74, 0.05);
  box-sizing: border-box;
}

.plan-card-cell .plan-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  height: auto;
  flex: 1 1 auto;
}

.plan-card h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.plan-price {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-ink-soft);
  line-height: 1.35;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  flex: 1 1 auto;
}

.plan-card li {
  position: relative;
  padding: 0 0 12px 18px;
  color: #4d6672;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.plan-card li:last-child {
  padding-bottom: 0;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand-teal);
}

.plan-cta-wrap {
  margin-top: auto;
  width: 100%;
  flex: 0 0 auto;
  padding-top: 22px;
  align-self: stretch;
}

.plan-cta-wrap .cta-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.plan-cta-free {
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
  border: none;
}

.plan-cta-free:hover {
  background: #21875c;
  color: #fff;
}

.plan-cta-premium {
  background: #fff;
  color: var(--brand-teal);
  border: 1.5px solid var(--brand-aqua);
  font-weight: 600;
  box-shadow: none;
}

.plan-cta-premium:hover {
  background: var(--brand-sky);
  color: var(--brand-teal-hover);
  border-color: var(--brand-teal-hover);
}

/* ---------- FAQ ---------- */
.faq-acc {
  max-width: 720px;
  margin: 52px auto 8px;
  width: calc(100% - 2.5rem);
}

.faq-acc details {
  background: #fff;
  border: 1px solid #e9eff2;
  border-radius: 16px;
  margin: 0 0 10px;
}

.faq-acc summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 17px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-acc summary::-webkit-details-marker {
  display: none;
}

.faq-acc summary::after {
  content: "+";
  color: var(--brand-teal);
  font-size: 1.35rem;
}

.faq-acc details[open] summary::after {
  content: "–";
}

.faq-acc details p {
  margin: 0;
  padding: 0 18px 18px;
  color: #4d6672;
  line-height: 1.6;
}

/* ---------- Closing CTA ---------- */
.final-cta {
  text-align: center;
  margin: 88px auto 4px;
  max-width: 36rem;
  padding: 48px 1.25rem 12px;
}

.final-cta h2 {
  font-family: var(--brand-serif);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  color: var(--brand-ink);
}

.final-cta > p {
  margin: 0;
  color: var(--brand-ink-soft);
  font-size: 1.08rem;
  line-height: 1.5;
}

/* ---------- Premium page ---------- */
.premium-page {
  width: min(720px, calc(100% - 2.5rem));
  margin: 40px auto 0;
}

.premium-hero {
  max-width: 480px;
  margin: 0 auto 20px;
  text-align: center;
  padding: 0;
  background: transparent;
}

.premium-hero .hero-title {
  max-width: none;
  color: #0d2f3a;
  margin: 0 auto 12px;
}

.premium-hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}

.premium-hero-badge {
  display: inline-block;
  background: #e4f7f2;
  color: #0f6e56;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.premium-hero-lead {
  text-align: center;
  font-weight: 700;
  color: #0d2f3a;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0 auto 6px;
  max-width: 40rem;
  overflow-wrap: anywhere;
}

.premium-hero-trust {
  text-align: center;
  color: #8a9695;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 480px;
}

/* Benefits: ONE white card, mint icon squares */
.premium-benefits-card {
  background: #fff;
  border: 1px solid #e1e8e4;
  border-radius: 20px;
  padding: 1.75rem;
  margin: 2.5rem auto 0;
  max-width: 460px;
  width: 100%;
  box-sizing: border-box;
}

.premium-benefits-title {
  color: #0d2f3a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
  text-align: left;
}

.premium-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  align-items: start;
  column-gap: 24px;
  row-gap: 22px;
  margin: 0;
  padding: 0;
}

.premium-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.premium-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e4f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  margin: 0 0 10px;
}

.premium-benefit-title {
  color: #0d2f3a;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.premium-benefit-sub {
  color: #3f5b57;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  line-height: 1.35;
}

/* Premium table preview */
.premium-preview-wrap {
  margin: 2.5rem auto 0;
  max-width: 44rem;
  width: 100%;
}

.premium-preview-label {
  text-align: center;
  color: #0d2f3a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.premium-table-card {
  background: #fff;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 0 auto;
  max-width: 44rem;
  width: 100%;
  box-sizing: border-box;
}

.premium-table-clear {
  overflow-x: auto;
}

.premium-table-tease {
  position: relative;
  min-height: 5.75rem;
  overflow: hidden;
}

.premium-table-tease-rows {
  filter: blur(2.5px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.premium-table-tease-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.98) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 12px 14px;
  pointer-events: none;
}

.premium-table-preview-link {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #12a388;
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--brand-sans);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.premium-table-preview-link:hover {
  background: #0e8f76;
  color: #fff;
  text-decoration: none;
}

.premium-preview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  border: none;
}

.premium-preview-table col.premium-col-dest {
  width: 22%;
}

.premium-preview-table col.premium-col-dates {
  width: 26%;
}

.premium-preview-table col.premium-col-origin {
  width: 18%;
}

.premium-preview-table col.premium-col-price {
  width: 16%;
}

.premium-preview-table col.premium-col-vs {
  width: 18%;
}

.premium-preview-table th,
.premium-preview-table td {
  border-left: none;
  border-right: none;
  border-bottom: none;
  vertical-align: middle;
}

.premium-preview-table th {
  font-size: 12px;
  font-weight: 400;
  color: #8a9695;
  text-transform: none;
  letter-spacing: 0;
  padding: 0 14px 10px 0;
  border-top: none;
  border-bottom: 2px solid #0d2f3a;
  white-space: nowrap;
  text-align: left;
}

.premium-preview-table td {
  font-size: 13px;
  color: #3f5b57;
  padding: 12px 14px 12px 0;
  border-top: 1px solid #edf2f1;
}

.premium-preview-table thead + tbody tr:first-child td {
  border-top: none;
}

.premium-preview-table th.premium-th-price,
.premium-preview-table th.premium-th-vs,
.premium-preview-table td.premium-td-price,
.premium-preview-table td.premium-td-vs {
  text-align: right;
  padding-right: 0;
  padding-left: 14px;
}

.premium-td-dest {
  color: #0d2f3a;
  font-weight: 700;
}

.premium-td-price {
  color: #0d2f3a;
  font-weight: 700;
  white-space: nowrap;
}

.premium-td-vs {
  color: #0f6e56;
  font-weight: 700;
  white-space: nowrap;
}

.premium-td-dates,
.premium-td-origin {
  color: #3f5b57;
  font-weight: 400;
}

.stripe-missing {
  text-align: center;
  color: #6b818c;
  font-size: 0.9rem;
}

/* ---------- Privacy ---------- */
.privacy-page {
  max-width: 42rem;
  margin: 28px auto 48px;
  padding: 28px 24px 32px;
  background: #e4f7f2;
  border-radius: 20px;
  color: #0d2f3a;
}

.privacy-page h1 {
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  letter-spacing: -0.03em;
  color: #0d2f3a;
  margin: 0 0 22px;
  text-align: left;
}

.privacy-page h2 {
  font-family: var(--brand-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0d2f3a;
  margin: 22px 0 8px;
}

.privacy-page p,
.privacy-page li {
  font-size: 15px;
  line-height: 1.55;
  color: #0d2f3a;
  margin: 0 0 10px;
}

.privacy-page ul {
  margin: 0 0 10px 1.1rem;
  padding: 0;
}

.privacy-todo {
  color: #8a9695;
  font-size: 13px;
  background: transparent;
  padding: 0;
}

.privacy-link {
  color: #12a388;
  text-decoration: underline;
}

.privacy-link:hover {
  text-decoration: underline;
}

/* ---------- Shared CTA ---------- */
.cta-btn {
  display: inline-block;
  background: var(--brand-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.cta-btn:hover {
  background: #21875c;
  color: #fff;
}

.cta-btn-secondary {
  background: #fff;
  color: var(--brand-teal);
  border: 1.5px solid var(--brand-aqua);
}

.cta-btn-secondary:hover {
  background: var(--brand-sky);
  color: var(--brand-teal-hover);
}

.cta-btn-premium {
  background: var(--brand-waitlist);
}

.cta-btn-premium:hover {
  background: var(--brand-waitlist-2);
}

/* ---------- Footer ---------- */
.footer-faq details {
  background: #fff;
  border: 1px solid #e0eaee;
  border-radius: 10px;
  margin: 0 0 6px;
  overflow: hidden;
}

.footer-faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 0.78rem;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.footer-faq summary::-webkit-details-marker {
  display: none;
}

.footer-faq summary::after {
  content: "+";
  color: var(--brand-teal);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.footer-faq details[open] summary::after {
  content: "–";
}

.footer-faq details p {
  margin: 0;
  padding: 0 10px 10px;
  color: #6b818c;
  font-size: 0.78rem;
  line-height: 1.45;
}

.site-footer-blurb {
  margin: 0 0 4px;
  max-width: 36rem;
  color: #4d6672;
  font-size: 0.85rem;
  line-height: 1.45;
}

.site-footer-blurb-sub {
  margin: 0 0 22px;
  max-width: 36rem;
  color: #6b818c;
  font-size: 0.82rem;
  line-height: 1.45;
}

.stub {
  max-width: 40rem;
  padding: 2.5rem 1.25rem 3rem;
  margin: 0 auto;
}

.stub-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.stub h1 {
  margin: 0 0 14px;
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand-ink);
}

.stub-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4d6672;
}

.stub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin: 0;
}

.stub-mail {
  color: var(--brand-ink-soft);
  font-weight: 600;
}

.site-footer {
  background: #eef3f5;
  border-top: 1px solid #d7e3e7;
  padding: 36px max(32px, calc((100vw - 1120px) / 2)) 24px;
  color: var(--brand-muted);
  font-size: 0.8rem;
}

.site-footer-brand {
  display: inline-block;
  margin: 0 0 22px;
  color: var(--brand-ink);
  text-decoration: none;
  font-family: var(--brand-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.page-premium .site-footer-brand {
  margin-bottom: 22px;
}

.site-footer-legal {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 28px 32px;
  margin: 0 0 28px;
  max-width: 1120px;
}

.site-footer-col h4 {
  margin: 0 0 8px;
  font-family: var(--brand-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.site-footer-col p {
  margin: 0;
  color: #6b818c;
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 400;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  max-width: 1120px;
  padding-top: 16px;
  border-top: 1px solid #dfe8eb;
}

.site-footer-nav a {
  display: inline;
  color: var(--brand-muted);
  text-decoration: none;
  margin: 0;
  font-weight: 500;
  font-size: 0.8rem;
}

.site-footer-nav a:hover {
  color: var(--brand-ink);
}

.site-footer-nav .social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.site-footer-nav .social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.site-footer-nav .social svg {
  flex: 0 0 auto;
}

.site-footer-copy {
  max-width: 1120px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #dfe8eb;
  font-size: 0.75rem;
  color: #8aa0a8;
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .site-nav {
    padding: 0.7rem 0.9rem;
    gap: 8px;
  }

  .nav-logo {
    font-size: 1.05rem;
    gap: 6px;
    min-width: 0;
  }

  .nav-logo-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .nav-actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }

  .lang-switch {
    font-size: 0.68rem;
  }

  .lang-switch a {
    padding: 0.28rem 0.5rem;
  }

  .nav-login {
    display: inline;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .nav-premium {
    padding: 0.4rem 0.65rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .hero-band {
    padding: 24px 16px 200px;
  }

  .hero-title {
    max-width: none;
    font-size: 2.05rem;
  }

  .hero-head p {
    font-size: 0.98rem;
  }

  .signup-card-hero {
    bottom: 14px;
    width: calc(100% - 32px);
  }

  .final-cta {
    margin: 56px auto 4px;
    padding: 36px 1rem 12px;
  }

  .how-layout {
    flex-direction: column;
    align-items: center;
  }

  .how-cascade,
  .how-shot {
    max-width: 100%;
    width: 100%;
  }

  .how-cascade-item:nth-child(2) {
    margin-left: 18px;
    margin-top: -12px;
  }

  .how-cascade-item:nth-child(3) {
    margin-left: 36px;
    margin-top: -12px;
  }

  .how-n {
    font-size: 1.85rem;
    padding-top: 14px;
  }

  .plans-grid,
  .premium-benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .image-wrap {
    height: 220px;
  }

  .price-now {
    font-size: 1.38rem;
  }

  .price-was {
    font-size: 0.9rem;
  }

  .premium-table-card {
    margin: 0 auto;
    padding: 1rem;
  }

  .premium-preview-table th,
  .premium-preview-table td {
    font-size: 12px;
    padding: 8px;
  }

  .premium-preview-table th.premium-th-price,
  .premium-preview-table th.premium-th-vs,
  .premium-preview-table td.premium-td-price,
  .premium-preview-table td.premium-td-vs {
    padding-left: 8px;
    padding-right: 0;
  }

  .premium-table-preview-link {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  .site-footer-legal {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-nav .social {
    margin-left: 0;
  }
}

/* ---------- Offres ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.offres-page {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 3.5rem;
  padding-top: 0;
}

.offres-top-space {
  height: 2.75rem;
}

.offres-page.is-locked {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.offres-locked-hero {
  max-width: 640px;
  margin: 0 auto 4px;
  text-align: center;
}

.offres-locked-hero h1 {
  margin: 8px 0 6px;
  font-family: var(--brand-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-ink);
  line-height: 1.2;
}

.offres-locked-hero .lead {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.offres-locked-hero .lead + .lead {
  margin-top: 4px;
}

.offres-page .premium-badge {
  display: inline-block;
  background: var(--brand-teal);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.offres-lookup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
  margin: 24px auto 0;
  padding: 20px 22px 16px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  text-align: left;
  box-shadow: none;
}

.offres-lookup label {
  font-family: var(--brand-sans);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-ink);
}

.offres-lookup input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #c9d8e0;
  border-radius: 12px;
  font: inherit;
  box-sizing: border-box;
}

.offres-lookup-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  padding: 0.75rem 1.25rem;
}

.offres-lookup-submit:hover {
  background: #21875c;
}

.offres-lookup:has(input:placeholder-shown) .offres-lookup-submit {
  opacity: 0.45;
  background: #b7c6cb;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.offres-lookup-warn {
  text-align: center;
  color: var(--brand-ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 480px;
  margin: 14px auto 0;
  padding: 10px 14px;
  background: var(--brand-sky);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
}

.offres-locked-actions {
  margin-top: 1rem;
  text-align: center;
}

.offres-welcome {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1.5rem;
  padding: 32px 24px;
  background: #023b49;
  border-radius: 12px;
  text-align: center;
}

.offres-welcome-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #009b94;
}

.offres-welcome-check {
  display: block;
  width: 18px;
  height: 18px;
}

.offres-welcome h2 {
  margin: 0 0 8px;
  font-family: var(--brand-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f7fbfe;
  line-height: 1.2;
  text-align: center;
}

.offres-welcome-sub,
.offres-welcome-paid {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #9fe1cb;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.offres-welcome-paid {
  margin-top: 8px;
  opacity: 0.9;
}

.offres-nl,
.offres-toolbar {
  background: #fff;
  border: 0.5px solid #dceae6;
  border-radius: 12px;
  padding: 20px;
  margin: 0 0 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offres-toolbar {
  gap: 16px;
  margin-bottom: 0;
}

.offres-nl-title,
.offres-filters-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0d2f3a;
}

.offres-nl-hint {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #8a9695;
}

.offres-nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.offres-nl-form input[type="search"] {
  flex: 1 1 16rem;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid #dceae6;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.offres-nl-submit {
  border: 0;
  cursor: pointer;
  background: #12a388;
  color: #fff;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  min-height: 38px;
  padding: 0.45rem 1.15rem;
  white-space: nowrap;
}

.offres-nl-submit:hover {
  background: #0f8a73;
}

.offres-nl-summary,
.offres-nl-changed,
.offres-nl-error {
  margin: 0 4px;
  font-size: 13.5px;
  color: #0d2f3a;
  line-height: 1.45;
}

.offres-nl-changed {
  font-size: 12.5px;
  font-weight: 600;
  color: #5c7380;
}

.offres-or-manual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.offres-or-manual-line {
  flex-grow: 1;
  border-top: 1px solid #b7c0be;
  height: 0;
}

.offres-or-manual-text {
  color: #8a9695;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.offres-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offres-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.offres-filter-row label,
.offres-filter-budget label,
.offres-dates-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: #0d2f3a;
  line-height: 1.2;
}

.offres-filter-row select,
.offres-filter-row input,
.offres-filter-budget input,
.offres-dates-inputs input {
  min-height: 42px;
  padding: 0.45rem 0.6rem;
  border: 1px solid #dceae6;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}

.offres-dates-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offres-dates-sep {
  color: #8a9695;
  flex-shrink: 0;
}

.offres-filter-budget input[type="range"] {
  width: 100%;
  min-height: 28px;
  accent-color: #12a388;
  padding: 0;
}

.offres-filter-row select[multiple] {
  min-height: 6.5rem;
}

.offres-budget-ends {
  display: flex;
  justify-content: space-between;
  margin: 4px 8px 0;
  font-size: 12px;
  font-weight: 500;
  color: #8a9695;
}

.offres-ms {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  min-width: 0;
}

.offres-ms-label {
  font-size: 12px;
  font-weight: 600;
  color: #0d2f3a;
}

.offres-ms-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
}

.offres-ms-chips:empty {
  display: none;
}

.offres-ms-chip {
  border: 0;
  background: #d3f0e4;
  color: #0d5c4d;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offres-ms-chip:hover {
  background: #bfe6d6;
}

.offres-ms-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid #dceae6;
  border-radius: 0;
  padding: 0.35rem 0.15rem 0.45rem;
  background: transparent;
  font: inherit;
  color: #0d2f3a;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.offres-ms-toggle:hover,
.offres-ms-toggle[aria-expanded="true"] {
  border-bottom-color: #12a388;
  color: #0d5c4d;
}

.offres-ms-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b7a78;
  font-weight: 500;
  font-size: 0.88rem;
}

.offres-ms-toggle[aria-expanded="true"] .offres-ms-summary,
.offres-ms-toggle:hover .offres-ms-summary {
  color: #0d5c4d;
}

.offres-ms-caret {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid #8a9695;
  border-bottom: 1.5px solid #8a9695;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.offres-ms-toggle:hover .offres-ms-caret,
.offres-ms-toggle[aria-expanded="true"] .offres-ms-caret {
  border-color: #12a388;
}

.offres-ms-toggle[aria-expanded="true"] .offres-ms-caret {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.offres-ms-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e4efec;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(13, 47, 58, 0.1);
  padding: 4px;
}

/* Override .offres-filter-row label { flex-direction: column } — text only, no checkbox UI. */
.offres-ms-option {
  display: block;
  flex-direction: unset;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0d2f3a;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.12s ease, color 0.12s ease;
}

.offres-ms-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.offres-ms-option-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offres-ms-option:hover {
  background: #f4fbf9;
  color: #0d5c4d;
}

.offres-ms-option.is-selected {
  background: #eaf8f3;
  color: #0d5c4d;
  font-weight: 600;
}

.offres-ms-option.is-selected .offres-ms-option-text::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.45rem;
  margin-bottom: 0.08rem;
  border-radius: 50%;
  background: #12a388;
  vertical-align: middle;
}

.offres-filters-note {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #8a9695;
  line-height: 1.45;
}

/* ---------- Shared loader (HTMX) ---------- */
.site-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 14px;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(232, 247, 243, 0.92);
  border: 1px solid #cfe9e1;
  color: #0f6e56;
  font-size: 0.88rem;
  font-weight: 600;
}

.htmx-request.site-loader,
.site-loader.htmx-request {
  display: flex;
}

.site-loader-spinner {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(18, 163, 136, 0.25);
  border-top-color: #12a388;
  border-radius: 50%;
  animation: site-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.site-loader-label {
  line-height: 1.2;
}

.site-loader-compact {
  margin: 0;
  padding: 0.45rem 0;
  background: transparent;
  border: 0;
  justify-content: flex-start;
  font-size: 0.8rem;
}

.offres-busy-slot {
  min-height: 0;
}

.offres-busy-slot .site-loader {
  margin-bottom: 16px;
}

@keyframes site-spin {
  to { transform: rotate(360deg); }
}

body.htmx-request:has(#offres-busy-indicator.htmx-request) .offres-table-shell,
body.htmx-request:has(#offres-busy-indicator.htmx-request) #offres-dynamic .offres-empty-card {
  opacity: 0.55;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.offres-more-btn {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid #dceae6;
  background: transparent;
  color: #0f6e56;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 0;
  padding: 10px 0 4px;
  cursor: pointer;
  text-align: center;
}

.offres-more-btn:hover {
  color: #12a388;
}

.offres-more-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offres-more-panel[hidden] {
  display: none;
}

.offres-more {
  margin: 0;
}

.offres-more summary {
  cursor: pointer;
  list-style: none;
  color: #0f6e56;
  font-weight: 600;
  font-size: 13.5px;
  width: 100%;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid #dceae6;
  text-align: center;
}

.offres-more summary::-webkit-details-marker {
  display: none;
}

.offres-more[open] summary {
  margin-bottom: 12px;
}

.offres-more .offres-filter-row {
  margin-bottom: 12px;
}

.offres-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.offres-alerts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex: 1 1 220px;
  min-width: min(100%, 16rem);
}

.offres-alert-create {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.offres-alert-name {
  font: inherit;
  font-size: 13.5px;
  color: #0d2f3a;
  background: #fff;
  border: 1px solid #cfe9e1;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  width: 10.5rem;
  max-width: 100%;
}

.offres-alert-name:focus {
  outline: 2px solid #12a388;
  outline-offset: 1px;
}

.offres-alert-create-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  background: #0d2f3a;
  color: #fff;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
}

.offres-alert-create-btn:hover {
  background: #123d4a;
  color: #fff;
}

.offres-alerts-manage {
  position: relative;
}

.offres-alerts-manage > summary {
  list-style: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  color: #0d2f3a;
  background: #fff;
  border: 1px solid #cfe9e1;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  display: inline-flex;
  align-items: center;
}

.offres-alerts-manage > summary::-webkit-details-marker {
  display: none;
}

.offres-alerts-manage > summary::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 11px;
  color: #8a9695;
}

.offres-alerts-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 6px);
  min-width: min(18rem, 80vw);
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(13, 47, 58, 0.12);
  padding: 8px;
}

.offres-alerts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offres-alert-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.offres-alert-item a {
  flex: 1;
  min-width: 0;
  color: #0d2f3a;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}

.offres-alert-item a:hover {
  background: #e4f7f2;
  color: #0f6e56;
}

.offres-alert-delete {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #8a9695;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
}

.offres-alert-delete:hover {
  background: #f1f8f9;
  color: #0d2f3a;
}

.offres-alerts-empty {
  margin: 0;
  padding: 10px 12px;
  color: #8a9695;
  font-size: 13px;
}

.offres-alert-flash {
  margin: 0;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #0f6e56;
}

.offres-alert-flash.is-error {
  color: #8a4a3a;
}

.offres-apply-btn,
.offres-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  background: #12a388;
  color: #fff;
  min-height: 42px;
  padding: 0.55rem 1.25rem;
}

.offres-apply-btn:hover,
.offres-load-more-btn:hover {
  background: #0f8a73;
  color: #fff;
}

.offres-reset,
.offres-reset-link {
  color: #0f6e56;
  font-weight: 600;
  text-decoration: underline;
  font-size: 13.5px;
}

.offres-filter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #e4f7f2;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0;
}

.offres-status-count {
  margin: 0;
  color: #0f6e56;
  font-weight: 700;
  font-size: 13.5px;
}

.offres-table-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #0f8a73;
}

.offres-table-status svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.offres-table-status-text {
  min-width: 0;
}

.offres-table-status-count {
  color: #0d2f3a;
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 4px;
  white-space: nowrap;
}

.offres-table-status-hint {
  color: #8a9695;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  margin: 0;
  line-height: 1.5;
}

.offres-empty-card {
  background: #fff;
  border: 1px dashed #dceae6;
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  margin-top: 16px;
}

.offres-empty-card strong {
  display: block;
  color: #0d2f3a;
  font-size: 16px;
  margin-bottom: 6px;
}

.offres-empty-card p {
  margin: 0;
  color: #8a9695;
  font-size: 14px;
}

.offres-empty-actions {
  text-align: center;
  margin: 14px 0 0;
}

.offres-table-shell {
  overflow: visible;
  width: 100%;
}

.offres-explorer {
  width: 100%;
  margin: 0;
}

.offres-table-wrap {
  display: block;
  width: 100%;
  max-height: 560px;
  overflow: auto;
  border: 1px solid #dceae6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 47, 58, 0.06);
}

.offres-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--brand-sans);
  font-size: 13.5px;
  color: #0d2f3a;
  min-width: 1100px;
}

.offres-table th,
.offres-table td {
  box-sizing: border-box;
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #dceae6;
  vertical-align: middle;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offres-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0d2f3a;
  font-weight: 600;
  font-size: 12.5px;
  color: #fff;
}

.offres-table th.is-sorted {
  background: #123d4a;
}

.offres-th-sort {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.offres-th.is-sorted .offres-th-sort {
  color: #d3f0e4;
}

.offres-table tbody tr:last-child td {
  border-bottom: none;
}

.offres-table tbody tr:nth-child(even) {
  background: #f4fbf9;
}

.offres-table tbody tr:hover {
  background: #d3f0e4;
}

.offres-table .origin-cell,
.offres-table .dest-cell {
  font-weight: 600;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.35;
  min-width: 140px;
}

.offres-table .dest-cell {
  font-weight: 500;
}

.offres-table .price-cell {
  font-weight: 800;
  font-size: 14.5px;
  font-family: var(--brand-serif);
}

.offres-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.offres-disc {
  display: inline-block;
  background: #d3f0e4;
  color: #0f8a73;
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.offres-cta {
  color: #0f8a73;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.offres-cta:hover {
  color: #12a388;
  text-decoration: underline;
}

.offres-cta-src {
  display: inline-block;
  margin-left: 6px;
  color: #8a9695;
  font-size: 11px;
  font-weight: 500;
}

.offres-load-more {
  text-align: center;
  margin: 1.25rem 0 0.5rem;
}

.offres-results-meta {
  display: flex;
  gap: 10px;
  margin: 28px 0 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 12px;
  color: #0f8a73;
}

.offres-results-meta svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.offres-results-meta-text p {
  font-size: 13px;
  color: #8a9695;
  margin: 0;
  line-height: 1.5;
}

.offres-view-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
  flex-wrap: wrap;
}

.offres-view-label {
  font-size: 14px;
  font-weight: 600;
  color: #0d2f3a;
}

.offres-view-seg {
  display: inline-flex;
  border: 1px solid #dceae6;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.offres-view-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5a58;
  text-decoration: none;
  background: transparent;
}

.offres-view-btn.is-active {
  background: #0d2f3a;
  color: #fff;
}

.offres-view-btn:not(.is-active):hover {
  background: #f4fbf9;
  color: #0d2f3a;
}

.offres-deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.offres-deal-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(13, 47, 58, 0.08);
  border: 1px solid #dceae6;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offres-deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 47, 58, 0.12);
}

.offres-deal-photo {
  height: 130px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.offres-deal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 47, 58, 0) 35%, rgba(13, 47, 58, 0.55) 100%);
}

.offres-deal-dest {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--brand-serif);
}

.offres-deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: #d3f0e4;
  color: #0d2f3a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.offres-deal-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.offres-deal-route {
  font-size: 12.5px;
  color: #4b5a58;
  font-weight: 500;
}

.offres-deal-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  gap: 8px;
}

.offres-deal-price {
  font-size: 18px;
  font-weight: 800;
  color: #0d2f3a;
  font-family: var(--brand-serif);
}

a.offres-card-cta {
  background: #12a388;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

a.offres-card-cta:hover {
  background: #0f8a73;
  color: #fff;
  text-decoration: none;
}

.offres-settings {
  margin: 36px 0 12px;
}

.offres-personalize-title {
  font-family: var(--brand-serif);
  font-size: 22px;
  font-weight: 700;
  color: #0d2f3a;
  margin: 0 0 14px;
}

.offres-settings-card {
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(13, 47, 58, 0.05);
}

.offres-settings-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.offres-settings-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #d3f0e4;
  color: #0f8a73;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.offres-settings-title {
  font-weight: 700;
  color: #0d2f3a;
  font-size: 15px;
}

.offres-settings-sub {
  color: #8a9695;
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.45;
}

.offres-billing-price {
  font-weight: 600;
  color: #0f8a73;
  font-size: 13px;
  margin-top: 2px;
}

.offres-freq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offres-freq-pill {
  position: relative;
  border: 1px solid #dceae6;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #0d2f3a;
  background: #fff;
  cursor: pointer;
}

.offres-freq-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.offres-freq-pill.is-active,
.offres-freq-pill:has(input:checked) {
  background: #0d2f3a;
  border-color: #0d2f3a;
  color: #fff;
}

.offres-freq-table-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #8a9695;
  line-height: 1.45;
}

.offres-freq-saved {
  margin: 10px 0 0;
  color: #0f8a73;
  font-size: 13px;
  font-weight: 600;
}

.offres-billing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dceae6;
  background: #fff;
  color: #0d2f3a;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.offres-billing-btn:hover {
  border-color: #12a388;
  color: #0f8a73;
}

.offres-billing-note {
  font-size: 12.5px;
  color: #8a9695;
  margin: 4px 0 0;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .offres-page {
    width: min(100%, calc(100% - 1.25rem));
  }

  .offres-filter-row {
    grid-template-columns: 1fr;
  }

  .offres-nl-form {
    flex-direction: column;
  }

  .offres-nl-submit,
  .offres-apply-btn,
  .offres-alert-create-btn {
    width: 100%;
  }

  .offres-alert-name {
    width: 100%;
  }

  .offres-alerts-manage {
    width: 100%;
  }

  .offres-alerts-manage > summary {
    width: 100%;
    justify-content: center;
  }

  .offres-welcome {
    padding: 24px 16px;
  }

  .offres-welcome h2 {
    font-size: 22px;
  }

  .offres-filter-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .offres-deal-grid {
    grid-template-columns: 1fr;
  }

  .offres-dates-inputs {
    flex-direction: column;
    align-items: stretch;
  }
}

