/* ComptaExpert QC - Styles CSS */

/* Variables CSS */
:root {
    --color-primary: #1F2632;     /* Графитовый */
    --color-secondary: #FF6978;   /* Розово-коралловый */
    --color-white: #F7F8FA;       /* Белый */
    --color-marble: #D8E3E7;      /* Мраморный */
    --color-text: #1F2632;        /* Основной текст */
    --color-text-light: #666;     /* Светлый текст */
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(31, 38, 50, 0.1);
    --shadow-hover: 0 15px 40px rgba(31, 38, 50, 0.15);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(247, 248, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(31, 38, 50, 0.1);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Navigation */
.nav {
    position: relative;
}

.menu-toggle {
    display: none;
}

.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    color: white;
    padding: 20px;
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--color-secondary);
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-marble) 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-img:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* À Propos Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--color-marble);
    border-radius: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--color-marble);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card.featured {
    border: 3px solid var(--color-secondary);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-secondary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-title {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    margin-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.period {
    color: var(--color-text-light);
    font-size: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--color-text);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Avantages Section */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-marble);
    border-radius: 20px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

.advantage-icon {
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.advantage-title {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.advantage-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Témoignages Section */
.testimonials {
    padding: 80px 0;
    background: var(--color-marble);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.star {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 25px;
}

.testimonial-author {
    border-top: 2px solid var(--color-marble);
    padding-top: 20px;
}

.author-name {
    color: var(--color-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.author-position {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-details {
    background: white;
}

.faq-question {
    background: var(--color-marble);
    padding: 25px 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
    list-style: none;
    position: relative;
}

.faq-question:hover {
    background: var(--color-secondary);
    color: white;
}

.faq-question::marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.faq-details[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 25px 30px;
    background: white;
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Formulaire de Commande */
.order-form {
    padding: 80px 0;
    background: var(--color-marble);
}

.form-wrapper {
    max-width: 700px;
    margin: 60px auto 0;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 15px 20px;
    border: 2px solid var(--color-marble);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(255, 105, 120, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-secondary);
    cursor: pointer;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--color-marble);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.contact-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--color-secondary);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-title {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.footer-subtitle {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.footer-text {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: black;
}

.contact-item svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

.contact-item span {
    color: black;
}

.contact-item .footer-link {
    color: black;
}

.footer-social {
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.legal-link {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-link:hover {
    opacity: 1;
    color: var(--color-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(247, 248, 250, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .menu-toggle:checked ~ .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px;
        margin: 40px auto 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .form-wrapper {
        padding: 25px;
    }
    
    .advantage-card,
    .testimonial-card {
        padding: 30px 20px;
    }
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px;
    background: white;
}

.legal-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--color-marble);
}

.legal-header h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.legal-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.legal-content-body {
    line-height: 1.8;
}

.legal-content-body h2 {
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secondary);
}

.legal-content-body h3 {
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content-body p {
    margin-bottom: 20px;
    color: var(--color-text);
}

.legal-content-body ul,
.legal-content-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content-body li {
    margin-bottom: 8px;
    color: var(--color-text);
}

.legal-content-body strong {
    color: var(--color-primary);
}

.contact-section {
    background: var(--color-marble);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.contact-section h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 15px;
}

.contact-section a {
    color: var(--color-secondary);
    font-weight: 600;
}

.legal-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.legal-actions .btn {
    margin: 0 10px;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 15px 60px;
    }
    
    .legal-card {
        padding: 30px 25px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content-body {
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll comportements */
html {
    scroll-padding-top: 100px;
}

/* Print styles */
@media print {
    .header, .footer, .cookie-popup {
        display: none;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
} 