/* ==========================================================================
   TWS Design System — app.css
   ========================================================================== */

:root {
    /* Couleurs principales Tourinov */
    --blue-dark: #006ac0;
    --blue-light: #2297f3;
    --blue-gradient: linear-gradient(135deg, #006ac0 0%, #2297f3 100%);

    /* Couleurs de texte */
    --text-primary: #0a0a0a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #cccccc;

    /* Backgrounds */
    --bg-light: #ffffff;
    --bg-subtle: #f0f4fa;
    --bg-blue-tint: #e8f0fc;
    --bg-dark: #0f1729;

    /* Utilitaires */
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Navbar */
    --navbar-height: 80px;

    /* Override Bootstrap */
    --bs-primary: #006ac0;
    --bs-light: #f7f8fa;
    --bs-info: #2297f3;
    --bs-body-color: #0a0a0a;
    --bs-body-bg: #ffffff;
}

/* ==========================================================================
   Base
   ========================================================================== */

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-subtle);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

main {
    flex: 1;
    padding-top: var(--navbar-height);
}

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

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--blue-dark);
}

/* ==========================================================================
   Typographie — Grille selon charte graphique
   ========================================================================== */

.tws-display {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1, .tws-h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2, .tws-h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

h3, .tws-h3 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
}

.tws-small {
    font-size: 0.875rem;
}

.tws-caption {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .tws-display {
        font-size: 3rem;
    }

    h1, .tws-h1 {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.tws-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.tws-section-subtle {
    padding: 4rem 0;
    background-color: var(--bg-subtle);
}

.tws-section-blue {
    padding: 4rem 0;
    background-color: var(--bg-blue-tint);
}

.tws-section-dark {
    padding: 4rem 0;
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.tws-section-gradient {
    padding: 4rem 0;
    background: var(--blue-gradient);
    color: var(--text-on-dark);
}

@media (min-width: 768px) {
    .tws-section,
    .tws-section-subtle,
    .tws-section-blue,
    .tws-section-dark,
    .tws-section-gradient {
        padding: 5rem 0;
    }
}

.tws-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.tws-section-header h2 {
    font-size: 2.25rem;
}

.tws-section-header p {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-size: 1.1875rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.tws-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s, background-color 0.3s;
}

.tws-navbar--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tws-navbar--menu-open {
    background: var(--bg-light);
}

.tws-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tws-navbar__logo img {
    height: 44px;
    width: auto;
}

.tws-navbar__logo {
    display: flex;
    align-items: center;
}

.tws-navbar__links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.25rem;
    align-items: center;
}

.tws-navbar__links a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
    text-decoration: none;
}

.tws-navbar__links a:hover,
.tws-navbar__links a[aria-current="page"] {
    color: var(--blue-dark);
}

.tws-navbar__links .tws-navbar__cta[aria-current="page"],
.tws-navbar__links .tws-navbar__cta:hover {
    color: var(--text-on-dark);
}

.tws-navbar__links .tws-navbar__cta {
    color: var(--text-on-dark);
    background: var(--blue-dark);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.tws-navbar__links .tws-navbar__cta:hover {
    background: var(--blue-light);
    color: var(--text-on-dark);
    box-shadow: 0 4px 12px rgba(34, 151, 243, 0.3);
}

.tws-navbar__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Mobile menu open */
.tws-navbar__mobile {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    z-index: 999;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.tws-navbar__mobile--open {
    display: flex;
}

.tws-navbar__mobile a {
    display: block;
    padding: 1rem 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.tws-navbar__mobile a:hover,
.tws-navbar__mobile a[aria-current="page"] {
    color: var(--blue-light);
}

.tws-navbar__mobile .tws-btn-primary {
    margin-top: 1.5rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .tws-navbar {
        background: var(--bg-light);
        backdrop-filter: none;
    }

    .tws-navbar--scrolled {
        background: var(--bg-light);
    }
}

@media (min-width: 768px) {
    .tws-navbar__links {
        display: flex;
    }

    .tws-navbar__burger {
        display: none;
    }

    .tws-navbar__mobile {
        display: none !important;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.tws-hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: linear-gradient(160deg, #0a1628 0%, #0d2847 50%, #134177 100%);
    overflow: hidden;
}

.tws-hero > .container {
    position: relative;
    z-index: 1;
}

.tws-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 151, 243, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.tws-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 106, 192, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tws-hero__pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .tws-hero {
        padding: 6rem 0 5rem;
    }
}

/* ==========================================================================
   Hero Mockup — Moteur de recherche de vols
   ========================================================================== */

.tws-hero-mockup {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    box-shadow:
        0 4px 24px rgba(0, 106, 192, 0.08),
        0 12px 48px rgba(0, 0, 0, 0.06);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tws-hero-mockup__toolbar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
}

.tws-hero-mockup__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tws-hero-mockup__tab--active {
    color: var(--blue-dark);
    border-bottom-color: var(--blue-dark);
}

.tws-hero-mockup__fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.tws-hero-mockup__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tws-hero-mockup__field {
    flex: 1;
    min-width: 0;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.875rem;
}

.tws-hero-mockup__field--icon {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.tws-hero-mockup__field--icon > .tws-icon {
    color: var(--blue-dark);
    flex-shrink: 0;
}

.tws-hero-mockup__label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.0625rem;
}

.tws-hero-mockup__value {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tws-hero-mockup__swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--text-muted);
}

.tws-hero-mockup__action {
    padding: 0 1.5rem 1.25rem;
}

.tws-hero-mockup__searchbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--blue-gradient);
    color: var(--text-on-dark);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    width: 100%;
}

.tws-hero-mockup__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--blue-dark);
    background: var(--bg-blue-tint);
    padding: 0.625rem 0.75rem;
}

