/* 
   Main stylesheet for domain.com
   Color palette:
   - Background: #101820 (dark blue anthracite)
   - Accents: #FEE715 (bright yellow), #00A6ED (cyan), #FF6F61 (coral-pink)
   - Text: #FFFFFF, #D9E1E8
   - Buttons: gradients with transitions between #FEE715 → #00A6ED
*/

/* Reset & Base Styles */
:root {
    --bg-dark: #101820;
    --yellow: #FEE715;
    --cyan: #00A6ED;
    --coral: #FF6F61;
    --white: #FFFFFF;
    --light-gray: #D9E1E8;
    --transition: all 0.3s ease;
    --radius: 12px;
    --container: 1200px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--yellow);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--yellow), var(--cyan));
    border-radius: var(--radius);
}

/* Buttons */
.button, .cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.button {
    background: linear-gradient(45deg, var(--yellow), var(--cyan));
    color: var(--bg-dark);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--bg-dark);
}

.cta-button {
    background: linear-gradient(45deg, var(--yellow), var(--cyan));
    color: var(--bg-dark);
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--bg-dark);
}

.outline-button {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}

.outline-button:hover {
    background-color: var(--yellow);
    color: var(--bg-dark);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 24, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo svg {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a:hover {
    color: var(--yellow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    position: absolute;
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.7)), url('./img/NP0u5H.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

/* About Section */
.about {
    background-color: rgba(255, 255, 255, 0.03);
}

.about-content {
    display: flex;
    gap: 2rem;
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--yellow);
}

/* Services Section */
.services {
    background-color: rgba(255, 255, 255, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(16, 24, 32, 0.8);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--cyan);
}

.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: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.service-content p {
    color: var(--light-gray);
}

/* Process Section */
.process-steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--yellow), var(--cyan));
    transform: translateX(-50%);
}

.step {
    position: relative;
    margin-bottom: 50px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.step-text {
    width: 50%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.step-text:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--yellow), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--bg-dark);
    z-index: 2;
}

.step:nth-child(odd) .step-text {
    margin-right: auto;
}

.step:nth-child(even) .step-text {
    order: 1;
    margin-left: auto;
}

/* Testimonials Section */
.testimonials {
    background-color: rgba(255, 255, 255, 0.03);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(16, 24, 32, 0.8);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--yellow);
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--cyan);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    z-index: 1;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--yellow);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--white);
    text-decoration: none;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.faq-answer {
    padding: 1.2rem;
    display: none;
    background-color: rgba(16, 24, 32, 0.5);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--yellow);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--cyan);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--white);
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 166, 237, 0.2);
}

/* Améliorations pour le sélecteur de service */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px;
    cursor: pointer;
}

select.form-control option {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo svg {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.company-description {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h4 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--yellow), var(--cyan));
    border-radius: var(--radius);
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.75rem;
}

.link-group a {
    color: var(--light-gray);
}

.link-group a:hover {
    color: var(--yellow);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(16, 24, 32, 0.95);
    padding: 1.5rem;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
    text-align: center;
}

#accept-cookies {
    background: linear-gradient(45deg, var(--yellow), var(--cyan));
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

#accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Thank You Page */
.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--yellow);
    margin-bottom: 2rem;
}

/* Policy Pages */
.policy-page h1 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--yellow);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--radius);
}

.policy-content h2 {
    color: var(--yellow);
    margin-top: 2.5rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step-content {
        flex-direction: column;
    }
    
    .step-number {
        left: 30px;
        transform: none;
    }
    
    .step-text {
        width: 100%;
    }
    
    .step:nth-child(odd) .step-text, 
    .step:nth-child(even) .step-text {
        order: unset;
        margin: 0 0 0 60px;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(16, 24, 32, 0.95);
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    
    .main-nav li a {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .mobile-menu-toggle.active span:first-child {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:last-child {
        transform: translateY(-9px) rotate(-45deg);
    }

    .policy-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .policy-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
} 