:root {
  --color-primary: #e71d76;
  --color-primary-dark: #be185d;
  --background-primary: #121116;
  --background-secondary: #23232D;
  --text-primary: #ffffff;
  --text-secondary: #868690;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background-color: transparent; /* Rendre le fond transparent */
}

html, body {
  height: 100%;
  min-height: 100vh;
  background-color: transparent; /* Rendre le fond transparent */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--background-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  position: relative;
}

.loading-logo {
  height: 110px;
  object-fit: contain;
  margin-bottom: 20px;
}

.loading-tagline {
  color: var(--text-primary);
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards 0.3s;
  white-space: nowrap;
  font-weight: 500;
}

@media (min-width: 930px) {
	.loading-logo {
	  height: 150px;
	  margin-bottom: 0;
	}
	.loading-tagline {
		margin-top: -10px;
	}
}

.main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
}

.main-content.visible {
  opacity: 1;
  visibility: visible;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.nav {
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.nav-blur {
}

@media (min-width: 931px) {
	.nav.nav-blur {
	  backdrop-filter: blur(10px);
	  -webkit-backdrop-filter: blur(10px);
	}
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 2.25rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.nav-logo.visible {
  opacity: 1;
  visibility: visible;
}

.logo-h {
  color: var(--color-primary);
}

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

/* Styles spécifiques pour les pages légales */
.legal-page .nav {
  background-color: var(--background-primary);
}

.legal-page .nav-logo {
  opacity: 1;
  visibility: visible;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
}

.nav-link.active.scroll-down::after {
  transform-origin: left;
  animation: menuIndicatorRight 0.3s ease forwards;
}

.nav-link.active.scroll-up::after {
  transform-origin: right;
  animation: menuIndicatorLeft 0.3s ease forwards;
}

@keyframes menuIndicatorRight {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes menuIndicatorLeft {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Sections */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 72px;
}

.welcome-section{
	margin-top: -72px;
}


.welcome-background{
	  background: 
    url('https://firebasestorage.googleapis.com/v0/b/heezy-br44jm.appspot.com/o/OtherImages%2Fc5bb332c-8c61-4ba9-9725-34581e9fa522-_1_%20(1).webp?alt=media&token=8747e319-250a-4ba1-963b-09c008d2ce65') center/cover no-repeat;
}


.welcome-content{
	height: auto;
	min-height:100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	position: relative;
	z-index: 1;
}

.welcome-subtitle {
  font-size: 1.9rem; /* Taille de police beaucoup plus grande (ajuster selon besoin) */
  font-weight: bold; /* Mettre le texte en gras */
  color: var(--text-primary); /* Couleur du texte, tu peux choisir une couleur adaptée */
  text-align: center; /* Centrer le sous-titre */
  margin-top: 400px; /* Espace au-dessus du sous-titre */
  margin-bottom: 20px; /* Espace en dessous du sous-titre */
  line-height: 1.2; /* Hauteur de ligne pour aérer le texte */
  margin-left: 20px;
  margin-right: 20px
}

.welcome-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.welcome-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: -10px;
  margin-bottom: 50%;
  transition: all 0.3s ease;
  background-color: var(--color-primary);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
}

.welcome-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .welcome-buttons {
    flex-direction: column;
    max-width: 300px;
  }

  .welcome-button {
    text-align: center;
  }
}

.mainlogo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 110px;
}

@media (min-width: 930px) {
	.mainlogo {
	  height: 150px;
	}
}


/* Home Section */
#home {
  min-height: auto;
  overflow: hidden;
}

