/* Base Styles */
:root {
    --primary-color: #000000; /* Black for main elements */
    --secondary-color: #333333; /* Dark gray for secondary elements */
    --accent-color: #4ecca3; /* Light green accent color from the logo */
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --white: #fff;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    background-image: 
        radial-gradient(var(--accent-color) 0.5px, transparent 0.5px),
        radial-gradient(var(--accent-color) 0.5px, var(--white) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    z-index: 2000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    opacity: 0.2;
    border-radius: 50%;
    left: -15px;
    top: -5px;
    z-index: -1;
}

.underline {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 0 auto;
    position: relative;
}

.underline::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    left: 0;
    top: -3px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.4s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    border-color: var(--accent-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: padding 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a.btn-primary {
    color: var(--white);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, var(--accent-color) 25%, transparent 25%),
                      linear-gradient(225deg, var(--accent-color) 25%, transparent 25%),
                      linear-gradient(45deg, var(--accent-color) 25%, transparent 25%),
                      linear-gradient(315deg, var(--accent-color) 25%, transparent 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--light-text);
}

.app-links {
    display: flex;
    margin-top: 30px;
}

.app-btn {
    display: flex;
    align-items: center;
    background-color: var(--text-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 15px;
    transition: var(--transition);
}

.app-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.app-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* Commission Section */
.commission {
    padding: 100px 0;
    background-color: rgba(78, 204, 163, 0.05);
    position: relative;
}

.commission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--accent-color) 1px, transparent 1px),
        linear-gradient(to right, var(--accent-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 0;
}

.commission .container {
    position: relative;
    z-index: 1;
}

.commission-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.commission-steps {
    flex: 2;
    padding-right: 50px;
}

.commission-step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.3);
}

.step-number::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    top: -5px;
    left: -5px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-content p {
    color: var(--light-text);
}

.commission-cta {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    align-self: flex-start;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(78, 204, 163, 0.2);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.commission-cta::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.commission-amount {
    margin-bottom: 20px;
}

.amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.per-project {
    display: block;
    font-size: 1.1rem;
    color: var(--light-text);
}

.commission-cta p {
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(78, 204, 163, 0.15), transparent 70%);
    top: 0;
    left: 0;
    z-index: -1;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--light-text);
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: -1;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    color: var(--light-text);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

/* Service Selector */
.service-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.selector-btn {
    padding: 12px 25px;
    margin: 0 10px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 5;
}

.selector-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.selector-btn:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, var(--accent-color) 0, var(--accent-color) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
    opacity: 0.05;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-intro p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid var(--accent-color);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(78, 204, 163, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-card p {
    padding: 0 20px 20px;
    text-align: center;
    color: var(--light-text);
}

/* Video Section */
.video {
    padding: 100px 0;
}

.video-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.video-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.video-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--light-text);
}

.video-content p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.video-container {
    margin-top: 50px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Appointment Section */
.appointment {
    padding: 100px 0;
    background-color: var(--white);
}

.appointment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.appointment-text {
    flex: 1;
    padding-right: 50px;
}

.appointment-image {
    flex: 1;
}

.appointment-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.appointment-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.appointment-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--light-text);
}

.appointment-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.app-features {
    margin: 30px 0;
}

