/**
 * QES Signature Simple - Styles principaux
 * 
 * @package QES_Signature_Simple
 */

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1F2937;
}

p {
    margin: 0 0 1rem;
}

a {
    color: #4F46E5;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4338CA;
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #4F46E5;
    color: white;
}

.btn-primary:hover {
    background: #4338CA;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background: white;
    color: #4F46E5;
    border: 2px solid #4F46E5;
}

.btn-outline:hover {
    background: #EEF2FF;
    color: #4F46E5;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding .site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-branding .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
    letter-spacing: -0.5px;
}

.site-branding img {
    max-height: 40px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.main-navigation .menu-item a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-navigation .menu-item a:hover {
    color: #4F46E5;
    background: #EEF2FF;
}

.main-navigation .menu-item.current-menu-item a,
.main-navigation .menu-item.current_page_item a {
    color: #4F46E5;
    background: #EEF2FF;
}

/* CTA Header */
.header-cta .btn-primary {
    white-space: nowrap;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #374151;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #374151;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

@media (max-width: 1024px) {
    .main-navigation .nav-menu {
        gap: 0;
    }

    .main-navigation .menu-item a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.is-open .nav-menu {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

.homepage {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 5rem 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.hero-features {
    margin-bottom: 2rem;
}

.features-intro {
    margin-bottom: 0.75rem;
    color: #374151;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Illustration */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    padding: 2rem;
}

.illustration-doc {
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.doc-header {
    height: 12px;
    width: 60%;
    background: #E5E7EB;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.doc-line {
    height: 8px;
    background: #F3F4F6;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.doc-line.short {
    width: 70%;
}

.doc-signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: 8px;
    border: 2px dashed #4F46E5;
}

.signature-icon {
    font-size: 2rem;
}

.signature-badge {
    background: #4F46E5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.illustration-badges {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.illustration-badges .badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sections génériques */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* How it works */
.how-it-works-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
    background: #F9FAFB;
    border-radius: 12px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: #4F46E5;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* Use cases */
.use-cases-section {
    padding: 5rem 2rem;
    background: #F9FAFB;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.use-case-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.use-case-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.use-case-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.use-case-content p {
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Guarantees */
.guarantees-section {
    padding: 5rem 2rem;
    background: white;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.guarantee-card {
    text-align: center;
    padding: 2rem;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.guarantee-card p {
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.final-cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-box p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #4F46E5;
}

.cta-buttons .btn-primary:hover {
    background: #F9FAFB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Homepage */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .use-cases-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
    }

    .use-case-card {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .illustration-doc {
        width: 240px;
    }
}

/* ==========================================================================
   PAGE CONTACT
   ========================================================================== */

.contact-page {
    padding: 3rem 2rem 5rem;
    background: #F9FAFB;
    min-height: calc(100vh - 200px);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.75rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: #6B7280;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-form .required {
    color: #EF4444;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Form messages */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.form-success h2 {
    font-size: 1.5rem;
    color: #059669;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.form-errors,
.form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-errors ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #DC2626;
}

.form-error p {
    margin: 0;
    color: #DC2626;
}

/* Contact info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #6B7280;
    margin: 0;
}

.info-card a {
    color: #4F46E5;
}

.info-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 200px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #1F2937;
    color: #D1D5DB;
    padding: 4rem 2rem 2rem;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #374151;
}

.footer-brand .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.footer-description {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9CA3AF;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact .btn {
    margin-top: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: #6B7280;
}

.footer-badges {
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact .btn {
        display: inline-flex;
    }
}

/* ==========================================================================
   PAGES GÉNÉRIQUES
   ========================================================================== */

.page-content {
    padding: 3rem 2rem;
    min-height: calc(100vh - 300px);
}

.page-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Suivi search */
.suivi-search-page {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.suivi-search-page h1 {
    font-size: 2rem;
}

.suivi-search-form {
    margin: 2rem 0;
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
}

.search-input-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
}

.search-input-group input:focus {
    outline: none;
    border-color: #4F46E5;
}

.suivi-help {
    margin-top: 1.5rem;
    color: #6B7280;
}

/* ==========================================================================
   FAQ STYLES
   ========================================================================== */

.faq-accordion .faq-item {
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #F9FAFB;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.faq-question:hover {
    background: #EEF2FF;
}

.faq-question[aria-expanded="true"] {
    background: #EEF2FF;
    border-radius: 8px 8px 0 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #4F46E5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    padding: 0 1.5rem;
}

.faq-answer p:first-child {
    padding-top: 1.5rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    padding-bottom: 1.5rem;
}

/* ==========================================================================
   HERO CAROUSEL - 3 IMAGES DYNAMIQUES
   ========================================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.25);
    background: white;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.carousel-slide.prev {
    opacity: 0;
    transform: translateX(-30px);
}

/* Slide content */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.slide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Visual document */
.slide-visual {
    width: 100%;
    max-width: 280px;
}

.visual-doc {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.visual-doc.greffe {
    background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%);
}

.visual-doc.official {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.doc-header-bar {
    height: 4px;
    background: #4F46E5;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.visual-doc.greffe .doc-header-bar {
    background: #D97706;
}

.visual-doc.official .doc-header-bar {
    background: #16A34A;
}

.doc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
    text-align: center;
}

.doc-subtitle {
    font-size: 0.875rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 1rem;
}

.doc-form {
    margin: 1rem 0;
}

.doc-form .form-line {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.doc-form .form-line.short {
    width: 65%;
}

.doc-signature-area {
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border: 2px dashed #4F46E5;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4F46E5;
}

/* Caption */
.slide-caption {
    padding: 0.875rem 1.5rem;
    background: #1F2937;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.caption-icon {
    font-size: 1.25rem;
}

.caption-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Indicateurs */
.carousel-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.3);
}

/* Badges flottants */
.floating-badges {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.floating-badges .badge {
    position: absolute;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.badge-qes {
    top: 12%;
    right: 8%;
    background: #4F46E5;
    color: white;
    animation-delay: 0s;
}

.badge-eidas {
    top: 35%;
    right: 5%;
    background: white;
    color: #1F2937;
    animation-delay: 1s;
}

.badge-secure {
    top: 58%;
    right: 8%;
    background: #10B981;
    color: white;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .hero-carousel {
        max-width: 400px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        max-width: 100%;
        border-radius: 16px;
    }

    .floating-badges .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-icon {
        font-size: 2.5rem;
    }

    .visual-doc {
        padding: 1rem;
    }
}

/* ==========================================================================
   PRICE TICKER BUTTON - Hero Section
   ========================================================================== */

.btn-price-ticker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1.5px solid rgba(79, 70, 229, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #4F46E5;
}

.btn-price-ticker:hover {
    background: rgba(79, 70, 229, 0.08);
    border-color: #4F46E5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.ticker-label {
    flex-shrink: 0;
    font-weight: 600;
}

/* Ticker animation wrapper */
.ticker-wrapper {
    position: relative;
    height: 1.4em;
    width: 90px;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    animation: tickerSlide 6s ease-in-out infinite;
}

.ticker-item {
    height: 1.4em;
    line-height: 1.4em;
    font-weight: 700;
    color: #10b981;
    white-space: nowrap;
    text-align: center;
}

/* Animation keyframes - slide up with pause */
@keyframes tickerSlide {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-1.4em);
    }

    50%,
    70% {
        transform: translateY(-2.8em);
    }

    75%,
    100% {
        transform: translateY(0);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-price-ticker {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .ticker-wrapper {
        width: 100px;
    }
}

@media (max-width: 400px) {
    .btn-price-ticker {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .ticker-wrapper {
        width: 85px;
    }
}