/* ==========================================================================
   Boutons
   ========================================================================== */

.tws-btn-primary {
    display: inline-block;
    background: var(--blue-gradient);
    color: var(--text-on-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

.tws-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 151, 243, 0.3);
    color: var(--text-on-dark);
    text-decoration: none;
}

.tws-btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--blue-light);
    border: 2px solid var(--blue-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: calc(0.875rem - 2px) calc(1.75rem - 2px);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    line-height: 1.4;
}

.tws-btn-secondary:hover {
    background: rgba(34, 151, 243, 0.1);
    color: var(--blue-light);
    text-decoration: none;
}

.tws-btn-secondary--light {
    color: var(--text-on-dark);
    border-color: var(--text-on-dark);
}

.tws-btn-secondary--light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-on-dark);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.tws-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.tws-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 106, 192, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 106, 192, 0.2);
    color: inherit;
    text-decoration: none;
}

.tws-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
    margin-bottom: 1.25rem;
}

.tws-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    color: var(--text-on-dark);
    box-shadow: 0 4px 16px rgba(0, 106, 192, 0.25);
}

.tws-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin: 0;
    line-height: 1.3;
}

.tws-card__subtitle {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue-dark);
    margin-bottom: 0.25rem;
}

.tws-card__text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    flex: 1;
}

.tws-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 1.5rem;
    color: var(--blue-dark);
    transition: gap 0.2s;
    align-self: flex-end;
}

