@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #6B8F71;
  --primary-rgb: 107, 143, 113;
  --secondary: #C9A96E;
  --secondary-rgb: 201, 169, 110;
  --green: #6B8F71;
  --green-light: #A8C5A0;
  --green-dark: #4A6B50;
  --green-pale: #EBF2EC;
  --gold: #C9A96E;
  --gold-dark: #A8854A;
  --ivory: #F8F4EE;
  --beige: #E8DDD0;
  --beige-light: #F2EDE6;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-mid: #5A5A5A;
  --text-light: #8A8A8A;
  --border: #E8DDD0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--ivory);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}


.container {
  max-width: 100% !important;
  padding: 0 !important;
  overflow: hidden;
}

.fw-bold {
  font-weight: 700 !important;
}

h1 {
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  h3 {
    font-size: 1rem;
  }
}

.bg-light {
  background-color: var(--beige-light) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-success {
  background-color: #5A9E6F !important;
}

.text-muted {
  color: var(--text-light) !important;
}

.text-light {
  color: var(--text-mid) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border {
  border-color: var(--border) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.card {
  background-color: var(--white);
  border-color: var(--border);
  color: var(--text);
}

.btn {
  border-radius: 100px;
  font-weight: 700;
  padding: 0.75rem 2rem;
  font-family: 'Lato', sans-serif;
}

.btn-primary {
  background: var(--green) !important;
  border: 3px solid var(--green) !important;
  color: #fff !important;
  padding: 1.25rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  border-radius: 100px !important;
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-primary:hover {
  background: var(--green-dark) !important;
  border: 3px solid var(--green-dark) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.45) !important;
}

.btn-primary::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.5s !important;
}

.btn-primary:hover::before {
  left: 100% !important;
}

.btn-outline-primary {
  background: transparent !important;
  border: 3px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 1.25rem 2.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  border-radius: 100px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-outline-primary:hover {
  background: var(--green) !important;
  border: 3px solid var(--green) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4) !important;
}

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
  border-width: 2px !important;
  letter-spacing: 0.5px !important;
}

#btn-name {
  width: auto !important;
  justify-self: center;
}

.form-control {
  background-color: var(--white);
  border-color: var(--border);
  color: var(--text);
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--text);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}

.form-control::placeholder {
  color: var(--text-light);
}

select.form-control,
textarea.form-control {
  background-color: var(--white);
}

select.form-control:focus,
textarea.form-control:focus {
  background-color: var(--white);
}

.navbar {
  background-color: var(--beige-light) !important;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  color: var(--text) !important;
}

