/* Styles pour nudeifyFR.pw
   Couleurs inspirées du drapeau français: bleu #002395, blanc #FFFFFF, rouge #ED2939 */

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

:root {
    --primary-blue: #002395;
    --primary-red: #ED2939;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --medium-gray: #AAAAAA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 span {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

h2 span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

.section-description {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: var(--white);
    border: none;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.secondary:hover {
    background-color: rgba(0, 35, 149, 0.1);
    transform: translateY(-3px);
}

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

.cta-left {
    margin-top: 2rem;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo a {
    text-decoration: none;
    display: block;
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    position: relative;
}

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

.menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: calc(100% - 20px);
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    padding: 100px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 35, 149, 0.05) 0%, rgba(237, 41, 57, 0.05) 100%);
}

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

.hero-content {
    flex: 1;
    margin-right: 30px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    margin-top: 2rem;
}

.stat-item {
    margin-right: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Raleway', sans-serif;
    color: var(--primary-blue);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Section Fonctionnement */
.process {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    margin: 0 10px 20px;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.step-icon {
    margin-bottom: 1rem;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
}

/* Section Caractéristiques */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 3rem;
}

.feature {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

/* Section À Propos */
.a-propos .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-branding {
    flex: 2;
    min-width: 300px;
    margin-bottom: 30px;
}

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

.footer-favicon {
    margin-left: 15px;
}

.footer-nav {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

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

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

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 50px;
    }
    
    .stats {
        justify-content: center;
    }
    
    .a-propos .container {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        margin: 0 0 15px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .step-connector {
        display: none;
    }
    
    .process {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
