/*
Theme Name: Sinoboom Vertikal Days
Theme URI: https://mysinoboomevents.com/
Author: Sinoboom
Description: Landing page responsive pour l'invitation Sinoboom aux Vertikal Days 2026. Compatible Contact Form 7 et Polylang.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: sinoboom-vertikal-days
*/

:root {
  --sb-blue: #0879b8;
  --sb-cyan: #20a9df;
  --sb-navy: #073756;
  --sb-pink: #ed145b;
  --sb-ink: #10344a;
  --sb-paper: #f6fbfe;
  --sb-white: #fff;
  --sb-radius: 24px;
  --sb-shadow: 0 24px 70px rgba(3, 52, 83, .16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sb-ink);
  background: var(--sb-paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sb-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  color: #fff;
  background: var(--sb-blue);
}

.site-header__tools {
  /* min-height: 72px; */
  display: flex;
  align-items: center;
  background: #020d21;
}

.site-header__tools .sb-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.sb-event-banner {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(80px, .2fr) minmax(600px, 2.1fr);
  gap: clamp(20px, 4vw, 65px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 54px) clamp(24px, 4vw, 65px) 28px;
}

.sb-event-banner__date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  color: #169cd4;
  background: #fff;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: .92;
  letter-spacing: .04em;
}

.sb-event-banner__date span:nth-child(2) {
  font-weight: 300;
  letter-spacing: .22em;
}

.sb-event-banner__date strong {
  font-weight: 900;
}

.sb-event-banner__flag {
  align-self: center;
  justify-self: center;
  width: 200px;
  transform: rotate(-2deg);
}

.sb-event-banner__flag img {
  display: block;
  width: 100%;
  height: auto;
}

.sb-event-banner__main {
  align-self: center;
}

.sb-event-banner__brand {
  font-size: clamp(3rem, 8vw, 8.4rem);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.065em;
}

.sb-event-banner__row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 55px);
}

.sb-event-banner__row span {
  color: transparent;
  font-size: clamp(2rem, 4.6vw, 5rem);
  font-weight: 800;
  line-height: .9;
  -webkit-text-stroke: 2px #fff;
}

.sb-event-banner__row strong {
  padding: 13px 18px;
  color: #169cd4;
  background: #fff;
  font-size: clamp(1rem, 2.4vw, 2.3rem);
  white-space: nowrap;
}

.sb-event-banner__title {
  margin-top: 22px;
  font-size: clamp(2.7rem, 6vw, 6.6rem);
  font-weight: 900;
  line-height: .9;
  white-space: nowrap;
}

.sb-event-banner__strap {
  margin: 0 clamp(24px, 4vw, 65px) 14px;
  padding: 10px 14px;
  color: #169cd4;
  background: #fff;
  font-size: clamp(.9rem, 2.45vw, 2.5rem);
  text-align: center;
}

.sb-event-banner__strap strong {
  color: #0879b8;
}

.sino-language {
  position: relative;
  color: #fff;
}

.sino-language__toggle {
  min-width: 283px;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 1px 20px;
  border: 1px solid #fff;
  border-radius: 30.6672px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 1.035rem;
  cursor: pointer;
}

.sino-language__arrow {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.sino-language__toggle[aria-expanded="true"] .sino-language__arrow {
  transform: rotate(180deg);
}

.sino-language__flag {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  object-fit: cover;
}

.sino-language__list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid #fff;
  border-radius: 16px;
  color: #fff;
  background: #020d21;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  list-style: none;
}

.sino-language__list[hidden] {
  display: none;
}

.sino-language__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: .97rem;
  text-decoration: none;
}

.sino-language__link[aria-current="true"] {
  font-weight: 700;
}

.sino-language__link:hover,
.sino-language__link:focus {
  background: rgba(255, 255, 255, .12);
}

.sino-language__link img {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  object-fit: cover;
}

.sb-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 110px;
  color: #fff;
  background: linear-gradient(120deg, #075985, var(--sb-blue));
}

.sb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .23), transparent 28%), linear-gradient(180deg, transparent 55%, rgba(0, 39, 65, .36));
}

.sb-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -95px;
  height: 160px;
  border-radius: 50%;
  background: var(--sb-paper);
}

.sb-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
}

.sb-kicker {
  display: inline-flex;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sb-hero h1 {
  max-width: 780px;
  margin: 20px 0;
  font-size: clamp(3.2rem, 8vw, 7.3rem);
  line-height: .88;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.sb-hero h1 strong {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.sb-hero__lead {
  max-width: 670px;
  margin: 0 0 30px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.sb-date-card {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--sb-radius);
  background: rgba(0, 38, 65, .22);
  box-shadow: var(--sb-shadow);
  backdrop-filter: blur(10px);
}

.sb-date-card__big {
  display: block;
  font-size: clamp(4rem, 9vw, 7.2rem);
  font-weight: 900;
  line-height: .8;
}

.sb-date-card__month {
  display: block;
  margin-top: 16px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sb-date-card hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .4);
}

.sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--sb-pink);
  box-shadow: 0 10px 30px rgba(237, 20, 91, .3);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sb-button:hover,
.sb-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(237, 20, 91, .38);
}

.sb-section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.sb-section--white {
  background: #fff;
}

.sb-section--blue {
  color: #fff;
  background: var(--sb-navy);
}

