/* 
   Undressing France - Feuille de Style CSS
   Couleurs inspirées du drapeau français:
   - Bleu: #002395
   - Blanc: #ffffff
   - Rouge: #ED2939
*/

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

/* Variables globales */
:root {
    --blue: #002395;
    --red: #ED2939;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-color: #222222;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --transition: all 0.3s ease;
}

/* Styles de base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.page-container {
    overflow-x: hidden;
    position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

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

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

img, svg {
    max-width: 100%;
    display: block;
}

section {
    padding: 80px 0;
}

/* Header et Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

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

.accent {
    color: var(--red);
    font-weight: 900;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--blue);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

.menu-toggle.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--red);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--red);
    transition: var(--transition);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 35, 149, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 35, 149, 0.3);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 35, 149, 0.05) 0%, rgba(237, 41, 57, 0.05) 100%);
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 100%);
}

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

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

/* Features Section */
.features {
    background-color: var(--white);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--red));
    border-radius: 3px;
}

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

.feature {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--blue), var(--red));
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-icon.blue {
    background-color: rgba(0, 35, 149, 0.1);
    color: var(--blue);
}

.feature-icon.red {
    background-color: rgba(237, 41, 57, 0.1);
    color: var(--red);
}

.feature-icon.white {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--blue);
    box-shadow: 0 0 0 1px var(--blue);
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    color: var(--white);
    padding: 60px 0;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-gray);
    position: relative;
}

.steps {
    max-width: 800px;
    margin: 0 auto 40px;
}

.step {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.center-cta {
    text-align: center;
    margin-top: 30px;
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--blue);
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 20px;
    margin: 0;
}

.accordion-item.active .accordion-header {
    background-color: var(--blue);
    color: var(--white);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--white);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    position: relative;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    opacity: 0.9;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--text-color);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.brand-info h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.brand-info p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--red);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature, 
.step, 
.testimonial {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.feature:nth-child(2),
.step:nth-child(2),
.testimonial:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3),
.step:nth-child(3),
.testimonial:nth-child(3) {
    animation-delay: 0.4s;
}

.feature:nth-child(4) {
    animation-delay: 0.6s;
}