.nav-link {
  color: var(--text-mid) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.text-xs {
  font-size: 0.625rem !important;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.75rem !important;
  line-height: 1.5;
}

.text-md {
  font-size: 1.125rem !important;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.25rem !important;
  line-height: 1.5;
}

u {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  font-style: italic;
}

.text-decoration-underline {
  text-decoration-color: var(--primary) !important;
  text-underline-offset: 3px !important;
  color: var(--text) !important;
}

.hero-section {
  min-height: calc(100vh - 150px);
  padding: 2rem 0;
}

.badge-urgency {
  display: inline-block;
  background-color: var(--green-pale);
  color: var(--green-dark);
  border-radius: 50px;
  border: 1px solid var(--green-light);
  font-weight: 700;
}

.main-title {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.main-title u {
  color: var(--primary);
  text-decoration: none;
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--text-mid);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.program-details {
  max-width: 700px;
  margin: 0 auto;
}

.day-item {
  padding: 1.5rem;
  background: var(--beige-light);
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
}

.day-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
  text-align: left;
}

.day-number {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.day-box {
  background: var(--beige-light);
  border: 1px solid var(--beige);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.highlight-text {
  color: var(--green-dark);
  font-weight: 600;
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 1px;
}

.spots-left {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.partners-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partners-label {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.logo-container {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
  background: var(--beige-light);
  border-color: var(--green-light);
}

.partner-logo {
  max-width: 150px;
  height: auto;
  transition: filter 0.3s ease;
}

.logo-container:hover .partner-logo {
  filter: brightness(1.05);
}

.expert-label {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }

  .subtitle {
    font-size: 1rem;
  }

  .day-item {
    padding: 1rem;
  }

  .btn-primary {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .subtitle {
    font-size: 0.9375rem;
  }

  .day-item {
    padding: 0.75rem;
  }

  .btn-primary {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .partner-logo {
    max-width: 120px;
  }
}

.testimonials-masonry {
  padding: 2rem 0;
}

.masonry-grid {
  column-count: 2;
  column-gap: 1rem;
  width: 100%;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

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

.masonry-item iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
  }

  .masonry-item {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
    column-gap: 0.5rem;
  }

  .masonry-item {
    margin-bottom: 0.5rem;
  }
}

/* ===== MOSAIC TESTIMONIALS ===== */

.mosaic-container {
  position: relative;
  max-width: 800px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 125px);
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.mosaic-item {
  width: 125px;
  height: 125px;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.mosaic-item:nth-child(1) {
  animation-delay: 0s;
  animation-duration: 5s;
}

.mosaic-item:nth-child(2) {
  animation-delay: 0.5s;
  animation-duration: 6s;
}

.mosaic-item:nth-child(3) {
  animation-delay: 1s;
  animation-duration: 5.5s;
}

.mosaic-item:nth-child(4) {
  animation-delay: 1.5s;
  animation-duration: 6.5s;
}

.mosaic-item:nth-child(5) {
  animation-delay: 0.3s;
  animation-duration: 5.8s;
}

.mosaic-item:nth-child(6) {
  animation-delay: 0.8s;
  animation-duration: 6.2s;
}

.mosaic-item:nth-child(7) {
  animation-delay: 1.2s;
  animation-duration: 5.3s;
}

.mosaic-item:nth-child(8) {
  animation-delay: 0.7s;
  animation-duration: 6.1s;
}

.mosaic-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mosaic-item:hover .mosaic-image {
  transform: scale(1.1);
}

.mosaic-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mosaic-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
  background: rgba(248, 244, 238, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid var(--beige);
}

.mosaic-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.mosaic-text u {
  color: var(--primary);
  text-decoration: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(1deg);
  }

  50% {
    transform: translateY(-5px) rotate(-1deg);
  }

  75% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@media (max-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, 100px);
    gap: 0.75rem;
  }

  .mosaic-item {
    width: 100px;
    height: 100px;
  }

  .mosaic-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 70px);
    gap: 0.5rem;
  }

  .mosaic-item {
    width: 70px;
    height: 70px;
  }

  .mosaic-text {
    font-size: 0.875rem;
  }
}

input {
  border: 1px solid var(--border) !important;
}

.iti--allow-dropdown {
  width: 100% !important;
}

.vsl-step-spaced #vsl-content {
  padding-top: 1.5rem;
}

/* ===== QUIZ STYLES ===== */

#progress-bar {
  padding: 1.5rem 0;
}

.trackbar {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1rem;
}

.time-bar {
  color: var(--text-mid);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress {
  border-radius: 2rem;
  margin-top: 0.5rem;
  background-color: var(--beige) !important;
  height: 12px;
}

.progress-bar {
  background: linear-gradient(90deg, var(--green), var(--green-light)) !important;
  border-radius: 2rem;
  margin-bottom: 0 !important;
  transition: width 0.3s ease-in-out !important;
}

#quiz {
  padding: 2rem 0;
}

.container-2 {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hn-quizz {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .hn-quizz {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hn-quizz {
    font-size: 1.25rem;
  }
}

.list-group-checkable {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quizz-answers {
  background-color: var(--white) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quizz-answers:hover {
  background-color: var(--green-pale) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.quizz-answers:has(input:checked) {
  background-color: var(--green-pale) !important;
  border-color: var(--primary) !important;
  border-width: 2px !important;
  color: var(--green-dark) !important;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}

.quizz-answers label {
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.quizz-answers:has(input:checked) label {
  color: var(--green-dark);
  font-weight: 600;
}

#precedent {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

#precedent:hover {
  background-color: var(--beige-light);
  border-color: var(--primary);
  color: var(--text);
}

.setup-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: rgba(248, 244, 238, 0.7);
  display: none;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid var(--primary);
  border-top-color: var(--gold);
  border-bottom-color: var(--gold);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal-content {
  background-color: var(--white) !important;
  color: var(--text) !important;
}

/* Footer */
#footer a {
  color: var(--text);
  text-decoration: underline;
}

#footer a:hover {
  color: var(--primary);
}

/* Step 3201 — spacing below video */
#vsl-content {
  padding-top: 1.25rem;
}

/* SMS not-received dropdown card */
.bg-sms {
  background-color: var(--beige-light);
  border-radius: 0.5rem;
}

/* SMS label link */
.sms-label {
  color: var(--primary);
  text-decoration-line: underline;
}
