/* 
 * ComptaExpert - Style principal
 * Palette de couleurs: minte vert (#A0F0C5), saumon (#FF6F61), noir graphite (#2B2D42), beige gris (#F5F3EF)
 */

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B2D42;
    background-color: #F5F3EF;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2B2D42;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2B2D42;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.separator {
    height: 4px;
    width: 80px;
    background-color: #A0F0C5;
    margin: 15px auto;
    border-radius: 2px;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #FF6F61;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 111, 97, 0.25);
}

.btn-primary:hover {
    background-color: #ff5a4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 111, 97, 0.3);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #FF6F61;
    color: #FF6F61;
    padding: 10px 26px;
}

.btn-outline:hover {
    background-color: #FF6F61;
    color: white;
}

.btn-text {
    color: #FF6F61;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.btn-text:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FF6F61;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #e55a4e;
}

.btn-text:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2B2D42;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 360px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    background-color: #F5F3EF;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2B2D42;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2B2D42;
}

.about-features {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
}

.about-features .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #A0F0C5;
    border-radius: 50%;
    color: #2B2D42;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(43, 45, 66, 0.85), rgba(43, 45, 66, 0.85)), url('./img/tdgTLw.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F5F3EF;
}

.services-section .section-header h2,
.services-section .section-header p {
    color: #F5F3EF;
}

.services-section .separator {
    background-color: #A0F0C5;
    margin: 15px auto 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #2B2D42;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(160, 240, 197, 0.2);
    border-radius: 50%;
    padding: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2B2D42;
}

.service-card p {
    color: #555;
    margin-bottom: 20px;
}

/* Advantages Section */
.advantages-section {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-card {
    text-align: center;
    padding: 30px 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin: 0 auto 20px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2B2D42;
}

.advantage-card p {
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('./img/qQVT5I.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 5px solid #A0F0C5;
}

.quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    line-height: 1;
    color: rgba(160, 240, 197, 0.3);
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2B2D42;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #777;
    font-style: normal;
}

.rating {
    color: #FF6F61;
    font-size: 1.2rem;
    margin-top: 10px;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-indicators span {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-indicators span.active {
    background-color: #A0F0C5;
    transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background-color: #F5F3EF;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-plus {
    font-weight: bold;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-plus {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
}

/* Contact Section */
.contact-section {
    background-color: #F5F3EF;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #A0F0C5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-icon {
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2B2D42;
}

.info-card p {
    text-align: center;
    color: #666;
}

.map-container {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #F5F3EF;
    transition: border 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #A0F0C5;
    box-shadow: 0 0 0 3px rgba(160, 240, 197, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

/* Messages d'erreur du formulaire */
.form-errors {
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

.error-message:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* Footer */
footer {
    background-color: #2B2D42;
    color: #F5F3EF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #A0F0C5;
}

footer p {
    color: #bbb;
    line-height: 1.7;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #A0F0C5;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #A0F0C5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid, .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-section .container, .about-content, .contact-container {
        flex-direction: column;
    }
    
    .hero-image, .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-form, .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid, .advantages-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .service-card, .advantage-card {
        padding: 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* Policy Pages Styles */
.policy-section {
    padding: 140px 0 80px;
}

.policy-header {
    margin-bottom: 30px;
    text-align: center;
}

.policy-date {
    font-style: italic;
    color: #777;
    margin-top: 10px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-content h2 {
    font-size: 1.8rem;
    color: #2B2D42;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.policy-content h3 {
    font-size: 1.4rem;
    color: #2B2D42;
    margin: 25px 0 15px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
}

.policy-content address {
    font-style: normal;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border-left: 4px solid #A0F0C5;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 160px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #A0F0C5;
}

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.thank-you-actions {
    margin-top: 30px;
} 