/* --- Global Styles & Variables --- */
:root {
    --secondary-dark: #060f1d; /* Deep Navy */
    --primary-dark: #0d1b31; /* Slightly Lighter Navy */
    --accent-blue: #3ee2ff; /* Bright Teal/Aqua */
    --light-slate: #CCD6F6; /* Light text color */
    --slate: #8892B0; /* Medium text/icon color */
    --dark-slate: #495670;
    --hero-overlay-color: rgba(10, 25, 47, 0.7); /* For hero readability */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Crucial : le corps prend au moins toute la hauteur de la fenêtre */
    /* ... vos autres styles pour body comme font-family, background-color, color ... */
    font-family: var(--font-secondary);
    background-color: var(--primary-dark);
    color: var(--light-slate);
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}
main {
    flex-grow: 1; /* Permet au contenu principal de s'étendre et de pousser le pied de page vers le bas */
    /* ... tous les autres styles que vous pourriez avoir pour main ... */
    overflow: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-footer {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}


h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--light-slate);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; color: var(--slate); }

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-speed);
}
a:hover {
    color: var(--light-slate);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
    position: relative; /* For parallax or pseudo-elements */
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in { transform: translateY(20px); }
.fade-in-up { transform: translateY(50px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}
.delay-1 { transition-delay: 0.2s !important; }
.delay-2 { transition-delay: 0.4s !important; }
.delay-3 { transition-delay: 0.6s !important; }
.delay-4 { transition-delay: 0.8s !important; }


/* --- Header & Navbar --- */
.site-header {
    background-color: rgba(10, 25, 47, 0.85); /* Semi-transparent */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background-color: rgba(10, 25, 47, 0.85);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
section, [id] {
    scroll-margin-top: 100px; /* adapte à la hauteur du header */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.access {
    display: flex
;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-slate);
}
.logo-accent {
    color: var(--accent-blue);
}

.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-left: 25px;
}
.nav-links a {
    color: var(--slate);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width var(--transition-speed);
}
.nav-links a:hover::after,
.nav-links a.active::after { /* Add active class via JS */
    width: 100%;
}
.nav-links a:hover {
    color: var(--accent-blue);
}

.hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
        margin-right: 2rem;
}
@media (max-width:500px){.hamburger{margin-right: 0;}}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-slate);
    margin: 5px 0;
    transition: all var(--transition-speed);
}


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0; /* Remove default section padding */
    /* background-image: url('../images/hero-background.jpg');  */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* For basic parallax */
    position: relative; /* For overlay and parallax content */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay-color);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    /* max-width: 1200px; */
    /* padding: 20px; */
    /* margin-top: 4rem; */
}
.hero-content h1 {
    color: #FFF; /* Brighter for hero */
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    color: var(--light-slate);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    
    text-align: center;    
    max-width: 1200px;
    margin: 1rem auto;
}

@media (min-width: 768px) {
    .hero-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        
    }
}
@media (max-width: 500px) {
    .hero-stats-grid {
        gap:0;
        
    }
}


.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ffff; /* adapte selon ta palette */
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.before-after-hero {
    width: 100vw;
    
    height: 450px; /* Adjust as needed */
    position: relative;
    overflow: hidden;
    margin: 0 auto 2rem auto;
    /* border: 3px solid var(--accent-blue); */
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.hero-img-before, .hero-img-after {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-img-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%); /* Initial clip */
}
.hero-slider-handle {
    position: absolute;
    top: 0;
    left: 50%; /* Initial position */
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--accent-blue);
    cursor: ew-resize;
    z-index: 10;
}
.hero-slider-handle::before{
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    border: 2px solid var(--primary-dark);
}
.hero-slider-handle::before { top: calc(50% - 30px); }

@media (max-width:500px) {
    .hero-slider-handle::before { top: calc(50% + 20px);}
}

/* .hero-slider-handle::after { bottom: calc(50% - 30px); } */


