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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: rgb(253, 248, 240) !important;
    color: #2d3748;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-pdf {
    color: #6B73FF;
}

.logo-house {
    color: #4a5568;
}


/* Main Content */
.main {
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.hero {
    /*background: rgb(226, 230, 253) !important;*/
    background-color: rgb(253, 248, 240) !important;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-family: "Raleway", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #373342;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

/* Upload Container */
.upload-container {
    margin: 3rem auto;
    width: 90%;
}

.upload-area {
    border-radius: 12px;
    padding: 1.5rem;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-area:hover .div-dashed {
    border-color: #665e79;
    /*background: rgb(253, 248, 240);*/
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgb(253, 248, 240);
}

.upload-area:hover {
    transform: translateY(-4px);
    /*background: rgb(253, 248, 240);*/
}

.div-dashed {
    border: 2px dashed #665e79;
    border-radius: 12px;
}

.upload-area.dragover {
    border-color: #6B73FF;
    background: #fff6f6;
    border-style: solid;
}

/* Upload Icon et Animation */
.upload-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.cloud-svg {
    animation: float 3s ease-in-out infinite;
}

.upload-arrow {
    animation: bounce 2s ease-in-out infinite;
}

.cloud-path {
    transition: all 0.3s ease;
}

.upload-area:hover .cloud-path {
    fill: #8B5CF6;
    stroke: #7C3AED;
}

.imgStar {
    width: 130px;
    height: 50px;
}

/* Animations pour l'icône cloud */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 1;
    }

    50% {
        transform: translateY(-6px);
        opacity: 0.7;
    }
}

/* Animation de pulsation pour le survol */
.upload-area:hover .upload-arrow {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Upload Button */
.upload-btn {
    /*background: rgb(86, 67, 214);*/
    background: #B52824;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.upload-btn:hover {
    background: #c55551;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 245, 240, 1);
}

.upload-btn:active {
    transform: translateY(0);
}

.upload-text {
    color: #718096;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.upload-limit {
    color: #a0aec0;
    font-size: 0.8rem;
}

/* Trustpilot */
.trustpilot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.rating-text {
    color: rgb(88, 89, 96);
    font-weight: 600;
    font-size: 20px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #00b67a;
    font-size: 1.2rem;
}

.rating-info,
.trustpilot-logo {
    color: rgb(88, 89, 96);
    font-size: 16px;
    font-weight: 500;
}

.trustpilot-logo {
    font-weight: 600;
    color: #00b67a;
}


/* Tools Tabs */
.tools-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #6B73FF;
    color: white;
    border-color: #6B73FF;
}

.tab-btn.active {
    background: #6B73FF;
    color: white;
    border-color: #6B73FF;
}

/* Tools Grid */

.tools-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-category {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.tool-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin: 1rem 0 0.5rem;
}

.tool-item p {
    color: #718096;
    line-height: 1.6;
}







/* === BOUTONS AVEC SVG PERSONNALISÉS === */



/* === STYLES DEMO === */








.starAvis {
    width: 99px;
    height: 17px;
    margin-top: 2px;
}





/* Responsive Design      transition: color .2s 
ease-in-out; */
@media (max-width: 768px) {
    .trustpilot {
        margin: 0.5rem 0;
    }

    .rating-text {
        display: none;
    }

    .rating-info {
        display: none;
    }

    .hero-title {
        width: 90%;
        margin: 0 auto 16px;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        line-height: 1.2;
        color: #373342;
    }

    .hero-subtitle {
        font-size: 14px;
        color: #373342;
        margin-bottom: 3rem;
        margin-left: auto;
        margin-right: auto;
        font-weight: 400;
    }

    .upload-area {
        padding: 1.5rem;
    }

    .tools-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 200px;
    }




}

@media (max-width: 480px) {

    .upload-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    .main {
        padding: 0;
    }
}

/* États d'interaction améliorés */
.upload-area.uploading {
    opacity: 0.7;
    pointer-events: none;
}

.upload-area.uploading .cloud-svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}