/*
Theme Name: Sylvain Basson Divi Child
Theme URI: https://sylvainbasson.com/
Description: Theme enfant Divi pour un site professionnel de musique live, DJ, technique evenementielle et location de materiel.
Author: Sylvain Basson
Template: Divi
Version: 2.0.0
Text Domain: sylvainbasson-divi-child
*/

:root {
  --sb-black: #050505;
  --sb-night: #0b1020;
  --sb-panel: #141414;
  --sb-panel-soft: #191b22;
  --sb-cream: #f5f2ea;
  --sb-muted: #a1a1aa;
  --sb-blue: #2563eb;
  --sb-blue-soft: rgba(37, 99, 235, 0.16);
  --sb-red: #b91c1c;
  --sb-line: rgba(245, 242, 234, 0.13);
  --sb-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

#top-header,
#main-header {
  display: none !important;
}

#page-container {
  padding-top: 0 !important;
}

.sb-site {
  color: var(--sb-cream);
  background: var(--sb-black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.sb-nav {
  position: sticky;
  z-index: 10000;
  top: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 78px;
  border-bottom: 1px solid rgba(143, 179, 255, 0.12);
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(5, 8, 18, 0.88);
  backdrop-filter: blur(18px);
}

.sb-nav__brand {
  color: var(--sb-cream) !important;
  text-transform: uppercase;
}

.sb-nav__brand strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: 0.42em;
}

.sb-nav__brand span {
  display: block;
  margin-top: 5px;
  color: #8fb3ff;
  font-size: 0.62rem;
  letter-spacing: 0.33em;
}

.sb-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.sb-nav__links a {
  position: relative;
  color: rgba(245, 242, 234, 0.88) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sb-nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 2px;
  background: var(--sb-blue);
  transform: translateX(-50%);
  transition: width 160ms ease;
}

.sb-nav__links a:hover::after {
  width: 30px;
}

.sb-nav__quote {
  justify-self: end;
  min-height: 42px;
  border: 1px solid rgba(37, 99, 235, 0.84);
  border-radius: 5px;
  padding: 12px 22px;
  color: #8fb3ff !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.sb-site img {
  display: block;
  max-width: 100%;
}

.sb-site a {
  text-decoration: none;
}

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

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

.sb-label,
.sb-card__tag,
.sb-kicker {
  margin: 0 0 12px;
  color: #8fb3ff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sb-site h1,
.sb-site h2,
.sb-site h3 {
  color: var(--sb-cream);
  line-height: 1.02;
}

.sb-site h1 {
  margin: 0 0 20px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 860;
  letter-spacing: -0.03em;
}

.sb-site h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  font-weight: 820;
  letter-spacing: -0.025em;
}

.sb-site h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
}

.sb-site p {
  color: var(--sb-muted);
}

.sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--sb-line);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--sb-cream) !important;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sb-button:hover {
  transform: translateY(-1px);
}

.sb-button--primary {
  border-color: var(--sb-blue);
  background: var(--sb-blue);
  color: #ffffff !important;
}

.sb-button--secondary {
  background: rgba(255, 255, 255, 0.06);
}

.sb-actions,
.sb-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sb-hero,
.sb-page-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(37, 99, 235, 0.26), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(185, 28, 28, 0.16), transparent 24%),
    linear-gradient(135deg, #050505 0%, #0b1020 54%, #050505 100%);
}

.sb-premium-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 5, 12, 0.92), rgba(2, 5, 12, 0.58) 48%, rgba(2, 5, 12, 0.16)),
    linear-gradient(0deg, rgba(2, 5, 12, 0.95), rgba(2, 5, 12, 0.12) 58%, rgba(2, 5, 12, 0.28)),
    var(--sb-hero-img),
    radial-gradient(circle at 76% 12%, rgba(37, 99, 235, 0.34), transparent 28%),
    linear-gradient(135deg, #050505 0%, #07101f 54%, #020409 100%);
  background-position: center;
  background-size: cover;
}

.sb-premium-hero__image,
.sb-premium-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sb-premium-hero__image {
  object-fit: cover;
  object-position: center 34%;
  opacity: 0.72;
}

.sb-premium-hero__shade {
  background:
    linear-gradient(90deg, rgba(2, 5, 12, 0.86), rgba(2, 5, 12, 0.52) 44%, rgba(2, 5, 12, 0.1)),
    linear-gradient(0deg, rgba(2, 5, 12, 0.92), rgba(2, 5, 12, 0.1) 56%, rgba(2, 5, 12, 0.22));
}

.sb-premium-hero__content {
  position: relative;
  z-index: 1;
  width: min(1400px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 86px) 0 28px;
}

.sb-premium-hero__copy {
  max-width: 760px;
}

