/* style.css */
:root {
  --primary: #3a86ff;
  --primary-dark: #2667cc;
  --secondary: #ff006e;
  --accent: #8338ec;
  --success: #38b000;
  --warning: #ff9500;
  --danger: #d62828;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #f1f3f5;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  transition: var(--transition);
}
.logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .logo-img {
      height: 50px;
      transition: var(--transition);
    }
    
    .logo-text {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }
    
    .logo-text h3 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--primary);
      margin: 0;
      line-height: 1.2;
    }
    
    .logo-text p {
      font-size: 0.8rem;
      color: var(--gray);
      margin: 0;
      font-weight: 500;
    }
    
    /* Responsive pour mobile */
    @media (max-width: 768px) {
      .logo-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }
      
      .logo-text h3 {
        font-size: 1.2rem;
      }
      
      .logo-text p {
        font-size: 0.7rem;
      }
    }
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), #6a9eff);
  color: white;
  padding: 120px 2rem 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 span {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-main {
  background-color: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: white;
}

/* Section General */
.section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-small {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark);
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: var(--gray);
}

/* Light Gray Section */
.light-gray {
  background-color: var(--light-gray);
}

/* Dark Section */
.dark {
  background-color: var(--dark);
  color: white;
}

.dark h2 {
  color: white;
}

.dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Informations Section */
.facture-list {
  margin: 2rem 0;
}

.facture-list ul {
  list-style: none;
  columns: 2;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.facture-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.facture-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Comment ça marche Section */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.step p {
  color: var(--gray);
}

/* Trial Limit */
.trial-limit {
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #ffeaa7;
}

/* CTA Final */
.cta-final {
  text-align: center;
  margin: 3rem 0;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  border-color: var(--primary-dark);
}

/* Info Note */
.info-note {
  background-color: #d1ecf1;
  color: #0c5460;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #bee5eb;
}

/* Pricing Section */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 1px solid #e9ecef;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--dark);
  font-size: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0;
}

.price-sub {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.card ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.card-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
  font-style: italic;
}

/* Contact Section */
.contact-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.icon-container {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.icon-container:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.icon-link {
  text-decoration: none;
  color: white;
  display: block;
}

.icon-link i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.icon-link span {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.icon-link p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Subpage Section for entreprise.html and hotel.html */
.subpage-section {
  padding: 8rem 2rem 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  
}

.premium-badge {
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  font-size: 0.9rem;
}

.icon-large {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(58, 134, 255, 0.2);
}

.subpage-section h1 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.doc-count {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(58, 134, 255, 0.3);
}

.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.doc-item {
  background-color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
  opacity: 0;
  animation: slideInRight 0.5s ease forwards;
}

.doc-item i {
  color: var(--success);
  font-size: 1.1rem;
}

.doc-item span {
  font-weight: 500;
  color: var(--dark);
}

.auth-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.btn-primary-large {
  background-color: var(--primary);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  border: 2px solid transparent;
  font-size: 1.1rem;
}

.btn-primary-large:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  border-color: var(--primary-dark);
}

.btn-outline-large {
  background-color: transparent;
  color: var(--dark);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid var(--dark);
  font-size: 1.1rem;
}

.btn-outline-large:hover {
  background-color: var(--dark);
  color: white;
  transform: translateY(-3px);
}

.back-link {
  display: block;
  text-align: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-top: 2rem;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .container, .container-small {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 5rem 1rem;
  }
  
  .subpage-section {
    padding: 6rem 1rem 4rem;
	  
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .card.popular {
    transform: none;
  }
  
  .contact-icons {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .auth-buttons {
    flex-direction: column;
  }
  
  .btn-primary-large, .btn-outline-large {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 100px 1rem 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
	  margin-top: 60px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-main {
    width: 100%;
    text-align: center;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .doc-list {
    grid-template-columns: 1fr;
  }
}
