/* =================================================================
   DOMAIN - SERVICES COMPTABLES PROFESSIONNELS
   Modern Adaptive CSS Design
   Color Palette:
   - Main: #1C1E22 (Deep Graphite)
   - Accent: #00F5D4 (Neon Turquoise) 
   - Secondary: #FF6B6B (Warm Coral-Pink)
   - Text: #F5F5F5 (Light Gray-White)
   - Decorative: #C9A227 (Matte Gold)
================================================================= */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #1C1E22;
    color: #F5F5F5;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: #00F5D4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B6B;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1C1E22 0%, #2a2d35 100%);
    border-top: 3px solid #00F5D4;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    box-shadow: 0 -5px 20px rgba(0, 245, 212, 0.1);
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept {
    background: linear-gradient(135deg, #00F5D4 0%, #FF6B6B 100%);
    color: #1C1E22;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

.btn-more {
    color: #C9A227;
    padding: 12px 20px;
    border: 1px solid #C9A227;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background: #C9A227;
    color: #1C1E22;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 30, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 245, 212, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #00F5D4;
    letter-spacing: -1px;
}

.logo a:hover {
    color: #FF6B6B;
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F5D4, #FF6B6B);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.contact-phone {
    font-weight: 600;
    font-size: 1.1rem;
    color: #C9A227;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    color: #00F5D4;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1C1E22 0%, #2a2d35 50%, #1C1E22 100%);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    background: linear-gradient(135deg, #00F5D4 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(245, 245, 245, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00F5D4 0%, #FF6B6B 100%);
    color: #1C1E22;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 245, 212, 0.3);
    color: #1C1E22;
}

.btn-secondary {
    background: transparent;
    color: #C9A227;
    border: 2px solid #C9A227;
}

.btn-secondary:hover {
    background: #C9A227;
    color: #1C1E22;
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    background: linear-gradient(135deg, #00F5D4 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #2a2d35 0%, #1C1E22 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-image {
    animation: fadeInRight 1s ease;
    text-align: center;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 245, 212, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: linear-gradient(135deg, #2a2d35 0%, #1e2024 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 245, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover:before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00F5D4;
    box-shadow: 0 20px 40px rgba(0, 245, 212, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00F5D4 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    color: #00F5D4;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(135deg, #1C1E22 0%, #2a2d35 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(42, 45, 53, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(42, 45, 53, 0.8);
}

.advantage-icon {
    font-size: 2rem;
    color: #C9A227;
    min-width: 50px;
}

.advantage-content h4 {
    color: #00F5D4;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: rgba(245, 245, 245, 0.8);
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #2a2d35 0%, #1C1E22 100%);
}

.testimonials-slider {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background: rgba(28, 30, 34, 0.8);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(201, 162, 39, 0.2);
    margin: 0 10px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(245, 245, 245, 0.9);
}

.testimonial-author {
    font-weight: 600;
    color: #C9A227;
    font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #1C1E22 0%, #2a2d35 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(42, 45, 53, 0.3);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 212, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #00F5D4;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 10px;
    background: rgba(28, 30, 34, 0.8);
    color: #F5F5F5;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00F5D4;
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    min-width: 18px;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Map Section */
.map-section {
    background: linear-gradient(135deg, #2a2d35 0%, #1C1E22 100%);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-embed {
    text-align: center;
}

.map-embed iframe {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.map-embed iframe:hover {
    box-shadow: 0 25px 50px rgba(0, 245, 212, 0.2);
    transform: translateY(-5px);
}

.contact-info-detail {
    background: rgba(42, 45, 53, 0.3);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 245, 212, 0.1);
}

.contact-info-detail h3 {
    color: #00F5D4;
    margin-bottom: 2rem;
}

.contact-info-detail p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-detail strong {
    color: #C9A227;
    min-width: 80px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e2024 0%, #1C1E22 100%);
    border-top: 1px solid rgba(0, 245, 212, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #00F5D4;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo h3 {
    font-size: 2rem;
    color: #00F5D4;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(245, 245, 245, 0.8);
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
}

.footer-links a:hover {
    color: #00F5D4;
    padding-left: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: rgba(245, 245, 245, 0.8);
}

.contact-info a {
    color: #C9A227;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 245, 212, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-content {
    color: rgba(245, 245, 245, 0.6);
}

.footer-bottom-content p {
    margin-bottom: 5px;
}

/* Policy Pages Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.policy-content h1 {
    color: #00F5D4;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    color: #FF6B6B;
    margin: 2rem 0 1rem;
}

.policy-content h3 {
    color: #C9A227;
    margin: 1.5rem 0 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content ul, .policy-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Thank You Page */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    background: rgba(42, 45, 53, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 212, 0.1);
}

.thank-you-content h1 {
    color: #00F5D4;
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(245, 245, 245, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .map-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0;
        width: 100%;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .hero {
        overflow-x: hidden;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        word-break: break-word;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .section {
        padding: 60px 0;
        overflow-x: hidden;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: calc(100vw - 40px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }
    
    .map-embed iframe {
        width: 100%;
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }
    
    .testimonials-slider {
        width: 100%;
        max-width: 100%;
    }
    
    .testimonial-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .contact-phone {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-card,
    .advantage-item {
        padding: 25px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .testimonial-item {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .policy-content {
        padding: 20px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .thank-you-content {
        padding: 30px 20px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: calc(100vw - 20px);
        box-sizing: border-box;
    }
    
    .form-container {
        padding: 20px 15px;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100vw - 30px);
    }
}
