/* 
 * Style principal pour le site d'audit financier
 * Couleurs: 
 * - Fond: gradient #f2f2ff → #e0ffe0
 * - Accents: #00cccc, #ff0077
 * - Texte: #222222, #666666
 */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    background: linear-gradient(135deg, #f2f2ff, #e0ffe0);
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #00cccc, #ff0077);
    margin: 15px auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666666;
}

a {
    color: #00cccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff0077;
}

/* Header */
.site-header {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #222222;
}

.company-name {
    margin-left: 10px;
    font-size: 1.4rem;
    font-weight: 600;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
}

.main-nav .nav-menu li {
    margin-left: 25px;
}

.main-nav .nav-menu a {
    color: #222222;
    font-weight: 500;
}

.main-nav .nav-menu a:hover {
    color: #ff0077;
}

.nav-cta {
    background: #00cccc;
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #ff0077;
    color: white !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #222222;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero section */
.hero-section {
    padding: 60px 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666666;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #00cccc, #0099cc);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 204, 204, 0.3);
}

.cta-button:hover {
    background: linear-gradient(to right, #ff0077, #ff3399);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 0, 119, 0.4);
}

/* À propos section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

/* Benefits section */
.benefits-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

/* Services section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
}

.service-button {
    display: block;
    margin: 0 20px 20px;
    text-align: center;
    padding: 10px;
    background: #00cccc;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-button:hover {
    background: #ff0077;
    color: white;
}

/* Testimonials section */
.testimonials-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 60px;
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(0, 204, 204, 0.2);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
}

/* Contact section */
.contact-section {
    padding: 80px 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(240, 240, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #dddddd;
    background: rgba(255, 255, 255, 0.9);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #00cccc, #0099cc);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 204, 204, 0.3);
}

.submit-button:hover {
    background: linear-gradient(to right, #ff0077, #ff3399);
    box-shadow: 0 6px 12px rgba(255, 0, 119, 0.4);
    transform: translateY(-2px);
}

/* FAQ section */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: #222222;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #222222;
}

.faq-question:hover h3 {
    color: #00cccc;
}

.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle:before,
.faq-toggle:after {
    content: '';
    position: absolute;
    background-color: #00cccc;
    transition: transform 0.3s ease;
}

.faq-toggle:before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-toggle:after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 300px;
}

.faq-question:hover .faq-toggle:before,
.faq-question:hover .faq-toggle:after {
    background-color: #ff0077;
}

.faq-answer.active + .faq-question .faq-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(to right, #222222, #333333);
    color: #ffffff;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00cccc;
}

.footer-section p, 
.footer-section a {
    color: #cccccc;
}

.footer-section a:hover {
    color: #00cccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: center;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.cookie-button {
    background: #00cccc;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-button:hover {
    background: #ff0077;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.8s ease-out;
}

.service-card, 
.benefit-card,
.testimonial-card {
    animation: fadeIn 1s ease-out;
}

/* Media queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 100;
    }
    
    .main-nav .nav-menu.active {
        display: flex;
    }
    
    .main-nav .nav-menu li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }
} 