.sb-eyebrow {
  margin: 0 0 12px;
  color: var(--sb-cyan);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sb-heading {
  max-width: 850px;
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.sb-intro {
  max-width: 780px;
  font-size: 1.15rem;
}

.sb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.sb-feature {
  padding: 30px;
  border: 1px solid #d9edf7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(6, 75, 112, .08);
}

.sb-feature__number {
  display: block;
  color: var(--sb-cyan);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.sb-feature h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.sb-feature p {
  margin: 0;
}

.sb-invite {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: clamp(35px, 7vw, 100px);
  align-items: center;
}

.sb-invite__date {
  padding: 38px;
  border: 2px solid #fff;
  text-align: center;
}

.sb-invite__date strong {
  display: block;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: .9;
}

.sb-invite__date span {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sb-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.sb-detail {
  padding: 20px;
  border-left: 3px solid var(--sb-cyan);
  background: rgba(255, 255, 255, .06);
}

.sb-detail strong {
  display: block;
  color: var(--sb-cyan);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sb-form-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
}

.sb-form-card {
  padding: clamp(25px, 5vw, 55px);
  border-radius: var(--sb-radius);
  background: #fff;
  box-shadow: var(--sb-shadow);
}

.sb-form-card .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sb-form-card .wpcf7-form>p {
  margin: 0;
}

.sb-form-card .wpcf7-form>p:has(textarea),
.sb-form-card .wpcf7-form>p:has(input[type=checkbox]),
.sb-form-card .wpcf7-form>p:last-of-type,
.sb-form-card .wpcf7-response-output,
.sb-form-card .wpcf7-form>div.dinner-menu-options {
  grid-column: 1 / -1;
}

.sb-form-card label {
  display: block;
  color: var(--sb-navy);
  font-size: .86rem;
  font-weight: 800;
}

.sb-form-card input:not([type="checkbox"]):not([type="radio"]),
.sb-form-card select,
.sb-form-card textarea {
  width: 100%;
  min-height: 52px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #bcd9e7;
  border-radius: 7px;
  color: var(--sb-ink);
  background: #fafdff;
  font: inherit;
}

.sb-form-card textarea {
  min-height: 115px;
  resize: vertical;
}

.sb-form-card input:focus,
.sb-form-card select:focus,
.sb-form-card textarea:focus {
  outline: 3px solid rgba(32, 169, 223, .18);
  border-color: var(--sb-cyan);
}

.sb-form-card .wpcf7-list-item {
  margin: 8px 16px 0 0;
}

.sb-form-card input[type="submit"] {
  min-height: 54px;
  padding: 14px 28px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--sb-pink);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.sb-form-placeholder {
  padding: 28px;
  border: 2px dashed #bcd9e7;
  border-radius: 12px;
  text-align: center;
}

.sb-editor-content {
  margin-top: 40px;
}

.site-footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 7.078%;
  color: #fff;
  background: #020d21;
}

.sino-wordmark {
  display: block;
  width: 253px;
}

.sino-wordmark img {
  width: 253px;
  height: 33px;
}

@media (max-width: 850px) {
  .sb-event-banner {
    grid-template-columns: .75fr 1.75fr;
    gap: 22px;
    padding: 24px;
  }

  .sb-event-banner__flag {
    display: none;
  }

  .sb-event-banner__brand {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .sb-event-banner__row {
    margin-top: 25px;
  }

  .sb-event-banner__row span {
    -webkit-text-stroke-width: 1px;
  }

  .sb-event-banner__strap {
    margin-inline: 24px;
  }

  .sb-hero {
    min-height: auto;
  }

  .sb-hero__inner,
  .sb-invite,
  .sb-form-layout {
    grid-template-columns: 1fr;
  }

  .sb-date-card {
    max-width: 460px;
  }

  .sb-grid-3,
  .sb-details {
    grid-template-columns: 1fr;
  }

  .sb-form-layout {
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .sb-container {
    width: min(100% - 26px, 1180px);
  }

  .site-header__tools {
    /* min-height: 60px; */
  }

  .sino-language__toggle {
    min-width: 248px;
    min-height: 44px;
    gap: 10px;
    font-size: .9rem;
  }

  .sb-event-banner {
    grid-template-columns: 1fr;
    padding: 18px 13px;
  }

  .sb-event-banner__date {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 10px;
    padding: 12px;
    font-size: 1.6rem;
  }

  .sb-event-banner__date span:nth-child(2) {
    letter-spacing: .08em;
  }

  .sb-event-banner__main {
    text-align: center;
  }

  .sb-event-banner__brand {
    font-size: 14vw;
  }

  .sb-event-banner__row {
    justify-content: center;
    margin-top: 20px;
  }

  .sb-event-banner__row span {
    font-size: 7vw;
  }

  .sb-event-banner__row strong {
    padding: 8px;
    font-size: 3.4vw;
  }

  .sb-event-banner__title {
    font-size: 10vw;
    white-space: normal;
  }

  .sb-event-banner__strap {
    margin: 0 13px 13px;
    font-size: .78rem;
  }

  .sb-hero {
    padding-top: 75px;
  }

  .sb-hero h1 {
    font-size: clamp(2.9rem, 17vw, 5rem);
  }

  .sb-hero h1 strong {
    -webkit-text-stroke-width: 1px;
  }

  .sb-date-card {
    padding: 26px;
  }

  .sb-form-card .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .sb-form-card .wpcf7-form>p {
    grid-column: 1;
  }

  .site-footer {
    min-height: 110px;
    padding: 38px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

.vertikaldays_intro {
  position: sticky;
  top: 35px;
  align-self: start;
}

/* gestion du menu */

.dinner-menu-options {
  margin-top: 25px;
}

.dinner-menu-options[hidden] {
  display: none !important;
}

.dinner-course {
  margin: 0 0 25px;
  padding: 20px;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
}

.dinner-course legend {
  padding: 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.dinner-course .wpcf7-list-item {
  display: block;
  margin: 0 0 12px;
}

.dinner-course .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.dinner-course input[type="radio"],
.dinner-course input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 4px;
}