/* --- Call to Action Button --- */
.cta-button, .cta-button-outline {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-button {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
    border: 2px solid var(--accent-blue);
}
.cta-button:hover {
    background-color: transparent;
    color: var(--accent-blue);
        cursor: pointer;
}
.cta-button-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.cta-button-outline:hover {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
}

/* --- Services Showcase --- */
.services-showcase-section {
    background-color: var(--secondary-dark);
}

.services-showcase-section p{
  text-align:center;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.tab-button {
    background: none;
    border: none;
    color: var(--slate);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: color var(--transition-speed), border-bottom var(--transition-speed);
    border-bottom: 2px solid transparent;
    margin: 0 10px;
}
.tab-button.active, .tab-button:hover {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.sub-section-title {
    text-align: center;
    color: var(--light-slate);
    margin-bottom: 2rem;
}

/* Before/After Slider (General) */
.before-after-slider-container {
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
}
.img-comp-container {
  position: relative;
  height: auto; /* Or set a fixed height */
  overflow: hidden; /* To hide the part of the overlay image that is not shown */
  border: 3px solid var(--dark-slate);
  border-radius: 8px;
}
.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}
.img-comp-img img {
  display: block;
  /* vertical-align: middle; */
  max-width: none; /* Important for slider to work */
}
.img-comp-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%; /* Initial position of slider */
  overflow: hidden;
  border-right: 3px solid var(--accent-blue); /* The slider line */
}
.slider-instructions {
    text-align: center;
    color: var(--slate);
    font-style: italic;
    margin-top: 10px;
}
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}
.gallery-item {
    background-color: var(--primary-dark);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.gallery-item img {
    border-radius: 4px;
    margin-bottom: 10px;
}
.gallery-item p {
    color: var(--accent-blue);
    font-weight: 600;
}

.video-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.video-item {
    background-color: var(--primary-dark);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.video-item video {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}
.video-item p {
    text-align: center;
    color: var(--slate);
}


/* --- Pricing Section --- */

.startat{
    margin: initial;
    font-size: 0.8rem;
    color: white;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.pricing-package {
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--dark-slate);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pricing-package:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.pricing-package.featured {
    border-color: var(--accent-blue);
    transform: scale(1.05); /* Slightly larger */
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.3);
}
.pricing-package h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}
.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-slate);
    margin-bottom: 1.5rem;
}
.price span {
    font-size: 1rem;
    color: var(--slate);
    font-weight: 400;
}
.pricing-package ul {
    list-style: none;
    margin-bottom: 2rem;
}
.pricing-package ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-slate);
    color: var(--slate);
}
.pricing-package ul li:last-child {
    border-bottom: none;
}


/* --- About Us Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-text {
    flex: 1;
}
.about-text h4 {
    color: var(--accent-blue);
    margin-top: 1.5rem;
}
.about-text ul {
    list-style: disc; /* Or custom icons */
    margin-left: 20px;
    color: var(--slate);
}
.about-text ul li { margin-bottom: 5px; }
.about-image {
    flex-basis: 40%; /* Adjust as needed */
    max-width: 400px;
}
.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 3px solid var(--accent-blue);
}

/* --- Work Process Section --- */
.process-section {
    background-color: var(--secondary-dark);
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    counter-reset: step-counter; /* For automatic numbering if needed */
}
.step {
    background-color: var(--primary-dark);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid var(--dark-slate);
}
.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.step h3 {
    color: var(--light-slate);
    margin-bottom: 0.5rem;
}

/* --- Testimonials Section --- */
.testimonial-slider {
    max-width: 700px;
    margin: 2rem auto;
    position: relative;
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden; /* To hide non-active items if using a JS slide */
    min-height: 200px; /* Adjust based on content */
    display: flex; /* For simple JS slider */
    align-items: center; /* For simple JS slider */
}
.testimonial-item {
    display: none; /* Hidden by default, JS will show active */
    text-align: center;
    width: 100%; /* For simple JS slider */
}
.testimonial-item.active {
    display: block;
    animation: fadeInTestimonial 0.5s ease-in-out;
}
@keyframes fadeInTestimonial {
    from { opacity: 0.3; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.testimonial-item p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--light-slate);
    margin-bottom: 1rem;
    max-width: 500px;
    margin: 2rem auto 2rem;
}
.testimonial-item h4 {
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 600;
}
.testimonial-prev, .testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(73, 86, 112, 0.5);
    color: var(--light-slate);
    border: none;
    font-size: 2rem;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color var(--transition-speed);
    z-index: 10;
}

@media (max-width:500px){
    .testimonial-prev, .testimonial-next {
        font-size: 1rem;
        padding: 5px 7px;
    }
}
.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--accent-blue);
    color: var(--primary-dark);
}
.testimonial-prev { left: 10px; }
.testimonial-next { right: 10px; }

