/* Style principal pour domain.com - Services comptables */

:root {
    /* Palette de couleurs */
    --primary-bg: #0A2540;      /* Bleu foncé */
    --accent: #1DE9B6;          /* Turquoise néon */
    --secondary: #FF6F61;       /* Corail doux */
    --text-color: #F5F5F5;      /* Gris clair */
    --gradient-start: #6A1B9A;  /* Violet */
    --gradient-end: #0A2540;    /* Bleu foncé */
    --white: #ffffff;
    --light-bg: rgba(255, 255, 255, 0.05);
    --shadow: rgba(0, 0, 0, 0.2);
    
    /* Typographie */
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
option {
    background-color:  #463874
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.accent {
    color: var(--accent);
}

.secondary {
    color: var(--secondary);
}

/* Header */
header {
    background-color: rgba(10, 37, 64, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-child(1) {
    top: 0px;
}

.burger span:nth-child(2), .burger span:nth-child(3) {
    top: 9px;
}

.burger span:nth-child(4) {
    top: 18px;
}

#nav-toggle {
    display: none;
}

#nav-toggle:checked ~ .burger span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}

#nav-toggle:checked ~ .burger span:nth-child(2) {
    transform: rotate(45deg);
}

#nav-toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg);
}

#nav-toggle:checked ~ .burger span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
}

/* Hero Section */
.hero {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url('../img/BAbhU.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--primary-bg);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 2s ease-in-out;
}

.btn:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary-bg);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* Benefits Section */
.benefits {
    background-color: rgba(10, 37, 64, 0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--primary-bg);
    border-radius: 50%;
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9), rgba(106, 27, 154, 0.9));
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.2;
    color: var(--accent);
    font-family: serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.step-card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(106, 27, 154, 0.95));
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(29, 233, 182, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F5' 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;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

/* Footer */
footer {
    background-color: rgba(5, 18, 32, 0.95);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--primary-bg);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 8rem auto 5rem;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-container h1 {
    color: var(--accent);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--secondary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-container {
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--accent);
    text-align: center;
}

.thank-you-container h1 {
    color: var(--accent);
    margin-bottom: 20px;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background-color: var(--primary-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    #nav-toggle:checked ~ .nav-menu {
        max-height: 100vh;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
   
    
    .contact-form-container {
        padding: 20px;
    }
}
