/* --- CSS DESIGN SYSTEM VARIABLES --- */
:root {
  --font-family-poppins: 'Poppins', sans-serif;
  --font-family-inter: 'Inter', sans-serif;
  
  /* Brand Palette colors matched exactly to design tokens */
  --Primaire: rgba(102, 51, 6, 1);
  --Secondaire: rgba(180, 141, 104, 1);
  --Contexte: rgba(255, 253, 250, 1);
  --Accent: rgba(220, 207, 192, 1);
  --Texte: rgba(31, 31, 31, 1);
  --accent-light: rgba(252, 247, 239, 1);
  
  --max-width: 1200px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--Contexte);
  color: var(--Texte);
  font-family: var(--font-family-inter);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 16px; }

/* --- TYPOGRAPHY --- */
.headings-h1 {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--Texte);
  margin-bottom: 20px;
}

.heading-h2 {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--Texte);
  margin-bottom: 24px;
}

.headings-h3 {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--Texte);
  margin-bottom: 16px;
}

.body-text {
  font-family: var(--font-family-inter);
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(31, 31, 31, 0.9);
}

.section-title {
  margin-bottom: 40px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background-color: var(--Primaire);
  color: var(--Accent);
  font-family: var(--font-family-inter);
  font-weight: 500;
  font-size: 1.125rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: rgba(82, 39, 3, 1);
}

/* --- HEADER NAVIGATION & RESPONSIVE TOGGLE --- */
.main-header {
  width: 100%;
  background-color: var(--Contexte);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.logo {
  font-family: var(--font-family-poppins);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--Texte);
  display: block;
  z-index: 1010;
}

.logo-bold {
  font-weight: 700;
  color: var(--Texte);
}

#menu-toggle {
  display: none;
}

.menu-button-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
}

.menu-button-label span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--Texte);
  border-radius: 2px;
  transition: 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-family-inter);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--Texte);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--Primaire);
}

.header-btn {
  padding: 10px 20px;
  font-size: 1rem;
  z-index: 1010;
}

/* --- HERO SECTION (SCREEN HEIGHT MINUS HEADER) --- */
.hero-section {
  padding: 0;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - 83px);
  min-height: 500px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-badge-card {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  max-width: 520px;
  background-color: rgba(180, 141, 104, 0.9);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 25px;
  color: var(--Texte);
}

.hero-badge-card .headings-h1 {
  font-size: 2.25rem;
}

.hero-badge-card .body-text {
  margin-bottom: 24px;
}

/* --- INTRO SECTION --- */
.intro-section {
  padding: 60px 0 20px 0;
}

.divider-icon {
  margin-top: 16px;
}

.divider-icon img {
  height: auto;
  max-width: 100%;
}

/* --- FEATURE CARDS SECTION --- */
.features-list-section {
  padding: 40px 0;
}

.feature-long-card {
  background-color: var(--Contexte);
  border: 3px solid var(--Secondaire);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 32px;
  text-align: center;
}

.card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.card-icon img {
  height: 48px;
  width: auto;
}

.feature-bullets {
  list-style: none;
  margin: 16px 0;
  padding-left: 0;
}

.feature-bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  text-align: left;
  font-size: 1.125rem;
}

.feature-bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--Primaire);
  font-weight: bold;
}

/* --- INTERMEDIATE CTA --- */
.cta-banner-section {
  padding: 40px 0;
}

