/**
 * QES Tunnel - Styles du tunnel de signature
 * 
 * @package QES_Signature_Simple
 */

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    --tunnel-primary: #6C5CE7;
    --tunnel-primary-dark: #5849c2;
    --tunnel-secondary: #00CEC9;
    --tunnel-success: #00B894;
    --tunnel-warning: #FDCB6E;
    --tunnel-error: #E17055;
    --tunnel-info: #74B9FF;

    --tunnel-bg: #f8fafc;
    --tunnel-bg-card: #ffffff;
    --tunnel-border: #e2e8f0;
    --tunnel-text: #1a202c;
    --tunnel-text-muted: #718096;

    --tunnel-radius: 12px;
    --tunnel-radius-lg: 16px;
    --tunnel-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tunnel-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   BASE LAYOUT
   ========================================================================== */

.tunnel-page-body {
    background: var(--tunnel-bg);
    min-height: 100vh;
}

.tunnel-page {
    padding-bottom: 60px;
}

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

.tunnel-header-bar {
    background: white;
    border-bottom: 1px solid var(--tunnel-border);
    padding: 15px 0;
}

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

.tunnel-logo img {
    max-height: 40px;
    width: auto;
}

.tunnel-logo .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tunnel-primary);
}

.tunnel-secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--tunnel-success);
}

/* ==========================================================================
   STEP INDICATOR
   ========================================================================== */

.tunnel-progress-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--tunnel-border);
}

.step-indicator {
    max-width: 800px;
    margin: 0 auto;
}

.steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: var(--tunnel-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

.step-item.completed .step-circle {
    background: var(--tunnel-success);
    color: white;
}

.step-check {
    font-weight: bold;
}

.step-label {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
    text-align: center;
    white-space: nowrap;
}

.step-item.active .step-label {
    color: var(--tunnel-primary);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: var(--tunnel-success);
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 10px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.step-line.completed {
    background: var(--tunnel-success);
}

@media (max-width: 768px) {
    .step-label {
        display: none;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-line {
        width: 30px;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   TUNNEL CONTENT
   ========================================================================== */

.tunnel-content {
    padding: 40px 0;
}

.tunnel-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.tunnel-step {
    background: white;
    border-radius: var(--tunnel-radius-lg);
    box-shadow: var(--tunnel-shadow);
    padding: 40px;
}

@media (max-width: 768px) {
    .tunnel-step {
        padding: 25px;
    }
}

.step-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--tunnel-text);
    margin-bottom: 10px;
}

.step-description {
    color: var(--tunnel-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   UPLOAD STEP
   ========================================================================== */

.upload-area {
    max-width: 600px;
    margin: 0 auto 30px;
}

.dropzone {
    border: 2px dashed var(--tunnel-border);
    border-radius: var(--tunnel-radius);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--tunnel-primary);
    background: rgba(108, 92, 231, 0.05);
}

.dropzone-icon {
    color: var(--tunnel-primary);
    margin-bottom: 20px;
}

.dropzone-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.dropzone-or {
    color: var(--tunnel-text-muted);
    margin-bottom: 15px;
}

/* Uploaded file */
.uploaded-file {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid var(--tunnel-success);
    border-radius: var(--tunnel-radius);
}

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

.file-info {
    flex: 1;
}

.file-name {
    display: block;
    font-weight: 600;
}

.file-size {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
}

.file-remove {
    background: none;
    border: none;
    color: var(--tunnel-error);
    cursor: pointer;
    padding: 5px;
}

/* Progress */
.upload-progress {
    padding: 30px;
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--tunnel-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
}

/* ==========================================================================
   FORM STEP
   ========================================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group-full {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--tunnel-text);
}

.form-group .required {
    color: var(--tunnel-error);
}

.form-group .optional {
    color: var(--tunnel-text-muted);
    font-weight: 400;
    font-style: italic;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--tunnel-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--tunnel-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group input.invalid {
    border-color: var(--tunnel-error);
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
    margin-top: 5px;
}

.field-error {
    display: block;
    font-size: 0.75rem;
    color: var(--tunnel-error);
    margin-top: 5px;
}

/* File recap */
.file-recap {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 30px;
}

.file-recap-icon {
    font-size: 1.5rem;
}

.file-recap-info {
    flex: 1;
}

.file-recap-label {
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
    display: block;
}

.file-recap-name {
    font-weight: 600;
}

.file-recap-edit {
    color: var(--tunnel-primary);
    font-size: 0.875rem;
}

/* RGPD notice */
.rgpd-notice {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--tunnel-border);
}

.rgpd-notice small {
    color: var(--tunnel-text-muted);
}

/* ==========================================================================
   PAYMENT STEP
   ========================================================================== */

.payment-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

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

    .payment-summary-col {
        order: -1;
    }
}

.client-recap {
    background: #f7fafc;
    padding: 20px;
    border-radius: var(--tunnel-radius);
    margin-bottom: 25px;
}

.client-recap h3 {
    margin: 0 0 15px;
    font-size: 1rem;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.875rem;
}

.recap-row span:first-child {
    color: var(--tunnel-text-muted);
}

.recap-edit {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--tunnel-primary);
    margin-top: 10px;
}

/* Card Element */
.card-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.card-element {
    padding: 15px;
    border: 1px solid var(--tunnel-border);
    border-radius: 8px;
    background: white;
}

.card-errors {
    color: var(--tunnel-error);
    font-size: 0.875rem;
    margin-top: 10px;
    min-height: 20px;
}

.payment-security {
    margin-top: 15px;
    text-align: center;
}

.security-badge {
    font-size: 0.875rem;
    color: var(--tunnel-success);
}

/* Terms */
.terms-section {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.label-text {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
}

.label-text a {
    color: var(--tunnel-primary);
}

/* Order Summary */
.order-summary {
    background: #f7fafc;
    padding: 25px;
    border-radius: var(--tunnel-radius);
    position: sticky;
    top: 20px;
}

.order-summary h3 {
    margin: 0 0 20px;
    font-size: 1.1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--tunnel-border);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: 700;
    font-size: 1.25rem;
}

.total-amount {
    color: var(--tunnel-primary);
}

.summary-includes {
    margin-top: 20px;
}

.summary-includes h4 {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
    margin-bottom: 10px;
}

.summary-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-includes li {
    padding: 5px 0;
    font-size: 0.875rem;
    color: var(--tunnel-success);
}

.summary-guarantees {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--tunnel-border);
}