/* --- Contact Section --- */
.contact-section {
    background-color: var(--secondary-dark);
}
.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background-color: var(--primary-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--light-slate);
    font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dark-slate);
    background-color: var(--secondary-dark);
    color: var(--light-slate);
    border-radius: 4px;
    font-size: 1rem;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.3);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.file-upload-group input[type="file"] {
    display: none; /* Hide default input */
}
.file-upload-label {
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center;
    padding: 10px 15px;
    background-color: var(--dark-slate);
    color: var(--light-slate);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}
.file-upload-label:hover {
    background-color: #495670e0; /* Slightly lighter dark-slate */
}
.upload-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(84%) sepia(31%) saturate(1000%) hue-rotate(105deg) brightness(104%) contrast(97%); /* Color for accent-blue */
}
#file-names {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--slate);
}
.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}
.response-time {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--slate);
}

/* --- Footer --- */
.site-footer-main {
    background-color: var(--primary-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--dark-slate);
}
.footer-content {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    margin-top: 3rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-slate);
    margin-bottom: 10px;
}
.site-footer-main p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 1rem;
}
.social-links a {
    margin: 0 0px;
    display: inline-block;
}
.social-links img {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-speed);
    filter: grayscale(100%) brightness(1.5); /* Make them monochrome light */
}
.social-links a:hover img {
    transform: scale(1.2);
    filter: none; /* Full color on hover */
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-content h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .about-content { flex-direction: column; }
    .about-image { margin-top: 2rem; flex-basis: auto; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .nav-links {
        display: none; /* Hide for hamburger */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 65px; /* Adjust based on header height */
        left: 0;
        background-color: var(--secondary-dark);
        padding-bottom: 10px;
    }
    .nav-links.active {
        display: flex; /* Show when hamburger is clicked */
    }
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .before-after-hero { height: 300px; }

    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-package.featured { transform: scale(1); } /* Reset scale for stacked view */
    .process-steps { grid-template-columns: 1fr; }
    .video-portfolio { grid-template-columns: 1fr; }
    .photo-gallery { grid-template-columns: 1fr; }

    .tabs { flex-wrap: wrap; }
    .tab-button { margin-bottom: 10px; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .before-after-hero { height: 250px; }
    section { padding: 60px 0; }
    .container { padding: 0 15px; }
    .contact-form { padding: 20px; }
    .footer-content {
        flex-direction: column;
    }
}
/* Cache le menu mobile par défaut */
.mobile-menu {
  display: none;
}

/* Affiche le menu mobile en mobile uniquement, et cache les autres */
@media (max-width: 900px) {
  .navbar .nav-links,
  .site-header .access .nav-links {
    display: none !important;
  }
  .mobile-menu {
    display: flex !important;   /* ou block, selon ta structure */
    flex-direction: column;
    position: absolute;
    top: 100%; /* ou comme tu veux */
    right: 0;
    background: #e0e0e0; /* ou la couleur de ton menu */
    color:#060f1d;
    width: 100vw;
    z-index: 10;
    
  }
  .mobile-menu:not(.active) {
    display: none !important;
  }
  .mobile-menu.active {
    display: flex !important;
  }
  .nav-links a {
    color: var(--secondary-dark);

}
}



.social-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.social-links a i { /* Cible les icônes à l'intérieur des liens */
    font-size: 24px; /* Ou la taille que vous souhaitez */
    color: var(--slate); /* Couleur initiale */
    transition: color var(--transition-speed), transform var(--transition-speed);
    /* Pas besoin de filter: grayscale() ici, car ce sont des icônes de police */
}

.social-links a:hover i {
    color: var(--accent-blue); /* Couleur au survol */
    transform: scale(1.2); /* Effet de zoom au survol */
}

/* --- Styles pour les Vignettes du Slider Photo --- */
.photo-thumbnails-container {
    margin-top: 3rem;
    text-align: center;
}

.thumbnails-title {
    font-size: 1.5rem;
    color: var(--light-slate);
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.thumbnails-grid {
    display: flex;
    flex-wrap: wrap; /* Permet aux vignettes de passer à la ligne si l'espace manque */
    justify-content: center; /* Centre les vignettes */
    gap: 15px; /* Espace entre les vignettes */
}

.thumbnail-item {
    cursor: pointer;
    border: 3px solid var(--dark-slate);
    border-radius: 6px;
    overflow: hidden; /* Pour que le radius s'applique bien à l'image */
    transition: border-color var(--transition-speed), transform var(--transition-speed);
    width: 120px; /* Ajustez la taille selon vos besoins */
    height: 80px;  /* Ajustez la taille pour maintenir le ratio de vos images */
    background-color: var(--secondary-dark); /* Fond si l'image ne remplit pas tout */
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image remplit la vignette, peut recadrer */
    display: block;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover {
    border-color: var(--slate);
    transform: scale(1.05);
}
.thumbnail-item:hover img {
    opacity: 0.85;
}

.thumbnail-item.active {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5); /* Lueur pour l'actif */
}

.thumbnail-item.active img {
    opacity: 1;
}

/* Optionnel: Style pour le texte sous la vignette si vous l'ajoutez */
.thumbnail-item p {
    font-size: 0.8rem;
    color: var(--slate);
    margin-top: 5px;
    text-align: center;
}

.section-subtitle{
    text-align:center;
}
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    justify-content: center;
}
.testimonial-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 14px;
    border: 2px solid #2cd4d9;
    background: #232e4d;
}

/* --- ACCOUNT ---- */
.account-dashboard { display: flex; gap:36px; max-width:1100px; margin:150px auto;}
.account-sidebar { width:220px; background:#22293a; border-radius:13px; padding:32px 20px;}
.account-sidebar ul { list-style:none; margin:0; padding:0;}
.account-sidebar li { margin-bottom:18px;}
.account-sidebar a { color:#2cd4d9; text-decoration:none; font-weight:600;}
.account-sidebar a:hover { color:#fff;}
.account-main { flex:1;padding: inherit;}
.dashboard-cards { display:flex; gap:24px; margin-top:30px;}
.card { background:#1c2130; color:#fff; padding:24px 22px; border-radius:12px; min-width:170px; box-shadow:0 2px 12px #0002;}
.card h2 { font-size:2.3em; margin-bottom:5px; color:#2cd4d9;}
.card p { margin-bottom:10px;}
.card a { color:#2cd4d9; text-decoration:none; font-weight:600;}
.account-sidebar a.active,
.account-card { background: #232735; border-radius: 10px; padding: 24px 30px; margin-bottom: 24px;}
.account-card p { margin-bottom: 14px; }
.account-actions { display: flex; gap: 18px; }
.btn { background: #2cd4d9; color: #fff; border: none; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn-outline { background: none; border: 1.5px solid #2cd4d9; color: #2cd4d9; }
.btn:hover { background: #228e92; }
.btn-outline:hover { background: #2cd4d9; color: #fff; }

.order-table { width:100%; border-collapse:collapse; margin-top:10px;}
.order-table th, .order-table td { padding:10px 7px; border-bottom:1px solid #273047;}
.order-table th { background:#232735; color:#2cd4d9;    text-align: left;}
.order-table tr:last-child td { border-bottom:none;}
.status { padding:5px 13px; border-radius:12px; font-size:0.97em; font-weight:600; }
.status-pending { background:#2cd4d930; color:#2cd4d9;}
.status-filessent {     background: #d92c8c30; color: #fbfbfb;}
.status-paid { background:#27ae6050; color:#27ae60;}
.status-files\ sent, .status-files-sent { background:#3498db33; color:#3498db;}
.status-revision { background:#f39c1240; color:#f39c12;}
.status-completed { background:#27ae6055; color:#27ae60;}
.status-cancelled { background:#e74c3c30; color:#e74c3c;}
.btn-action { color:#2cd4d9; background:transparent; border:none; padding:4px 8px; border-radius:6px; font-size:1.15em; margin-right:2px; transition:background .2s;}
.btn-action:hover { background:#232735; color:#fff;}
.empty-msg { background:#232735; color:#bbb; padding:23px 18px; border-radius:12px; margin-top:30px;}
@media (max-width: 900px) {
    .account-dashboard { flex-direction: column; gap: 0; }
    .account-sidebar { width:100%; border-radius: 0 0 13px 13px;display:none; }
    .account-main { margin-top: 0; }
    .order-table th, .order-table td { font-size:0.96em; }
}

.pdf{
   display: block;
    border: none;
    padding: inherit;
    width: fit-content;
}

/* --- page pricing-----*/
.pricing-section{
    padding: 200px 0 0 0;
}
@media (max-width:500px)
{
    .pricing-section{
        padding:50px 0 0 0;
    }
    .mobile-pricing{
        padding: 120px 0 0 0;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    text-align: center;
}
.step {
    background-color: var(--primary-dark);
    border-radius: 10px;
    box-shadow: 0 2px 12px #0002;
    transition: 
        transform 0.25s cubic-bezier(.47,1.64,.41,.8),
        box-shadow 0.25s,
        background 0.25s;
    position: relative;
    z-index: 1;
}
.step:hover {
    transform: translateY(-12px) scale(1.04) ;
    box-shadow: 0 10px 30px #2cd4d970, 0 2px 12px #0006;
}
.step:hover i, .step:hover .fa {
    color: var(--accent-blue);
    text-shadow: 0 0 8px #3ee2ff80;
    transition: color 0.25s, text-shadow 0.25s;
}
.step i, .step .fa {
    font-size: 2.6rem;
    color: var(--accent-blue);
    margin-bottom: 12px;
    display: inline-block;
    transition: color 0.25s, text-shadow 0.25s;
}
.step h3 { margin-bottom: 0.5rem; color: var(--light-slate);}
.step p { color: var(--slate);}
.faq-section {
  background: var(--secondary-dark);
  padding: 80px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item + .faq-item {
  margin-top: 18px;
}
.faq-question {
  width: 100%;
  background: var(--primary-dark);
  color: var(--light-slate);
  border: none;
  padding: 18px 22px;
  border-radius: 6px;
  font-size: 1.13rem;
  font-family: var(--font-primary);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.faq-question:hover,
.faq-question.active {
  background: var(--accent-blue);
  color: var(--primary-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--light-slate);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  transition: max-height 0.3s cubic-bezier(.4,2,.6,1), padding 0.3s;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 18px 22px;
}
.faq-item .fa-chevron-down {
  transition: transform 0.3s;
}
.faq-item.open .fa-chevron-down {
  transform: rotate(180deg);
}
.faq-more {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--slate);
}
.faq-more a {
  color: var(--accent-blue);
  text-decoration: underline;
  font-weight: 600;
}

.payment-logos {
    display: inline-flex;
    gap: 10px;
    vertical-align: middle;
    margin-top: 35px;
}
.payment-logos i {
    font-size: 2em;
    color: var(--accent-blue);
    background: #232e4d;
    border-radius: 4px;
    padding: 2px 6px;
    transition: color 0.2s, box-shadow 0.2s;
}
.payment-logos i:hover {
    color: #fff;
    box-shadow: 0 2px 8px #2cd4d999;
}




    .progress-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 35px auto;
    /* max-width: 650px; */
    gap: 0;
    font-family: var(--font-primary);
}
.progress-step {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    position: relative;
}
.step-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--secondary-dark);
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    border: 3px solid var(--dark-slate);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    z-index: 1;
}
.progress-step.done .step-icon {
    background: var(--accent-blue);
    color: var(--primary-dark);
    border-color: var(--accent-blue);
}
.progress-step.active .step-icon {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(62,226,255,0.13);
}
.step-label {
    margin-left: 10px;
    margin-right: 12px;
    color: var(--slate);
    font-size: 1rem;
    white-space: nowrap;
    font-weight: 600;
}
.progress-step.done .step-label,
.progress-step.active .step-label {
    color: var(--accent-blue);
}

.step-bar {
    flex: 1 1 0;
    height: 4px;
    background: var(--dark-slate);
    border-radius: 2px;
    margin-left: -10px;
    margin-right: -10px;
    transition: background 0.25s;
    position: relative;
}
.progress-step.done .step-bar,
.progress-step.active .step-bar {
    background: var(--accent-blue);
}
@media (max-width: 600px) {
    .progress-tracker { 
        flex-direction: row; 
        align-items: 
        flex-start; 
    }
    .progress-step { 
        flex-direction: row; 
        align-items: center; 
    }
    .step-bar { 
        width: 28px; 
        height: 4px; 
        margin: 0 5px 0 0px;
    }
    .order-step-auth{
        margin: 30px auto 30px auto;
    }
    .step-label {
        display: none;
    }
    .order-step-project {
         margin: 30px auto 30px auto !important;
    }
    .order-step-upload {
        margin: 30px auto 30px auto !important;
    }
    .order-step-confirmation {
        margin: 30px auto 30px auto !important;

    }
    .order-step-success {

            margin: 80px 20px;
    }
    .order-step-success .buttons{
        display:flex;
    }
}