/* 
   Main Stylesheet for domain
   Colors:
   - Main background: #0e1a2b (deep sea blue)
   - Accents: #ffdd00 (sunny yellow), #20c997 (mint), #f9f9f9 (snow white)
   - Shadows & contrast: #161b22 and #222831
*/

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0e1a2b;
    --secondary-color: #ffdd00;
    --accent-color: #20c997;
    --light-color: #f9f9f9;
    --dark-color: #161b22;
    --darker-color: #222831;
    --gradient-primary: linear-gradient(135deg, #0e1a2b 0%, #20c997 100%);
}

@font-face {
    font-family: 'IconFont';
    src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAW0AAsAAAAADVAAAAVkAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHI4WBmAAjDAKgyCDKwE2AiQDMAsYAAQgBYQ2B4JOG3wLUZSQkk32w8DGaQ9nSOiU6ZlM06Vh7/MH0WAm1k3ye/g//v9bZ98735nHm39m3gFyVYB6KU1JogTjZIRo4Rc+3n1Ttc5Jd5Kugf/4U7JAbJJpUajpAQsHmPLShv+F+v1vpraq7u0Kvi3LcpuUrCS7WdaNJC1ESUgiHvntf38p6d27UdouNhuWkNhABPvuKH+uql5lFLBDAxWIy7p6R8FSaT2vd7/uftqDBw9dzBCBiw7Ei0gKRixKsQ4ATukC4hrhuRCQf4ABnwPMlSkTJj1IRoE=') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--light-color);
    background-color: var(--primary-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.btn-outline:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Icons */
[class^="icon-"], [class*=" icon-"] {
    font-family: 'IconFont';
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.icon-phone:before {
    content: "\e958";
}

.icon-location:before {
    content: "\e948";
}

.icon-email:before {
    content: "\e902";
}

.icon-clock:before {
    content: "\e94e";
}

.icon-star-full:before {
    content: "\e9d9";
}

.icon-star-empty:before {
    content: "\e9d7";
}

/* Nouvelles icônes pour les services */
.icon-basic:before {
    content: "\e922"; /* Icône de document/rapport */
}

.icon-advanced:before {
    content: "\e9be"; /* Icône de graphique/analyse */
}

.icon-elite:before {
    content: "\e9c9"; /* Icône de trophée/récompense */
}

/* Icons */
.icon-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Service Icons */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.service-icon .icon-symbol {
    width: 60px;
    height: 60px;
    margin-right: 0;
    font-size: 24px;
}

/* Header Styles */
.site-header {
    padding: 12px 0;
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--light-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-svg {
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.desktop-nav li {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.desktop-nav a {
    color: var(--light-color);
    font-weight: 500;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.desktop-nav a:hover, .desktop-nav a.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.desktop-nav a.btn {
    border: 2px solid var(--light-color);
    border-radius: 50px;
    padding: 8px 20px;
}

.desktop-nav a.btn:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--light-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.mobile-nav {
    display: none;
    background-color: var(--dark-color);
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: var(--light-color);
    font-weight: 500;
    display: block;
    padding: 5px 0;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--accent-color);
}

.mobile-nav a.btn {
    display: inline-block;
    margin-top: 10px;
}

/* Main Content */
main {
    padding-top: 65px;
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(rgba(14, 26, 43, 0.85), rgba(14, 26, 43, 0.85)), url('./img/BzJABc.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.hero-image {
    display: none; /* Cache l'image puisqu'on utilise maintenant l'arrière-plan */
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-card p {
    margin-bottom: 20px;
}

.service-card ul {
    text-align: left;
    margin: 0 0 20px 20px;
}

.service-card li {
    margin-bottom: 10px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    padding: 20px;
    background-color: var(--dark-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-item h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Visual Section */
.visual-section {
    padding: 80px 0;
    background-color: var(--dark-color);
}

.visual-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.illustration {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.visual-text {
    flex: 1;
}

.visual-text h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.visual-text ol {
    margin-left: 20px;
}

.visual-text li {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: var(--dark-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-content blockquote {
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial-content blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.2;
    color: var(--accent-color);
}

.testimonial-author {
    margin-top: 20px;
    text-align: right;
}

.testimonial-author h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--dark-color);
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon:before, .faq-icon:after {
    content: '';
    position: absolute;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-icon:before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon:after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: var(--darker-color);
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px;
}

.faq-toggle:checked ~ .faq-question {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.faq-toggle:checked ~ .faq-question .faq-icon:after {
    transform: rotate(90deg);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-item div {
    flex: 1;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--accent-color);
}

.contact-image {
    margin-top: auto;
    border-radius: 10px;
    overflow: hidden;
}

/* Form Styles */
.contact-form {
    background-color: var(--dark-color);
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.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 15px;
    border-radius: 5px;
    border: 1px solid var(--darker-color);
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.radio-group {
    margin-bottom: 10px;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.audit-types p {
    margin-bottom: 10px;
    font-weight: 500;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Footer Styles */
.site-footer {
    padding: 60px 0 30px;
    background-color: var(--darker-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: var(--light-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.contact-info address {
    font-style: normal;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--dark-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 400px;
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-content .btn {
    align-self: flex-end;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Policy Pages */
.policy-section {
    padding: 60px 0;
}

.policy-content {
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: 10px;
}

.policy-content h2 {
    text-align: left;
    margin-bottom: 10px;
}

.policy-content h2:after {
    left: 0;
    transform: none;
}

.last-updated {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.policy-block {
    margin-bottom: 30px;
}

.policy-block h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.policy-block h4 {
    color: var(--secondary-color);
    margin: 15px 0 10px;
}

.policy-block ul, .policy-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-block li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--dark-color);
    padding: 60px 40px;
    border-radius: 10px;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.thank-you-content h1 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.thank-you-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.thank-you-content .btn {
    margin-top: 20px;
}

/* Contact Page Specific Styles */
.contact-page {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.contact-intro p {
    font-size: 1.1rem;
}

.contact-map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-faq {
    margin-top: 60px;
}

.contact-faq h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content, .visual-content {
        flex-direction: column;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .thank-you-content {
        padding: 40px 20px;
    }
}

/* Stars for testimonials */
.star {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    position: relative;
}

.star-full {
    color: var(--secondary-color);
}

.star-full:before {
    content: "★";
}

.star-empty {
    color: rgba(255, 221, 0, 0.3);
}

.star-empty:before {
    content: "☆";
} 