/* 
   ComptaPro - Styles CSS
   Palette de couleurs:
   - Violet profond: #4B0082
   - Vert néon: #39FF14
   - Fond gris clair: #F4F4F4
   - Texte noir: #1C1C1C
   - Corail pastel: #FF6B6B
*/

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F4F4F4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #4B0082;
    transition: color 0.3s ease;
}

a:hover {
    color: #39FF14;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: #4B0082;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* En-tête */
.site-header {
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #39FF14;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.btn-contact {
    padding: 8px 15px;
    background-color: #4B0082;
    color: #FFF !important;
    border-radius: 25px;
    border: 2px solid #4B0082;
}

.btn-contact:hover {
    background-color: transparent;
    color: #4B0082 !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #4B0082;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: #FFF;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-primary {
    background-color: #4B0082;
    color: #FFF;
    border-color: #4B0082;
}

.btn-primary:hover {
    background-color: transparent;
    color: #4B0082;
}

.btn-secondary {
    background-color: transparent;
    color: #4B0082;
    border-color: #4B0082;
}

.btn-secondary:hover {
    background-color: #4B0082;
    color: #FFF;
}

/* Sections */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #FFF;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #39FF14;
    border-radius: 50%;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #FFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F4F4F4;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #39FF14;
}

.service-price {
    font-weight: 600;
    color: #4B0082;
    margin: 15px 0;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background-color: #FFF;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F4F4F4;
}

/* Process Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #FFF;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #4B0082;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: #FFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: #4B0082;
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact {
    background-color: #FFF;
    padding: 80px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4B0082, #39FF14, #FF6B6B);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background-color: #4B0082;
    color: #FFF;
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(57, 255, 20, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.contact-info-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-info-header h3 {
    color: #FFF;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info h4 {
    color: #FFF;
    margin-bottom: 5px;
}

.contact-info a {
    color: #FFF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #39FF14;
}

.contact-hours {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.contact-hours h4 {
    color: #FFF;
    margin-bottom: 15px;
}

.contact-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contact-hours ul li span {
    font-weight: 600;
}

.contact-form {
    padding: 20px;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4B0082;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4B0082;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
    background-color: #fff;
}

.form-group.full-width {
    flex: 100%;
    margin-bottom: 20px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-form button {
    margin-top: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #4B0082, #7400c7);
    border: none;
}

.contact-form button:hover {
    background: linear-gradient(90deg, #7400c7, #4B0082);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
}

.contact-form button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.contact-form button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Map Section */
.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #FFF;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-company {
    grid-column: span 2;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.company-description {
    max-width: 400px;
}

.footer-content h3 {
    color: #FFF;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-content h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #39FF14;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content a {
    color: #F4F4F4;
}

.footer-content a:hover {
    color: #39FF14;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(75, 0, 130, 0.95);
    color: #FFF;
    padding: 15px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    flex: 3;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-cookie.accept {
    background-color: #39FF14;
    color: #2c2c2c;
    border-color: #39FF14;
}

.btn-cookie.accept:hover {
    background-color: transparent;
    color: #39FF14;
}

.btn-cookie.decline {
    background-color: transparent;
    color: #FFF;
    border-color: #FFF;
}

.btn-cookie.decline:hover {
    background-color: #FFF;
    color: #4B0082;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: #4B0082;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Policy Pages */
.policy-page {
    padding: 60px 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.policy-section ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: #4B0082;
    border-radius: 50%;
}

/* Animation pour les éléments lors du défilement */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .feature, .testimonial, .step {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1), .feature:nth-child(1), .testimonial:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2), .feature:nth-child(2), .testimonial:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card:nth-child(3), .feature:nth-child(3), .testimonial:nth-child(3) {
    animation-delay: 0.5s;
}

.feature:nth-child(4) {
    animation-delay: 0.7s;
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.3s;
}

.step:nth-child(3) {
    animation-delay: 0.5s;
}

.step:nth-child(4) {
    animation-delay: 0.7s;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-company {
        grid-column: span 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content, .hero-image {
        flex: 100%;
    }
    
    .service-card, .feature, .testimonial, .step {
        animation-delay: 0.1s;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero, section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .step {
        padding: 15px;
    }
    
    .contact-wrapper {
        padding: 15px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
}

/* Animations Hover */
.service-card, .feature, .testimonial, .btn, .main-nav a, .footer-content a, .form-group input, .form-group select, .form-group textarea {
    transition: all 0.3s ease;
} 