.guarantee {
    text-align: center;
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
}

.guarantee-icon {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   TRACKING STEP
   ========================================================================== */

.tracking-loading,
.download-loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner-large {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--tunnel-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Status badge */
.status-main {
    text-align: center;
    margin-bottom: 40px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-badge.status-info {
    background: rgba(116, 185, 255, 0.2);
    color: #0984e3;
}

.status-badge.status-success {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.status-badge.status-error {
    background: rgba(225, 112, 85, 0.2);
    color: #e17055;
}

.status-badge.status-neutral {
    background: #e2e8f0;
    color: var(--tunnel-text-muted);
}

/* Timeline */
.tracking-timeline {
    max-width: 400px;
    margin: 0 auto 40px;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 25px;
    border-left: 2px solid #e2e8f0;
}

.timeline-item:last-child {
    border-left: none;
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid white;
}

.timeline-item.completed .timeline-marker {
    background: var(--tunnel-success);
}

.timeline-item.active .timeline-marker {
    background: var(--tunnel-primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2);
}

.timeline-label {
    display: block;
    font-weight: 500;
}

.timeline-item.pending .timeline-label {
    color: var(--tunnel-text-muted);
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
}

/* Signer details */
.signer-details {
    max-width: 500px;
    margin: 0 auto 30px;
}

.signer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.signer-name {
    display: block;
    font-weight: 600;
}

.signer-email {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
}

.signer-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-info {
    background: rgba(116, 185, 255, 0.2);
    color: #0984e3;
}

.badge-success {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.badge-warning {
    background: rgba(253, 203, 110, 0.3);
    color: #d68910;
}

.badge-error {
    background: rgba(225, 112, 85, 0.2);
    color: #e17055;
}

/* Action message */
.action-message {
    background: rgba(116, 185, 255, 0.1);
    border-left: 4px solid var(--tunnel-info);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
}

/* Tracking link */
.tracking-link-section {
    background: #f7fafc;
    padding: 25px;
    border-radius: var(--tunnel-radius);
    margin-top: 40px;
}

.tracking-link-section h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.copy-link-group {
    display: flex;
    gap: 10px;
}

.copy-link-group input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--tunnel-border);
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
}

/* ==========================================================================
   DOWNLOAD STEP
   ========================================================================== */

.success-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

@media (max-width: 600px) {
    .download-cards {
        grid-template-columns: 1fr;
    }
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: #f7fafc;
    border-radius: var(--tunnel-radius);
}

.download-card.download-primary {
    background: rgba(108, 92, 231, 0.1);
    border: 2px solid var(--tunnel-primary);
}

.download-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.download-card-info h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.download-card-info p {
    font-size: 0.875rem;
    color: var(--tunnel-text-muted);
    margin-bottom: 20px;
}

/* Email notice */
.email-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 8px;
    color: var(--tunnel-success);
    margin-bottom: 40px;
}

.email-icon {
    font-size: 1.5rem;
}

/* Final actions */
.final-actions {
    text-align: center;
    margin-bottom: 40px;
}

.final-actions .btn {
    margin: 0 10px;
}

/* Feedback */
.feedback-section {
    text-align: center;
    padding: 30px;
    background: #f7fafc;
    border-radius: var(--tunnel-radius);
}

.feedback-section p {
    margin-bottom: 10px;
    color: var(--tunnel-text-muted);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--tunnel-primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--tunnel-primary-dark);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline {
    background: white;
    border: 2px solid var(--tunnel-primary);
    color: var(--tunnel-primary);
}

.btn-outline:hover {
    background: var(--tunnel-primary);
    color: white;
}

.btn-text {
    background: none;
    color: var(--tunnel-text-muted);
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--tunnel-primary);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

.btn-arrow {
    font-size: 1.2rem;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(225, 112, 85, 0.1);
    border: 1px solid var(--tunnel-error);
    color: var(--tunnel-error);
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid var(--tunnel-success);
    color: var(--tunnel-success);
}

/* ==========================================================================
   INFO BOX
   ========================================================================== */

.info-box {
    background: rgba(116, 185, 255, 0.1);
    border-left: 4px solid var(--tunnel-info);
    padding: 20px 25px;
    border-radius: 0 var(--tunnel-radius) var(--tunnel-radius) 0;
    margin-bottom: 30px;
}

.info-box h3 {
    margin: 0 0 15px;
    font-size: 1rem;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    color: var(--tunnel-text);
}

/* ==========================================================================
   STEP ACTIONS
   ========================================================================== */

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--tunnel-border);
}

