/* Variables */
:root {
    --background: #1F1C2C;
    --primary: #FFB400;
    --secondary: #20C997;
    --text-light: #FFFFFF;
    --text-dark: #DADADA;
    --border: #3A3A50;
    --accent: #FF7A00;
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient: linear-gradient(135deg, #1F1C2C 0%, #2D2A3A 100%);
    --button-gradient: linear-gradient(to right, var(--primary), var(--accent));
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header et navigation */
header {
    background: var(--gradient);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    background: var(--button-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.btn-contact {
    background: var(--button-gradient);
    color: var(--text-light) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 180, 0, 0.3);
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 300px);
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--button-gradient);
}

/* About section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.rounded-image {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--button-gradient);
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 180, 0, 0.3);
}

/* Hero section */
.hero {
    background: var(--gradient);
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/Mnq8KS.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeIn 1.5s ease;
}

/* Services section */
.services {
    background-color: rgba(31, 28, 44, 0.9);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--gradient);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.service-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 3px solid var(--primary);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

.service-title {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-link {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--button-gradient);
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 180, 0, 0.3);
    color: var(--text-light);
}

/* Avantages section */
.advantages {
    background-color: rgba(31, 28, 44, 0.7);
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(58, 58, 80, 0.2);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(58, 58, 80, 0.3);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Testimonials */
.testimonials {
    background-color: rgba(31, 28, 44, 0.9);
    position: relative;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/kt5DTJ.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-item {
    background: rgba(58, 58, 80, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.testimonial-content {
    position: relative;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: rgba(255, 180, 0, 0.2);
    font-family: serif;
}

.testimonial-author {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 2px solid var(--primary);
}

/* Contact form */
.contact {
    background-color: rgba(31, 28, 44, 0.8);
    position: relative;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/laLXU7.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(58, 58, 80, 0.3);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(31, 28, 44, 0.5);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFB400%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(31, 28, 44, 0.7);
}

select.form-control option {
    background-color: #1F1C2C;
    color: var(--text-light);
    padding: 10px;
}

select.form-control:focus {
    background-color: rgba(31, 28, 44, 0.9);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.2);
}

select.form-control option:checked, 
select.form-control option:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.form-group {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    pointer-events: none;
}

.form-check {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.form-check-input {
    margin-right: 0.8rem;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-check-label a:hover {
    color: var(--accent);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

/* FAQ section */
.faq {
    background-color: rgba(31, 28, 44, 0.7);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--gradient);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    display: none;
}

.faq-toggle-label {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-toggle-label::before,
.faq-toggle-label::after {
    content: '';
    position: absolute;
    background: var(--primary);
    transition: all 0.3s ease;
}

.faq-toggle-label::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-toggle-label::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.5s ease;
    background: rgba(58, 58, 80, 0.2);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-toggle:checked + .faq-question .faq-toggle-label::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Footer */
footer {
    background: var(--gradient);
    padding: 4rem 0 1rem;
    color: var(--text-dark);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--button-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-contact h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.icon {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
    min-width: 300px;
}

.footer-nav, .footer-legal {
    margin-bottom: 2rem;
}

.footer-nav ul, .footer-legal ul {
    list-style: none;
}

.footer-nav li, .footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Policy pages */
.policy-page {
    padding: 3rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(58, 58, 80, 0.2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-content h2 {
    margin-top: 2rem;
    color: var(--primary);
}

.policy-content ul, .policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 6rem 0;
}

.thank-you-container {
    background: var(--gradient);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(32, 201, 151, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-container h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thank-you-container p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.thank-you-container .btn {
    margin-top: 2rem;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(31, 28, 44, 0.95);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup.hide {
    bottom: -100%;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        position: relative;
        height: 22px;
        width: 30px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 3px;
        background-color: var(--text-light);
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        bottom: -8px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--background);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        border-top: 1px solid var(--border);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
} 