.sb-premium-hero h1 {
  max-width: 780px;
  font-size: clamp(3.4rem, 6.5vw, 5.8rem);
  font-weight: 420;
  letter-spacing: -0.055em;
}

.sb-premium-hero__lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: rgba(245, 242, 234, 0.78);
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
}

.sb-premium-hero__lead strong,
.sb-premium-hero__lead em {
  color: #61a0ff;
  font-style: normal;
}

.sb-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 32px 0 28px;
}

.sb-proof-row div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}

.sb-proof-row span {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.72);
  border-radius: 50%;
  color: #5b9aff;
}

.sb-proof-row strong {
  color: var(--sb-cream);
  font-size: 0.92rem;
}

.sb-proof-row small {
  color: rgba(245, 242, 234, 0.54);
}

.sb-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sb-premium-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.62);
  border-radius: 8px;
  padding: 128px 22px 22px;
  background:
    linear-gradient(180deg, rgba(4, 13, 29, 0.05), rgba(3, 8, 18, 0.98)),
    #07101f;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.sb-premium-card img {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 132px;
  object-fit: cover;
  opacity: 0.68;
}

.sb-premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 8, 18, 0), rgba(3, 8, 18, 0.96) 60%);
}

.sb-premium-card > *:not(img) {
  position: relative;
  z-index: 1;
}

.sb-premium-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(143, 179, 255, 0.66);
  border-radius: 50%;
  color: #8fb3ff;
  font-size: 1.35rem;
}

.sb-premium-card h2 {
  font-size: 1.62rem;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.sb-premium-card p {
  min-height: 76px;
  margin: 0 0 16px;
  color: rgba(245, 242, 234, 0.72);
}

.sb-premium-card a {
  color: #58a0ff !important;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sb-dashboard-section {
  padding: 18px 0 clamp(72px, 8vw, 108px);
  background: #02060d;
}

.sb-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 18px;
}

.sb-panel {
  border: 1px solid rgba(37, 99, 235, 0.36);
  border-radius: 10px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(37, 99, 235, 0.16), transparent 28%),
    rgba(3, 8, 18, 0.88);
}

.sb-panel__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sb-panel h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 520;
}

.sb-mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sb-mini-gallery img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  border: 1px solid rgba(143, 179, 255, 0.18);
  border-radius: 6px;
  background: linear-gradient(135deg, #07101f, #050505);
}

.sb-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.sb-trust-grid div {
  min-height: 128px;
  border: 1px solid rgba(143, 179, 255, 0.16);
  border-radius: 7px;
  padding: 18px;
  text-align: center;
}

.sb-trust-grid span {
  display: block;
  margin-bottom: 12px;
  color: #5b9aff;
  font-size: 1.7rem;
}

.sb-trust-grid strong {
  display: block;
  color: var(--sb-cream);
}

.sb-trust-grid small {
  display: block;
  margin-top: 6px;
  color: rgba(245, 242, 234, 0.58);
  line-height: 1.35;
}

.sb-hero {
  min-height: 86vh;
  align-items: end;
}

.sb-page-hero {
  min-height: 54vh;
  align-items: center;
}

.sb-hero__image,
.sb-hero__shade,
.sb-page-hero__image,
.sb-page-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sb-hero__image,
.sb-page-hero__image {
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.54;
}

.sb-hero__image[src=""],
.sb-page-hero__image[src=""] {
  display: none;
}

.sb-hero__shade,
.sb-page-hero__shade {
  background:
    radial-gradient(circle at 72% 24%, rgba(37, 99, 235, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(11, 16, 32, 0.72) 52%, rgba(5, 5, 5, 0.32)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.98), transparent 45%);
}

.sb-hero__content,
.sb-page-hero__content {
  position: relative;
  z-index: 1;
}

.sb-hero__content {
  width: min(870px, calc(100% - 40px));
  margin: 0 0 108px clamp(20px, 7vw, 110px);
}

.sb-page-hero__content {
  padding: 120px 0 80px;
}

