/* 
 * undress-ai.best - Site Français
 * Design moderne avec dégradé violet-rouge
 */

:root {
  --primary: #8E44AD;
  --primary-light: #9B59B6;
  --secondary: #E74C3C;
  --accent: #F39C12;
  --text-dark: #2C3E50;
  --text-light: #FFFFFF;
  --background-light: #FFFFFF;
  --background-dark: #F5F5F5;
  --grey-light: #ECEFF1;
  --border-radius: 10px;
  --box-shadow: 0 8px 20px rgba(142, 68, 173, 0.15);
  --transition: all 0.3s ease;
}

/* Styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

img, svg {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header et Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

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

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-dark);
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(142, 68, 173, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(142, 68, 173, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

/* How It Works */
.how-it-works {
  background-color: var(--background-dark);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  position: relative;
  text-align: center;
}

.step-number {
  background-color: var(--secondary);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 20px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  text-align: center;
}

.cta h2 {
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--background-light);
    padding: 100px 2rem 2rem;
    transition: right 0.3s ease;
  }
  
  nav.active { right: 0; }
  
  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero { text-align: center; }
  
  .hero-content {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}