@media (max-width: 600px) {
    .step-actions {
        flex-direction: column;
        gap: 15px;
    }

    .step-actions .btn {
        width: 100%;
    }
}

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

.tunnel-footer-bar {
    background: white;
    border-top: 1px solid var(--tunnel-border);
    padding: 20px 0;
    margin-top: auto;
}

.tunnel-footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    gap: 5px;
}

.footer-links a {
    color: var(--tunnel-text-muted);
    font-size: 0.875rem;
}

.footer-links .separator {
    color: var(--tunnel-border);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--tunnel-text-muted);
}

.footer-badges {
    display: flex;
    gap: 10px;
}

.footer-badges .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    background: #f7fafc;
    border-radius: 4px;
    color: var(--tunnel-text-muted);
}

@media (max-width: 768px) {
    .tunnel-footer-bar .container {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   TUNNEL HELP
   ========================================================================== */

.tunnel-help {
    text-align: center;
    padding: 20px 0;
}

.help-section p {
    color: var(--tunnel-text-muted);
    font-size: 0.875rem;
}

.help-section a {
    color: var(--tunnel-primary);
}

/* ==========================================================================
   YOUSIGN IFRAME INTEGRATION
   ========================================================================== */

#yousign-iframe-container {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    position: relative;
    background: #f8f9fa;
    border-radius: var(--tunnel-radius-lg);
    overflow: hidden;
    box-shadow: var(--tunnel-shadow-lg);
}

#yousign-iframe {
    border-radius: var(--tunnel-radius-lg);
}

