/* 
* Groupe Auditium - Financial Audit Services
* Main Stylesheet
* Color Palette:
* - Background: gradient from #f5f7fa to #c3cfe2
* - Primary: #004d7a
* - Accents: #ffa69e, #ff686b, #fad0c4
* - Text: #333333
* - Buttons: gradient from #004d7a to #008793
*/

/* === Base Styles === */
:root {
    --bg-gradient-start: #f5f7fa;
    --bg-gradient-end: #c3cfe2;
    --primary: #004d7a;
    --accent1: #ffa69e;
    --accent2: #ff686b;
    --accent3: #fad0c4;
    --text: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --btn-gradient-start: #004d7a;
    --btn-gradient-end: #008793;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--btn-gradient-end);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--btn-gradient-start), var(--btn-gradient-end));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
    color: var(--text-white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
}

.btn-outline:hover {
    background-color: rgba(0, 77, 122, 0.1);
    color: var(--primary);
}

.btn-outline-nav {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

/* === Header & Navigation === */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-svg {
    overflow: visible;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list li a {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.nav-list li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--btn-gradient-start), var(--btn-gradient-end));
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

.nav-list li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url('img/KPbOyx.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 77, 122, 0.85), rgba(0, 135, 147, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f5f7fa' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23f5f7fa' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23f5f7fa'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    z-index: 2;
}

/* === About Section === */
.about {
    padding: 80px 0;
    background-color: var(--bg-gradient-start);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-advantages {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 300px;
}

.advantage-card {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    flex: 1;
    min-width: 220px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* === Services Section === */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--text-light);
}

/* === Why Choose Us Section === */
.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 25px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
}

/* === Testimonials Section === */
.testimonials {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    animation: fadeEffect 1s;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.7;}
    to {opacity: 1;}
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* === Process Steps Section === */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -40px;
    width: 2px;
    background-color: var(--primary);
    opacity: 0.3;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-end));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    flex: 1;
}

/* === Contact Form Section === */
.contact-form {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 122, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* === Contact Info Section === */
.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.contact-item h3 {
    margin-bottom: 5px;
}

.social-media {
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--btn-gradient-end);
    color: white;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Footer === */
.site-footer {
    background-color: #001f33;
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23001f33'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent1);
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent1);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent1);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: -500px;
    left: 0;
    right: 0;
    background-color: rgba(0, 31, 51, 0.9);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content button {
    margin-left: 20px;
}

/* === Animations === */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* === Media Queries === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        box-shadow: var(--shadow-medium);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        visibility: hidden;
    }
    
    .nav-list.active {
        max-height: 300px;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 0;
        text-align: center;
    }
    
    .nav-list li a {
        display: block;
        padding: 15px;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-content,
    .contact-grid {
        flex-direction: column;
    }
    
    .testimonial-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .process-step:not(:last-child):after {
        left: 25px;
        height: calc(100% + 40px);
    }
    
    .form-container {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content button {
        margin-left: 0;
    }
}

/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.accessible-mode {
    font-size: 110%;
}

.accessible-mode input,
.accessible-mode button,
.accessible-mode select,
.accessible-mode textarea {
    font-size: 110%;
}

/* === Form alerts === */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.alert-danger {
    background-color: #ffebee;
    color: #d32f2f;
    border-left: 4px solid #f44336;
}

.alert ul {
    margin: 5px 0 5px 20px;
    padding: 0;
}

.alert li {
    margin-bottom: 5px;
} 