/*
 * undresserFR.love - Styles principaux
 * Design unique avec palette de couleurs violet et orange
 */

:root {
  --primary: #9d50bb;
  --primary-light: #b47dd1;
  --primary-dark: #6e48aa;
  --secondary: #ff9d4d;
  --secondary-light: #ffb980;
  --secondary-dark: #ff7e1a;
  --dark: #2c2442;
  --light: #f8f7fa;
  --gray: #8a8494;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: all 0.3s ease;
}

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.6rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

h1 span {
  color: var(--primary);
  display: block;
  font-size: 2.2rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  color: var(--dark);
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  margin: 1rem auto 0;
  border-radius: 3px;
}

h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1rem;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(157, 80, 187, 0.4);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-nav {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-nav:hover {
  color: var(--white);
  box-shadow: 0 5px 15px rgba(255, 157, 77, 0.4);
}

/* Navigation */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 80, 187, 0.1), rgba(157, 80, 187, 0));
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tag {
  background-color: rgba(157, 80, 187, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

.tag:before {
  content: '✓';
  color: var(--secondary);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* Process Section */
.process {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.steps {
  display: flex;
  justify-content: space-around;
  margin: 4rem 0;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: var(--light);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
}

.faq-icon:before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}

.faq-icon:after {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-item.active .faq-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* CTA Final */
.final-cta {
  padding: 5rem 0;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta h2:after {
  background: var(--white);
  opacity: 0.3;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.final-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.final-cta .btn-primary:hover {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  margin-right: 2rem;
}

.footer-logo p {
  color: var(--gray);
  margin-top: 1rem;
}

.footer-links {
  flex: 1;
  display: flex;
  justify-content: space-around;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  font-size: 1.2rem;
}

.footer-column h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: var(--gray);
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.disclaimer {
  color: var(--gray);
  font-size: 0.8rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h1 span {
    font-size: 1.8rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .footer-links {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 100;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 99;
  }
  
  .menu.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h1 span {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .features-tags {
    flex-direction: column;
  }
}