.cta-banner-box {
  background-color: var(--Secondaire);
  border-radius: 20px;
  padding: 48px 24px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta-banner-box .headings-h3 {
  margin-bottom: 12px;
}

.cta-banner-box .body-text {
  margin-bottom: 24px;
}

.text-dark {
  color: rgba(0, 0, 0, 1) !important;
}

.dark-bg-btn {
  background-color: var(--Primaire);
  color: var(--Accent);
}

/* --- BENEFITS SEQUENCE STYLES (1,2,3) --- */
.benefits-sequence-section {
  padding: 60px 0;
}

.sequence-card {
  background-color: var(--Contexte);
  border: 3px solid var(--Secondaire);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
}

.sequence-number {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 6rem;
  line-height: 1;
  color: var(--Primaire);
  text-align: center;
  margin-bottom: 8px;
}

.inline-bullets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.inline-bullets li {
  text-align: center;
  padding-left: 0;
}

.inline-bullets li::before {
  display: none;
}

/* --- INTERACTIVE GRID SECTIONS --- */
.interactive-grid-section {
  padding: 60px 0;
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.grid-card {
  background-color: var(--Contexte);
  border: 3px solid var(--Secondaire);
  border-radius: 15px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.grid-card-num {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--Primaire);
  margin-bottom: 12px;
}

.grid-card-title {
  font-family: var(--font-family-poppins);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 12px;
}

.grid-card-desc {
  font-family: var(--font-family-inter);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}

/* --- BRAND WHY SECTION (MUNDAÏ ON THE SIDE FIXED) --- */
.brand-why-section {
  padding: 80px 0;
}

.brand-why-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand-icon-wrapper {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.brand-icon-wrapper img {
  height: 64px;
  width: auto;
}

.brand-why-section .heading-h2 {
  margin-bottom: 0;
}

/* --- FOOTER STYLES --- */
.main-footer {
  background-color: var(--accent-light);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(180, 141, 104, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col .footer-logo {
  font-family: var(--font-family-poppins);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(11, 11, 11, 1);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(11, 11, 11, 0.6);
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--Primaire);
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.social-icon-btn:hover {
  transform: scale(1.05);
}

.social-icon-btn img {
  width: 20px;
  height: auto;
}

.footer-nav-col h4 {
  font-family: var(--font-family-inter);
  font-weight: 700;
  font-size: 1.125rem;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 20px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 12px;
}

.footer-nav-col ul li a {
  font-family: var(--font-family-inter);
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-col ul li a:hover {
  color: var(--Primaire);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(180, 141, 104, 0.2);
  margin-bottom: 24px;
}
.footer-credit {
  display: flex;
  justify-content: right;
  width: 100%;
}

/* 1. Base style for the link wrapper to handle the transition smoothly */
.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mundai-logo-footer {
  height: 100px;
  width: 100px;
  display: block; /* Removes any default inline spacing behavior */
}

/* 2. Hover effect states */
.footer-logo-link:hover {
  transform: translateY(-5px); /* Gently lifts the logo upward */
  opacity: 0.85;               /* Slightly softens the color on hover */
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablets and Small Desktops */
@media (max-width: 1024px) {
  .hero-image-wrapper {
    height: auto;
    min-height: auto;
  }

  .hero-img {
    height: 450px;
  }

  .hero-badge-card {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    max-width: 100%;
    border-radius: 0 0 24px 24px;
    background-color: rgba(180, 141, 104, 0.95);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .container {
    padding: 0 16px;
  }

  .main-header {
    padding: 16px 0;
  }

  .menu-button-label {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--Contexte);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 999;
  }

  .header-btn {
    display: none;
  }

  .nav-menu .header-btn {
    display: inline-block;
    width: 100%;
  }

  #menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  #menu-toggle:checked ~ .menu-button-label span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #menu-toggle:checked ~ .menu-button-label span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked ~ .menu-button-label span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-img {
    height: 350px;
  }

  .hero-badge-card {
    padding: 24px;
  }

  .headings-h1 { font-size: 2rem; }
  .heading-h2 { font-size: 1.75rem; }
  .headings-h3 { font-size: 1.35rem; }
  
  .feature-long-card, .sequence-card, .grid-card {
    padding: 24px;
  }

  .sequence-number {
    font-size: 4.5rem;
  }

  .interactive-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-why-section .container {
    flex-direction: column;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}