.yousign-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.yousign-footer {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
}

.yousign-footer .text-muted {
    color: var(--tunnel-text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   SIGNATURE RESULT MESSAGES
   ========================================================================== */

.signature-result {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.signature-result .result-icon {
    font-size: 80px;
    margin-bottom: 25px;
    line-height: 1;
}

.signature-result h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--tunnel-text);
}

.signature-result p {
    color: var(--tunnel-text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.signature-result .btn {
    margin-top: 10px;
}

/* Success */
.signature-success .result-icon {
    color: var(--tunnel-success);
}

/* Declined */
.signature-declined .result-icon {
    color: var(--tunnel-error);
}

/* Error */
.signature-error .result-icon {
    color: var(--tunnel-warning);
}

/* ==========================================================================
   CORRECTIONS VISUELLES - 12/01/2026
   ========================================================================== */

/* 1. Logo trop grand dans le tunnel - le limiter */
.tunnel-header-bar .tunnel-logo img,
.tunnel-logo img,
.tunnel-logo .custom-logo,
.tunnel-header-bar .custom-logo {
    max-height: 45px !important;
    height: 45px !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 50%;
}

/* Logo link - ne pas étirer, aligné à GAUCHE */
.tunnel-logo,
.tunnel-header-bar .tunnel-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: flex-start;
}

/* Wrapper du logo WordPress (peut contenir un lien) */
.tunnel-logo .custom-logo-link,
.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Logo dans le header du site (hors tunnel) */
.site-header .custom-logo {
    max-height: 60px !important;
    width: auto !important;
    border-radius: 50%;
}

/* Récapitulatif - colonnes bien alignées */
.client-recap .recap-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 0.95rem;
    gap: 10px;
}

.client-recap .recap-row span:first-child {
    color: var(--tunnel-text-muted);
    flex-shrink: 0;
    min-width: 80px;
}

.client-recap .recap-row span:last-child {
    font-weight: 500;
    color: var(--tunnel-text);
    text-align: right;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2. Prix € décalé - aligner correctement */
.payment-summary-col .summary-line,
.order-summary .summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--tunnel-border);
    gap: 15px;
}

.payment-summary-col .summary-line span:first-child,
.order-summary .summary-line span:first-child {
    flex: 1;
    line-height: 1.4;
}

.payment-summary-col .summary-line span:last-child,
.order-summary .summary-line span:last-child {
    white-space: nowrap;
    text-align: right;
    min-width: 70px;
    font-weight: 600;
}

.payment-summary-col .summary-total,
.order-summary .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.total-amount {
    font-size: 1.3rem;
    color: var(--tunnel-primary);
    font-weight: 700;
    white-space: nowrap;
}

/* Colonne résumé commande - plus large */
.order-summary {
    min-width: 280px;
}

/* 3. Bouton payer visible - forcer l'affichage */
#btn-pay {
    margin-top: 20px;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--tunnel-primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#btn-pay:hover:not(:disabled) {
    background: var(--tunnel-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

#btn-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 4. Récapitulatif client - meilleur style */
.client-recap {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--tunnel-radius);
    margin-bottom: 25px;
    border: 1px solid var(--tunnel-border);
}

.client-recap h3 {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--tunnel-text);
}

.client-recap .recap-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.client-recap .recap-row span:first-child {
    color: var(--tunnel-text-muted);
}

.client-recap .recap-row span:last-child {
    font-weight: 500;
    color: var(--tunnel-text);
}

.client-recap .recap-edit {
    display: block;
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--tunnel-primary);
    text-decoration: none;
}

.client-recap .recap-edit:hover {
    text-decoration: underline;
}

/* 5. File recap dans step-2 - afficher le nom du fichier */
.file-recap {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f4ff;
    padding: 15px 20px;
    border-radius: var(--tunnel-radius);
    margin: 25px 0;
    border: 1px solid #d0d9f0;
}

.file-recap-icon {
    font-size: 2rem;
}