.tws-card:hover .tws-card__link {
    gap: 0.625rem;
    color: var(--blue-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.tws-footer {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 3.5rem 0 1.5rem;
}

.tws-footer__logo img {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
}

.tws-footer__description {
    color: var(--text-on-dark-secondary);
    font-size: 0.9375rem;
    max-width: 300px;
}

.tws-footer__title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.tws-footer__links li {
    margin-bottom: 0.5rem;
}

.tws-footer__links a {
    color: var(--text-on-dark-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s;
}

.tws-footer__links a:hover {
    color: var(--text-on-dark);
}

.tws-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.tws-footer__bottom p {
    color: var(--text-on-dark-secondary);
    font-size: 0.8125rem;
    margin: 0;
}

@media (min-width: 768px) {
    .tws-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.tws-cta {
    text-align: center;
    padding: 4rem 0;
}

.tws-cta--gradient {
    background: linear-gradient(135deg, #004a8c 0%, #006ac0 40%, #2297f3 100%);
    color: var(--text-on-dark);
}

.tws-cta__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tws-cta__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.tws-testimonial {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tws-testimonial__quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.tws-testimonial__author {
    font-weight: 600;
    font-size: 0.9375rem;
}

.tws-testimonial__role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Client Logos
   ========================================================================== */

.tws-logos__title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.tws-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.tws-logos img {
    max-width: 120px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: filter 0.3s, opacity 0.3s;
}

@media (min-width: 768px) {
    .tws-logos img {
        max-width: 150px;
        height: 48px;
    }
}

.tws-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.tws-logos img[data-invert] {
    filter: grayscale(100%) invert(1);
}

.tws-logos img[data-invert]:hover {
    filter: invert(1);
    opacity: 1;
}

/* ==========================================================================
   Stats / Counters
   ========================================================================== */

.tws-stat {
    text-align: center;
}

.tws-stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-light);
    line-height: 1.2;
}

.tws-stat__label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Stats & testimonials on dark backgrounds */
.tws-section-dark .tws-stat__label {
    color: var(--text-on-dark-secondary);
}

.tws-section-dark .tws-testimonial {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.tws-section-dark .tws-testimonial__quote {
    color: var(--text-on-dark-secondary);
}

.tws-section-dark .tws-testimonial__author {
    color: var(--text-on-dark);
}

.tws-section-dark .tws-testimonial__role {
    color: var(--text-on-dark-secondary);
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.tws-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: none;
}

.tws-cookie-banner--visible {
    display: block;
}

.tws-cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tws-cookie-banner__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-on-dark-secondary);
}

.tws-cookie-banner__text a {
    color: var(--text-on-dark);
    text-decoration: underline;
}

.tws-cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tws-cookie-banner__accept {
    background: var(--blue-gradient);
    color: var(--text-on-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
}

.tws-cookie-banner__refuse {
    background: transparent;
    color: var(--text-on-dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .tws-cookie-banner__inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Scroll Reveal animations
   ========================================================================== */

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll-reveal].tws-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-scroll-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Icons
   ========================================================================== */

.tws-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ==========================================================================
   Skip to content (accessibility)
   ========================================================================== */

.tws-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1200;
    background: var(--blue-dark);
    color: var(--text-on-dark);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.tws-skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Placeholder pages (Epic 1 — temporary)
   ========================================================================== */

.tws-page-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
}

.tws-page-placeholder h1 {
    margin-bottom: 1rem;
}

.tws-page-placeholder p {
    color: var(--text-secondary);
    max-width: 480px;
}

/* ==========================================================================
   Solutions — Détail par solution
   ========================================================================== */

.tws-solution__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-dark);
    background: var(--bg-blue-tint);
    padding: 0.3125rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.tws-solution__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.tws-solution__desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tws-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.tws-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.tws-feature-list li .tws-icon {
    color: var(--success);
    flex-shrink: 0;
}

/* ==========================================================================
   Mockup Window — Illustration navigateur
   ========================================================================== */

.tws-mockup-window {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    background: var(--bg-light);
}

.tws-mockup-window__bar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.tws-mockup-window__bar > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tws-mockup-window__bar > span:nth-child(1) { background: #ef4444; }
.tws-mockup-window__bar > span:nth-child(2) { background: #f59e0b; }
.tws-mockup-window__bar > span:nth-child(3) { background: #10b981; }

.tws-mockup-window__url {
    margin-left: 0.75rem;
    font-size: 0.6875rem;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.75rem;
    flex: 1;
    text-align: center;
}

.tws-mockup-window__body {
    padding: 1.25rem;
}

.tws-mockup-window__nav {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.tws-mockup-window__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tws-mockup-window__tab--active {
    color: var(--blue-dark);
    border-bottom-color: var(--blue-dark);
}

.tws-mockup-window__field {
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.625rem;
}

.tws-mockup-window__label {
    display: block;
    font-size: 0.5625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.0625rem;
}

.tws-mockup-window__value {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tws-mockup-window__table {
    display: flex;
    flex-direction: column;
}

.tws-mockup-window__table-row {
    display: grid;
    grid-template-columns: 3.5rem 1fr 1fr auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tws-mockup-window__table-row:last-child {
    border-bottom: none;
}

.tws-mockup-window__table-row--header {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.tws-mockup-window__badge--green {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.tws-mockup-window__badge--blue {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--blue-dark);
    background: var(--bg-blue-tint);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Provider Row — Mockup intégrations
   ========================================================================== */

.tws-provider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.75rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
}

.tws-provider-row__info {
    display: flex;
    flex-direction: column;
}

.tws-provider-row__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tws-provider-row__type {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.tws-provider-row__status {
    font-size: 0.6875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.tws-provider-row__status--ok {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.tws-provider-row__status--pending {
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.tws-text-gradient {
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
