/* 
   DeepnudeFR.site - Styles CSS
   Palette de couleurs inspirée du drapeau français et du style français
*/

:root {
    /* Palette de couleurs française */
    --bleu-france: #002395;
    --bleu-clair: #0055a4;
    --rouge-france: #ef4135;
    --rouge-bordeaux: #9b2743;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
    --gris-moyen: #e0e0e0;
    --gris-fonce: #666666;
    --noir: #222222;
    
    /* Variables typographiques */
    --font-primary: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Georgia', 'Times New Roman', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--blanc);
    overflow-x: hidden;
}

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

a {
    color: var(--bleu-france);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--rouge-france);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--bleu-france), var(--blanc), var(--rouge-france));
    margin: 0.8rem auto 0;
}

/* Boutons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--rouge-france);
    color: var(--blanc);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 65, 53, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--rouge-france);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--rouge-france);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--bleu-france);
    border: 2px solid var(--bleu-france);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--bleu-france);
    color: var(--blanc);
    transform: translateY(-3px);
}

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

/* Animation de pulsation pour les boutons CTA */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 65, 53, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 65, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 65, 53, 0);
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

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

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

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--noir);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

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

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

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--noir);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--bleu-france);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    z-index: 1;
    overflow: hidden;
}

.france-decoration {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: 
        linear-gradient(120deg, rgba(0, 35, 149, 0.2) 0%, rgba(0, 35, 149, 0) 33.33%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.2) 33.33%, rgba(255, 255, 255, 0) 66.66%),
        linear-gradient(120deg, rgba(239, 65, 53, 0.2) 66.66%, rgba(239, 65, 53, 0) 100%);
    border-radius: 50%;
    animation: rotate 30s infinite linear;
}

@keyframes rotate {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--blanc);
}

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

.feature-card {
    background-color: var(--gris-clair);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--bleu-france), var(--blanc), var(--rouge-france));
    z-index: -1;
    transition: height 0.3s ease;
}

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

.feature-card:hover::after {
    height: 10px;
}

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    color: var(--blanc);
}

.tech-icon {
    background-color: var(--bleu-france);
}

.secure-icon {
    background-color: var(--bleu-clair);
}

.local-icon {
    background-color: var(--rouge-france);
}

.quality-icon {
    background-color: var(--rouge-bordeaux);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--noir);
}

.feature-card p {
    color: var(--gris-fonce);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* How it Works */
.how-works {
    padding: 80px 0;
    background-color: var(--gris-clair);
    position: relative;
    overflow: hidden;
}

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

.step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--rouge-france);
    color: var(--blanc);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    height: calc(100% - 60px);
    width: 2px;
    background-color: var(--gris-moyen);
    z-index: 1;
}

/* Tech Section */
.tech-section {
    padding: 80px 0;
    background-color: var(--blanc);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.tech-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--bleu-france);
}

.tech-content p {
    margin-bottom: 20px;
}

.tech-list {
    list-style: none;
    margin: 20px 0;
}

.tech-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--gris-moyen);
    position: relative;
    padding-left: 30px;
}

.tech-list li::before {
    content: "✓";
    color: var(--rouge-france);
    position: absolute;
    left: 0;
    top: 10px;
    font-weight: bold;
}

.tech-visual {
    position: relative;
}

.tech-visual-content {
    height: 400px;
    background-color: var(--gris-clair);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.france-tech-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blanc) 0%, var(--blanc) 33%, transparent 33.1%, transparent 33.1%),
                linear-gradient(90deg, var(--bleu-france) 0%, var(--bleu-france) 33%, var(--blanc) 33%, var(--blanc) 66%, var(--rouge-france) 66%, var(--rouge-france) 100%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--gris-clair);
}

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

.faq-item {
    background-color: var(--blanc);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 35, 149, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--bleu-france);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 20px 20px;
}

/* CTA Banner */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bleu-france) 0%, var(--bleu-clair) 100%);
    color: var(--blanc);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--noir);
    color: var(--gris-clair);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.france-footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, var(--bleu-france) 33%, var(--blanc) 33%, var(--blanc) 66%, var(--rouge-france) 66%);
}

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

.footer-brand p {
    margin: 20px 0;
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-favicon {
    margin-top: 20px;
}

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

.footer-links-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--blanc);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links-group a:hover {
    color: var(--blanc);
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-decoration {
        width: 30%;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--blanc);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .steps::before {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