.home-top {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.home-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.home-text {
  flex: 1;
}

.home-description-title {
  font-size: clamp(1.25rem, 1.8vw, 1rem);
  color: rgba(255, 255, 255, 1);
  margin-bottom: 2rem;
  line-height: 1.4;
  padding: 0 1.5rem;
}

.home-description-title p {
  text-align: justify;
  font-weight: bold;
}

.home-description {
  font-size: clamp(1.25rem, 1.8vw, 1rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.4;
  opacity: 0.8;
  padding: 0 1.5rem;
}

.home-description p {
  text-align: justify;
  margin-bottom: 1rem;
}

.loading-logo-text {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.loading-logo-2 {
  width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-tagline {
  text-align: center;
  color: var(--text-primary);
  font-size: clamp(0.75rem, 2vw, 0.75rem);
  margin-bottom: 40px;
  margin-top: -25px;
  font-weight: normal;
}

.home-phone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.iphone-frame {
  width: 300px;
  border-radius: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 2px 100px rgba(231, 29, 118, 0.2);
  border: 5px solid #000000;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-app-image{
  width: 100%; 
  height: auto; 
  margin: 0 auto 3rem; 
  display: block; 
}

/* Bottom iPhones */
.iphones-horizontal {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  max-width: 1280px;
}

.phone-container {
  flex: 1;
  min-width: 0;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.iphone-frame-small {
  width: 100%;
  max-width: 250px;
  border-radius: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 2px 100px rgba(231, 29, 118, 0.2);
  border: 5px solid #000000;
  aspect-ratio: 9/19.5;
}

.phone-screenshot-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-caption {
  color: var(--text-primary);
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
  width: 100%;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .iphones-horizontal {
    padding: 1rem;
  }
  
  .phone-container {
    max-width: 200px;
  }
}

@media (max-width: 930px) {
  .phone-container {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .phone-container {
    max-width: 150px;
  }
  
  .phone-caption {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .phone-container {
    max-width: 120px;
  }
}

/* Features Section */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  height: 78px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  max-width: 800px;
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  
}

.feature-icon {
  font-size: 2rem;
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-card p {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .feature-card {
    height: auto;
    min-height: 78px;
  }
  
  .feature-content {
    flex-direction: row;
    gap: 1rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
    min-width: 40px;
    height: 40px;
  }
  
  .feature-text p {
  	font-size: 1.1rem;
  }
}

/* Testimonials Section */
#testimonials {
  background: linear-gradient(45deg, 
    var(--background-primary) 0%, 
    rgba(35, 35, 45, 0.8) 100%);
  padding: 72px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  max-width: 800px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content {
  text-align: justify;
}

.testimonial-content p {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align:justify;
}

.testimonial-content cite {
  color: var(--text-secondary);
  font-style: normal;
  display: block;
  text-align:center;
}

#download {
  background: linear-gradient(135deg,
    rgba(231, 29, 118, 0.9) 0%,
    rgba(231, 29, 118, 0.8) 50%,
    rgba(236, 72, 153, 0.9) 100%
  ),
  url('https://firebasestorage.googleapis.com/v0/b/heezy-br44jm.appspot.com/o/OtherImages%2Fpexels-josh-hild-1270765-4606770_reduc%20(1)%20(1).webp?alt=media&token=e65def77-ddb0-4e25-b2b2-2cfffc827584') center/cover no-repeat;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  margin-top: -30vh;
}

.store-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.store-badge {
  width: 65vw;
  max-width: 300px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

/* Responsive: côté à côté avec même hauteur */
@media (min-width: 769px) {
  .store-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-badge {
    height: 10vw;
    width: auto;
  }
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 0 auto 3rem;
}

/* Cities Section */
#cities {
  background: linear-gradient(135deg, 
    var(--background-primary) 0%, 
    rgba(35, 35, 45, 0.8) 100%);
  padding: 72px 0;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.city-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.city-card.active {
  background: rgba(231, 29, 118, 0.1);
  border: 1px solid rgba(231, 29, 118, 0.2);
}

.city-card.coming-soon {
  opacity: 0.7;
}

.city-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.city-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.city-status {
  color: var(--color-primary);
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.city-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--background-secondary);
  padding: 4rem 0 2rem;
  margin-top: auto;
  display: flex;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  justify-items: center;
  text-align: center;
  max-width: 1200px;
}

.footer-section {
  width: 100%;
  gap: 1.5rem;
}

.footer-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-section a:hover,
.footer-section a.active {
  color: var(--color-primary);
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-icon:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
}

@media (max-width: 930px) {
  .nav-toggle {
    display: block;
    width: 26px;
    height: 20px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
  }

  .nav-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .nav-toggle span:nth-child(3) { bottom: 0; }

  .nav-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .home-grid {
    flex-direction: column;
    text-align: center;
  }

  .home-description p,
  .home-description-title p {
    text-align: justify;
	text-size: 0.2rem;
  }

  .buttons-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-section {
    text-align: center;
    padding: 0 1rem;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .loading-logo-container {
    width: 80vw;
  }

  .loading-logo {
    width: 80vw;
  }

  .loading-tagline {
    font-size: 1.2rem;
    margin-top: -20px;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }
}

/* Animation classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out forwards;
}

.animate-slide-up-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out forwards 0.3s;
}

.animate-fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.6s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal Pages */
.legal-content {
  padding: 120px 0 60px;
  color: var(--text-primary);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.last-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.legal-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  transition: background-color 0.3s ease;
}

.legal-section:hover {
  background: rgba(255, 255, 255, 0.05);
}

.legal-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.legal-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.legal-section ul {
  list-style: none;
  padding-left: 1.5rem;
}

.legal-section ul li {
  margin-bottom: 1rem;
  position: relative;
}

.legal-section ul li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: -1.5rem;
}

.legal-section strong {
  color: var(--text-primary);
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 100px 0 40px;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-section {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }
}

/* Store Popup */
.store-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: var(--background-secondary);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 80%;
  width: 400px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.store-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.store-popup-content {
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.store-popup-close {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--color-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.store-popup-close:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.store-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.store-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}