/* 
   Domain - Cabinet d'audit financier
   Color Palette:
   - Indigo: #2D3142
   - Lime: #D4FF3F
   - Smoky Gray: #ECECEC
   - White: #FFFFFF
*/

/* === Reset and Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    color: #2D3142;
    line-height: 1.6;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: #2D3142;
    word-break: break-word;
	overflow-wrap: break-word;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: #D4FF3F;
}

p {
    margin-bottom: 15px;
}

/* === Header Styles === */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2D3142;
    position: relative;
}

.logo a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #D4FF3F 0%, #2D3142 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo a:hover::after {
    transform: scaleX(1);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

.main-nav a:hover {
    background-color: #ECECEC;
}

.nav-cta {
    background-color: #2D3142;
    color: #FFFFFF !important;
    padding: 8px 15px !important;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(212, 255, 63, 0.5);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #D4FF3F !important;
    color: #2D3142 !important;
    box-shadow: 0 0 15px rgba(212, 255, 63, 0.8);
}

/* Burger Menu */
.menu-toggle {
    display: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.burger-menu span {
    height: 3px;
    width: 100%;
    background-color: #2D3142;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(45, 49, 66, 0.7), rgba(45, 49, 66, 0.7)), url('img/G7P9r.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #D4FF3F;
    border-radius: 2px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #D4FF3F 0%, #D4FF3F 100%);
    color: #2D3142;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(212, 255, 63, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 255, 63, 0.6);
    background: linear-gradient(90deg, #D4FF3F 0%, #c8f32d 100%);
}

/* === About Section === */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 49, 66, 0.1);
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background-color: #D4FF3F;
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
}

/* === Services Section === */
.services {
    background-color: #ECECEC;
    position: relative;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 255, 63, 0.1) 0%, rgba(236, 236, 236, 0) 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(45, 49, 66, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: #D4FF3F;
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 49, 66, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* === Advantages Section === */
.advantages {
    background-color: #FFFFFF;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage-card {
    padding: 25px;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 5px 5px 15px #d9d9d9, -5px -5px 15px #ffffff;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: scale(1.03);
}

.advantage-card h3 {
    color: #2D3142;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.advantage-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #D4FF3F;
}

/* === Testimonials Section === */
.testimonials {
    background-color: #2D3142;
    color: #FFFFFF;
}

.testimonials h2 {
    color: #FFFFFF;
}

.testimonials h2::after {
    background: #D4FF3F;
}

.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.testimonial {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px;
    scroll-snap-align: center;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
    border-left: 3px solid #D4FF3F;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    text-align: right;
    padding-right: 20px;
}

/* === FAQ Section === */
.faq {
    background-color: #ECECEC;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(45, 49, 66, 0.05);
    overflow: hidden;
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item label {
    display: block;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.faq-item label::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked + label {
    background-color: #2D3142;
    color: #FFFFFF;
}

.faq-item input[type="checkbox"]:checked + label::after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* === Contact Section === */
.contact {
    background: linear-gradient(to bottom, #FFFFFF 0%, #ECECEC 100%);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    padding-right: 20px;
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2D3142;
    box-shadow: 0 0 0 3px rgba(212, 255, 63, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    display: inline;
    margin-bottom: 0;
}

.submit-button {
    background-color: #2D3142;
    color: #FFFFFF;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #D4FF3F;
    color: #2D3142;
    box-shadow: 0 5px 15px rgba(212, 255, 63, 0.3);
}

/* === Footer === */
.site-footer {
    background-color: #2D3142;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo a {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-contact p,
.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: #FFFFFF;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: #D4FF3F;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(5px);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-popup h3 {
    margin-bottom: 10px;
}

.cookie-popup p {
    margin-bottom: 20px;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-button {
    background-color: #D4FF3F;
    color: #2D3142;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #c8f32d;
}

.cookie-link {
    color: #FFFFFF;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cookie-link:hover {
    opacity: 1;
}

/* === Legal Pages === */
.legal-content {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
}

.legal-content h1 {
    color: #2D3142;
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.legal-content h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background-color: #D4FF3F;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.legal-content ul, 
.legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ECECEC;
}

.thank-you-content {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    position: relative;
    border: 1px solid #D4FF3F;
    width: 80%;
    margin: 3rem auto;
}


.thank-you-content::before {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    border: 2px dashed #D4FF3F;
    border-radius: 15px;
    z-index: -1;
    opacity: 0.5;
}

.thank-you h1 {
    color: #2D3142;
}

.thank-you p {
    margin-bottom: 25px;
}

.back-home {
    display: inline-block;
    background-color: #2D3142;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-home:hover {
    background-color: #D4FF3F;
    color: #2D3142;
    box-shadow: 0 5px 15px rgba(212, 255, 63, 0.3);
}

/* === Responsive Styles === */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .menu-toggle:checked ~ .main-nav {
        height: auto;
        padding: 20px 0;
    }
    
    .menu-toggle:checked + .burger-menu span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle:checked + .burger-menu span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .burger-menu span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .testimonial {
        padding: 10px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 20px;
    }
} 