/*
=================================================
ComptablePro - Styles CSS
Palette: Ultramarine (#3F3D56), Lime (#C0FF72), Coral (#FF6F61), Smoke White (#F9F9F9)
=================================================
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #F9F9F9;
    background: linear-gradient(135deg, #3F3D56 0%, #2A2841 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.text-gradient {
    background: linear-gradient(135deg, #C0FF72 0%, #FF6F61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-nav-cta, .btn-submit, .btn-accept {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary, .btn-submit, .btn-accept {
    background: linear-gradient(135deg, #FF6F61 0%, #C0FF72 100%);
    color: #3F3D56;
    box-shadow: 0 8px 32px rgba(255, 111, 97, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #F9F9F9;
    border: 2px solid #C0FF72;
    box-shadow: 0 8px 32px rgba(192, 255, 114, 0.2);
}

.btn-nav-cta {
    background: linear-gradient(135deg, #C0FF72 0%, #FF6F61 100%);
    color: #3F3D56;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-submit:hover, .btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 111, 97, 0.4);
}

.btn-secondary:hover {
    background: #C0FF72;
    color: #3F3D56;
    transform: translateY(-2px);
}

.btn-info {
    color: #C0FF72;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(63, 61, 86, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 255, 114, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #F9F9F9;
}

.logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #F9F9F9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #C0FF72;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C0FF72;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #F9F9F9;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(192, 255, 114, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(192, 255, 114, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 111, 97, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 111, 97, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(192, 255, 114, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    color: #C0FF72;
}

.testimonial-author span {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(192, 255, 114, 0.1);
}

.faq-item h3 {
    color: #C0FF72;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.02);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: #C0FF72;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #FF6F61;
}

.contact-item a {
    color: #C0FF72;
    text-decoration: none;
}

.contact-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-top: 2rem;
}

/* Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(192, 255, 114, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #C0FF72;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(192, 255, 114, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #F9F9F9;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Styles spécifiques pour le select */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0FF72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group select option {
    background: #3F3D56;
    color: #F9F9F9;
    padding: 8px 12px;
    border: none;
}

/* Amélioration pour la visibilité du texte sélectionné */
.form-group select:focus {
    outline: none;
    border-color: #C0FF72;
    box-shadow: 0 0 0 3px rgba(192, 255, 114, 0.2);
    color: #F9F9F9;
}

/* Force la couleur du texte dans le select */
.form-group select {
    color: #F9F9F9 !important;
}

.form-group select option:checked {
    background: #C0FF72;
    color: #3F3D56;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C0FF72;
    box-shadow: 0 0 0 3px rgba(192, 255, 114, 0.1);
}

.form-checkboxes {
    margin: 2rem 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: #C0FF72;
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(192, 255, 114, 0.1);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-svg {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: #C0FF72;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #F9F9F9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C0FF72;
}

.footer-contact a {
    color: #C0FF72;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 255, 114, 0.1);
}

.footer-legal-links a {
    color: #F9F9F9;
    text-decoration: none;
    font-size: 0.9rem;
}

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(63, 61, 86, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(192, 255, 114, 0.2);
    padding: 1.5rem;
    z-index: 2000;
    transition: all 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
    color: #C0FF72;
}

.cookie-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Thank You Page */
.thank-you-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon svg {
    width: 100px;
    height: 100px;
}

.thank-you-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.next-steps {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: left;
}

.next-steps h2 {
    color: #C0FF72;
    text-align: center;
    margin-bottom: 1.5rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

.contact-details p {
    margin: 0.5rem 0;
}

.contact-details a {
    color: #C0FF72;
    text-decoration: none;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.success-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* CSS-only mobile menu */
.nav-toggle-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(63, 61, 86, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(192, 255, 114, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    /* Toggle functionality */
    .nav-toggle-checkbox:checked + .nav-container .nav-menu {
        max-height: 300px;
    }
    
    .nav-toggle-checkbox:checked + .nav-container .nav-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle-checkbox:checked + .nav-container .nav-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle-checkbox:checked + .nav-container .nav-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-cta,
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .advantage-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0.8;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS-only animations et smooth scroll */
html {
    scroll-behavior: smooth;
}

/* CSS animations sur hover/focus */
.advantage-card,
.service-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.advantage-card:hover,
.service-card:hover,
.testimonial-card:hover {
    animation: slideInUp 0.3s ease-out;
}

/* Print button functionality via CSS */
.print-page {
    cursor: pointer;
    position: relative;
}

.print-page:hover::after {
    content: "Utilisez Ctrl+P pour imprimer";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

@media print {
    .print-page {
        display: none;
    }
}

/* Success message styles */
.success-message {
    background: rgba(192, 255, 114, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #C0FF72;
    text-align: center;
    margin: 2rem 0;
}

.success-message h3 {
    color: #C0FF72;
    margin-bottom: 0.5rem;
}

/* Additional Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Policy Pages Styles */
.policy-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(192, 255, 114, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(192, 255, 114, 0.2);
}

.policy-header h1 {
    color: #C0FF72;
    margin-bottom: 1rem;
}

.policy-date {
    color: #FF6F61;
    font-style: italic;
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    color: #C0FF72;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.policy-section h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-section strong {
    color: #C0FF72;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(192, 255, 114, 0.1);
    margin: 1rem 0;
}

.contact-info a {
    color: #C0FF72;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.policy-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(192, 255, 114, 0.2);
}

.important-notice {
    background: rgba(255, 111, 97, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 111, 97, 0.2);
    margin: 2rem 0;
}

.important-notice h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

.important-notice ul {
    margin-left: 1rem;
}

.important-notice li {
    margin-bottom: 0.8rem;
}

/* Cookie Table Styles */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(192, 255, 114, 0.1);
}

.cookie-table th {
    background: rgba(192, 255, 114, 0.1);
    color: #C0FF72;
    font-weight: 600;
}

.cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Print Styles */
@media print {
    .main-header,
    .cookie-banner {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .thank-you-content,
    .policy-content {
        color: black;
        background: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .policy-header h1,
    .policy-section h2,
    .policy-section h3 {
        color: black;
    }
    
    .policy-actions {
        display: none;
    }
} 