.app-features li {
    margin-bottom: 15px;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.app-features li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Calendrier Section */
.calendrier {
    padding: 100px 0;
}

.calendrier-content {
    display: flex;
    justify-content: space-between;
}

.calendrier-text {
    flex: 1;
    padding-right: 50px;
}

.calendrier-embed {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calendrier-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.calendrier-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(78, 204, 163, 0.8) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content p {
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--accent-color);
    border-color: var(--white);
    margin-bottom: 30px;
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.cta .app-btn {
    background-color: rgba(255, 255, 255, 0.2);
}

.cta .app-btn:hover {
    background-color: var(--white);
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    padding-right: 50px;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links a {
    color: var(--white);
    margin-right: 20px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.8;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* FAQ Styles */
.faq-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    font-family: 'Poppins', sans-serif;
}

.faq-button {
    width: auto;
    height: 50px;
    border-radius: 25px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    padding: 0 20px 0 15px;
    animation: pulse-faq 2s infinite alternate;
}

@keyframes pulse-faq {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }
}

.faq-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.4s;
    z-index: -1;
    border-radius: 25px;
}

.faq-button:hover::before {
    left: 0;
}

.faq-button:hover {
    transform: translateY(-3px);
}

.faq-button i {
    font-size: 1.5rem;
    margin-right: 10px;
    animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

.faq-button span {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-content {
    position: fixed;
    bottom: 75px;
    left: 30px;
    width: 360px;
    max-height: 75vh; /* Réduit pour éviter de monter trop haut */
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none; /* Initialement caché */
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    z-index: 1000;
}

.faq-content.active {
    /* Le display sera contrôlé par JavaScript pour permettre la transition */
    transform: translateY(0);
    opacity: 1;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color) 60%, #3cb98e);
    border-radius: 15px 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.faq-header::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.faq-body {
    padding: 15px;
    max-height: calc(75vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch; /* Pour une meilleure expérience sur iOS */
}

.faq-body::-webkit-scrollbar {
    width: 6px;
}

.faq-body::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.5);
    border-radius: 10px;
}

.faq-body::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
    opacity: 0.7;
}

.faq-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    background-color: var(--white);
}

.faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    background-color: #fafffe;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 15px;
    background-color: inherit;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    opacity: 0.5;
}

.faq-item.active .faq-question {
    background-color: rgba(78, 204, 163, 0.05);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    line-height: 1.4;
    padding-right: 15px;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    margin-top: 4px;
    background: rgba(78, 204, 163, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--accent-color);
    color: var(--white);
}

.faq-answer {
    background-color: rgba(249, 250, 251, 0.7);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px; /* Augmenté pour les réponses plus longues */
}

.faq-answer p {
    padding: 18px 15px;
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer p:first-of-type {
    border-left: 3px solid rgba(78, 204, 163, 0.3);
    margin-left: 12px;
    border-radius: 0 5px 5px 0;
    background-color: rgba(78, 204, 163, 0.05);
}

.app-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: underline;
    transition: var(--transition);
}

.app-link:hover {
    color: var(--primary-color);
}

/* Ensure scroll-top-btn and faq-button don't overlap */
.scroll-top-btn {
    bottom: 30px;
    right: 30px !important;
    left: auto !important;
}

/* Legal Pages Styles */
.legal-page {
    padding: 150px 0 100px;
    background-color: var(--white);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.legal-header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.legal-section h2::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    opacity: 0.2;
    border-radius: 50%;
    left: -10px;
    top: 5px;
    z-index: -1;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
}

.legal-section p {
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: justify;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 0;
}

.legal-section li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.legal-section li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.back-to-home {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.back-to-home .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 35px;
}

.back-to-home .btn-primary i {
    font-size: 1rem;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .commission-content {
        flex-direction: column;
    }
    
    .commission-steps {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .commission-cta {
        width: 100%;
        position: static;
    }
}

@media screen and (max-width: 480px) {
    .faq-content {
        width: 300px;
        left: -50px;
    }
    
    .faq-question h4 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 992px) {
    .hero .container,
    .about-content,
    .appointment-content,
    .calendrier-content,
    .contact-content {
        flex-direction: column;
    }

    .hero-content,
    .about-text,
    .appointment-text,
    .calendrier-text,
    .contact-info {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        margin-bottom: 50px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;

    .footer-logo,
    .footer-links {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .back-to-home .btn-primary {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1100;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about h3,
    .appointment-text h2,
    .cta-content h2,
    .video-content h2 {
        font-size: 2rem;
    }

    .about p,
    .appointment-text h3,
    .cta-content h3,
    .video-content h3 {
        font-size: 1.2rem;
    }

    .app-links {
        flex-direction: column;
    }

    .app-btn {
        margin-bottom: 15px;
    }
    
    .commission-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Styles pour très petits écrans */
@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .app-links {
        gap: 10px;
    }
    
    .app-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .commission-step {
        padding: 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .advantage-card,
    .service-card {
        padding: 15px;
    }
    
    .legal-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
}

/* Styles pour écrans très larges */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}