.file-recap-info {
    flex: 1;
}

.file-recap-label {
    display: block;
    font-size: 0.8rem;
    color: var(--tunnel-text-muted);
    margin-bottom: 3px;
}

.file-recap-name {
    font-weight: 600;
    color: var(--tunnel-text);
    word-break: break-word;
}

.file-recap-edit {
    color: var(--tunnel-primary);
    text-decoration: none;
    font-size: 0.875rem;
}

.file-recap-edit:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PROMO CODE SECTION
   ========================================================================== */

.promo-code-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--tunnel-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.promo-code-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0369a1;
    margin: 0 0 0.75rem;
}

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

.promo-input-group input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: white;
}

.promo-input-group input:focus {
    border-color: #0ea5e9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.promo-input-group input:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.promo-input-group .btn-outline {
    padding: 0.625rem 1rem;
    white-space: nowrap;
    background: white;
    border: 1px solid var(--tunnel-primary);
    color: var(--tunnel-primary);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-input-group .btn-outline:hover:not(:disabled) {
    background: var(--tunnel-primary);
    color: white;
}

.promo-input-group .btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-result {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.promo-result.success {
    background: #dcfce7;
    color: #166534;
}

.promo-result.error {
    background: #fef2f2;
    color: #dc2626;
}

/* Prix barré et réduction */
.price-strikethrough {
    text-decoration: line-through;
    color: #94a3b8 !important;
    font-size: 0.9em;
}

.discount-line {
    color: #16a34a;
}

.discount-value {
    font-weight: 600;
    color: #16a34a;
}

.original-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 4px;
    font-size: 0.8em;
    text-decoration: line-through;
}

/* ==========================================================================
   PROMO BANNER (Page Tarifs)
   ========================================================================== */

.promo-banner {
    background: linear-gradient(90deg, #f97316 0%, #ea580c 50%, #f97316 100%);
    background-size: 200% 100%;
    animation: promo-shimmer 3s ease infinite;
    padding: 0.75rem 0;
}

@keyframes promo-shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    text-align: center;
    flex-wrap: wrap;
}

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

.promo-text {
    font-size: 0.95rem;
}

.promo-content strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .promo-input-group {
        flex-direction: column;
    }

    .promo-input-group .btn-outline {
        width: 100%;
    }

    .promo-content {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* ==========================================================================
   PACKS DE SIGNATURES (Page Tarifs)
   ========================================================================== */

.tarifs-packs {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.tarifs-packs .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tarifs-packs .section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.tarifs-packs .section-header p {
    color: #64748b;
    font-size: 1rem;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pack-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--tunnel-primary);
}

.pack-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--tunnel-primary), var(--tunnel-primary-dark, #1d4ed8));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 14px 0 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pack-header {
    margin-bottom: 1rem;
    padding-right: 80px;
}

.pack-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.pack-description {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.pack-price {
    margin-bottom: 0.75rem;
}

.pack-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
}

.pack-unit {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
}

.pack-savings {
    margin-bottom: 1rem;
}

.savings-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.savings-badge small {
    opacity: 0.8;
}

.pack-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.pack-features li {
    padding: 0.35rem 0;
    color: #475569;
    font-size: 0.9rem;
}

.pack-card .btn-block {
    width: 100%;
    text-align: center;
    display: block;
    padding: 0.75rem 1rem;
}

@media (max-width: 600px) {
    .packs-grid {
        grid-template-columns: 1fr;
    }

    .pack-header {
        padding-right: 0;
        margin-top: 2rem;
    }
}

/* ==========================================================================
   MESSAGE PACK (Page Tarifs - Retour Stripe Checkout)
   ========================================================================== */

.pack-message {
    padding: 1rem 0;
}

.pack-message .container {
    max-width: 800px;
}

.pack-message .message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
}