.sb-hero__title,
.sb-page-hero p {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(245, 242, 234, 0.84);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.sb-hero__strip {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 70px);
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.sb-hero__strip span {
  border: 1px solid rgba(245, 242, 234, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 242, 234, 0.9);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
}

.sb-intro,
.sb-split,
.sb-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.sb-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.sb-heading h2 {
  max-width: 760px;
}

.sb-heading p,
.sb-intro p,
.sb-split p,
.sb-contact p {
  max-width: 620px;
  font-size: 1.08rem;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sb-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sb-card,
.sb-tile,
.sb-contact__box,
.sb-form {
  border: 1px solid var(--sb-line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.sb-card {
  overflow: hidden;
}

.sb-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.sb-card__body {
  padding: 24px;
}

.sb-card p:not(.sb-card__tag) {
  min-height: 82px;
}

.sb-card a,
.sb-text-link {
  color: #8fb3ff !important;
  font-weight: 850;
}

.sb-tile {
  min-height: 170px;
  padding: 24px;
}

.sb-tile span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--sb-blue-soft);
  color: #9bbcff;
  font-weight: 900;
}

.sb-band {
  background:
    radial-gradient(circle at 18% 10%, rgba(185, 28, 28, 0.16), transparent 28%),
    linear-gradient(135deg, #0b1020, #050505);
}

.sb-feature-list,
.sb-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.sb-feature-list li,
.sb-check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(245, 242, 234, 0.78);
}

.sb-feature-list li::before,
.sb-check-list li::before {
  position: absolute;
  left: 0;
  color: #8fb3ff;
  content: "✓";
}

.sb-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sb-project {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--sb-line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(11, 16, 32, 0.2), rgba(5, 5, 5, 0.88)),
    var(--sb-panel);
}

.sb-project small {
  color: #8fb3ff;
  font-weight: 850;
  text-transform: uppercase;
}

.sb-options {
  border-block: 1px solid var(--sb-line);
  background: rgba(255, 255, 255, 0.03);
}

.sb-cta {
  background:
    radial-gradient(circle at 84% 24%, rgba(37, 99, 235, 0.22), transparent 26%),
    var(--sb-night);
}

.sb-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.sb-cta p {
  max-width: 650px;
}

.sb-contact {
  align-items: stretch;
  background: var(--sb-black);
}

.sb-contact > div {
  min-width: 0;
}

.sb-contact__box {
  margin-top: 28px;
  padding: 28px;
}

.sb-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 82% 0%, rgba(37, 99, 235, 0.18), transparent 30%);
}

.sb-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.sb-form__intro {
  border-bottom: 1px solid var(--sb-line);
  padding-bottom: 18px;
}

.sb-form__intro h3 {
  margin: 0 0 8px;
}

.sb-form__intro p {
  margin: 0;
  color: rgba(245, 242, 234, 0.68);
  font-size: 0.98rem;
}

.sb-form label {
  display: grid;
  gap: 8px;
  color: rgba(245, 242, 234, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
}

.sb-form input,
.sb-form select,
.sb-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(245, 242, 234, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(5, 5, 5, 0.42);
  color: var(--sb-cream);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.sb-form input::placeholder,
.sb-form textarea::placeholder {
  color: rgba(161, 161, 170, 0.72);
}

.sb-form input:focus,
.sb-form select:focus,
.sb-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.92);
  background: rgba(5, 5, 5, 0.62);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.sb-form option {
  color: #111111;
}

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

.sb-form button {
  margin-top: 4px;
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.sb-notice {
  margin: 0 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.42);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--sb-blue-soft);
  color: var(--sb-cream);
}

.sb-notice--error {
  border-color: rgba(185, 28, 28, 0.56);
  background: rgba(185, 28, 28, 0.14);
}

.sb-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sb-floating-quote {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--sb-blue);
  color: #ffffff !important;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.32);
}

@media (max-width: 980px) {
  .sb-nav {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: 18px;
  }

  .sb-nav__links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .sb-nav__quote {
    justify-self: start;
  }

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

  .sb-premium-hero__content {
    width: min(100% - 32px, 1400px);
    padding-top: 54px;
  }

  .sb-premium-grid,
  .sb-proof-row,
  .sb-dashboard {
    grid-template-columns: 1fr;
  }

  .sb-mini-gallery,
  .sb-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-hero__content {
    margin: 0 auto 128px;
  }

  .sb-hero__strip {
    left: 20px;
    right: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .sb-intro,
  .sb-split,
  .sb-contact,
  .sb-cta__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .sb-grid,
  .sb-grid--four,
  .sb-service-list {
    grid-template-columns: 1fr;
  }

  .sb-card p:not(.sb-card__tag),
  .sb-tile {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .sb-nav__brand strong {
    font-size: 0.96rem;
    letter-spacing: 0.28em;
  }

  .sb-nav__links {
    display: none;
  }

  .sb-premium-hero h1 {
    font-size: 3rem;
  }

  .sb-mini-gallery,
  .sb-trust-grid {
    grid-template-columns: 1fr;
  }

  .sb-container,
  .sb-hero__content {
    width: min(100% - 28px, 1180px);
  }

  .sb-site h1 {
    font-size: 3rem;
  }

  .sb-button,
  .sb-form button {
    width: 100%;
  }

  .sb-heading,
  .sb-form__row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sb-floating-quote {
    display: none;
  }
}