.pack-message-success .message-content {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.pack-message-info .message-content {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.pack-message .message-icon {
    font-size: 1.5rem;
}

.pack-message .message-text {
    font-weight: 500;
}

/* ==========================================================================
   CARROUSEL PROMOTIONS DYNAMIQUE
   ========================================================================== */

.promo-carousel-section {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.promo-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer-carousel 3s infinite;
}

@keyframes shimmer-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.promo-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    min-height: 100px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

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

.promo-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.promo-icon-large {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: bounce-icon 2s infinite ease-in-out;
}

@keyframes bounce-icon {

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

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

.promo-info {
    flex: 1;
}

.promo-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.btn-promo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Carousel par type */
.carousel-slide[data-type="pack"] .btn-promo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.carousel-slide[data-type="pack"] .btn-promo:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.carousel-slide[data-type="stripe_code"] .btn-promo {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Navigation dots */
.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

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

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots .dot.active {
    background: #10b981;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .promo-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .promo-icon-large {
        font-size: 2rem;
    }

    .promo-title {
        font-size: 1.1rem;
    }

    .promo-description {
        font-size: 0.9rem;
    }

    .btn-promo {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   HERO PROMOTIONNEL CENTRAL - Section Grande et Dynamique
   ========================================================================== */

.promo-hero-section {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 3rem 0 4rem;
    min-height: 550px;
    position: relative;
    overflow: hidden;
}

.promo-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    animation: hero-glow 15s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(5%, 10%);
    }
}

.promo-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* ========== CÔTÉ GAUCHE : VISUELS ANIMÉS ========== */

.promo-visual {
    position: relative;
}

.visual-slider {
    position: relative;
    min-height: 380px;
}

.visual-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: scale(0.9) rotateY(10deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.visual-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1) rotateY(0);
    pointer-events: auto;
}

.visual-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: card-shimmer 4s infinite;
}

@keyframes card-shimmer {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Cartes par type */
.visual-promo {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.visual-qes {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.visual-pack {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.visual-secure {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.visual-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
    color: #1e1b4b;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visual-main-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {

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

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

.visual-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.visual-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.btn-visual-cta {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    color: #1e1b4b;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-visual-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Dots navigation */
.visual-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.visual-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.visual-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.visual-dot.active {
    background: #10b981;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* ========== CÔTÉ DROIT : CONTENU TEXTE ========== */

.promo-content {
    color: #fff;
}

.content-header {
    margin-bottom: 2.5rem;
}

.promo-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.promo-main-title .highlight {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-main-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Features Ticker */
.features-ticker {
    position: relative;
    min-height: 100px;
    margin-bottom: 2.5rem;
}

.ticker-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.ticker-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.ticker-text strong {
    display: block;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.ticker-text p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* CTA Box */
.promo-cta-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.price-display {
    text-align: center;
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.price-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn-start-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 1.25rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-start-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-start-now:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .promo-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .promo-visual {
        order: -1;
    }

    .visual-slider {
        min-height: 340px;
    }

    .visual-main-icon {
        font-size: 4rem;
    }

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

@media (max-width: 640px) {
    .promo-hero-section {
        padding: 2rem 0 3rem;
    }

    .promo-hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .visual-card {
        padding: 1.75rem;
    }

    .visual-main-icon {
        font-size: 3.5rem;
    }

    .visual-title {
        font-size: 1.5rem;
    }

    .visual-subtitle {
        font-size: 1rem;
    }

    .promo-main-title {
        font-size: 2rem;
    }

    .promo-main-subtitle {
        font-size: 1rem;
    }

    .promo-cta-box {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-start-now {
        width: 100%;
    }
}

/* ==========================================================================
   GOOGLE PLACES AUTOCOMPLETE
   ========================================================================== */

.pac-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--tunnel-border);
    font-family: inherit;
    margin-top: 5px;
    z-index: 10000;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    border-top: 1px solid #f0f0f0;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f7fafc;
}

.pac-item-selected,
.pac-item-selected:hover {
    background-color: var(--tunnel-primary);
    color: white;
}

.pac-item-selected .pac-item-query,
.pac-item-selected .pac-matched {
    color: white;
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-weight: 600;
    color: var(--tunnel-text);
}

.pac-matched {
    color: var(--tunnel-primary);
    font-weight: 600;
}

/* Input avec autocomplétion */
#adresse {
    position: relative;
}

#adresse:focus {
    border-color: var(--tunnel-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}