/* ==========================
   PALETTE THAELYS (BLEU → VERT)
   ========================== */
:root {
    --brand-blue:   #2563eb;
    --brand-teal:   #06b6d4;
    --brand-green:  #22c55e;

    --brand-main:   #2563eb;  /* bleu principal */
    --brand-soft:   #e0f2fe;  /* fond léger */
    --brand-border: #bfdbfe;

    --text-main:    #0f172a;
    --text-soft:    #6b7280;
    --bg-header:    #ffffff;
    --bg-page:      #f9fafb;
}

/* ==========================
   RESET
   ========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body.tp-body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top,
        rgba(37, 99, 235, 0.08),
        #f9fafb 45%,
        #edf2f7 100%);
}

/* Liens par défaut */
a {
    color: inherit;
}

/* ==========================
   NAVBAR
   ========================== */

.tp-header-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-header);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

/* Barre principale */
.tp-header {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;  /* centre verticalement tous les éléments */
    gap: 24px;
    background: var(--bg-header);
    min-height: 64px;
}


/* LOGO */
.tp-logo {
    display: flex;
    align-items: center;
    height: 44px;          /* petite case pour le logo */
}

.tp-logo img {
    display: block;
    height: 130px;          /* taille réelle du logo */
    width: auto;
}

/* NAV (liens + boutons) */
.tp-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

/* Liens centrés */
.tp-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0 auto;
}

/* Liens haut de gamme */
.tp-nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-main);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.15s ease-out;
}

/* Soulignement dégradé bleu → vert */
.tp-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
    transition: width 0.18s ease-out;
}

/* Flèches ▼ pour fonctionnalités / ressources */
.tp-nav-link--has-caret {
    padding-right: 16px;
}

.tp-nav-link--has-caret::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-46%);
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.15s ease-out, color 0.15s ease-out;
}

/* Hover */
.tp-nav-link:hover {
    color: var(--brand-main);
}

.tp-nav-link:hover::before {
    width: 100%;
}

.tp-nav-link--has-caret:hover::after {
    color: var(--brand-main);
}

/* BOUTONS à droite */
.tp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-btn {
    font-size: 14px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition:
        background-color 0.15s ease-out,
        color 0.15s ease-out,
        box-shadow 0.15s ease-out,
        transform 0.12s ease-out;
}

/* CTA nav : outline blanc, texte dégradé léger */
.tp-btn-primary {
    background: #ffffff;
    color: var(--brand-main);
    border-color: var(--brand-border);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.tp-btn-primary:hover {
    background: var(--brand-soft);
    transform: translateY(-1px);
}

/* Se connecter : bleu -> vert plein */
.tp-btn-outline {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.tp-btn-outline:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

/* ==========================
   BURGER / MOBILE
   ========================== */

.tp-nav-toggle {
    display: none;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
    padding: 0;
}

.tp-nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.tp-nav-toggle-bar + .tp-nav-toggle-bar {
    margin-top: 4px;
}

/* Animation en croix */
.tp-nav-toggle.is-open .tp-nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.tp-nav-toggle.is-open .tp-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.tp-nav-toggle.is-open .tp-nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================
   HERO CENTRÉ
   ========================== */

.tp-main {
    min-height: 100vh;
}

.tp-hero {
    max-width: 900px;
    margin: 70px auto 10px;
    padding: 0 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tp-hero-text {
    max-width: 700px;
}

.tp-hero-text--center {
    margin: 0 auto;
}

.tp-hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
    margin: 0 0 14px;
}

/* Titre avec gradient sur le span (comme "tes rendez-vous") */
.tp-hero-title {
    margin: 0 0 16px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.tp-hero-title span {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tp-hero-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 620px;
    margin-inline: auto;
}

/* Boutons hero */
.tp-hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Version hero plus large */
.tp-hero-actions .tp-btn {
    padding: 9px 24px;
    font-size: 14px;
}

/* Hero CTA principal : dégradé bleu → vert */
.tp-hero-actions .tp-btn-primary {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.45);
}

.tp-hero-actions .tp-btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

/* Hero CTA secondaire : blanc + texte dégradé léger */
.tp-hero-actions .tp-btn-outline {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: none;
    color: var(--brand-blue);
}

.tp-hero-actions .tp-btn-outline:hover {
    background: var(--brand-soft);
}

.tp-hero-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-soft);
}

/* ==========================
   SECTION 2 : GROS ÉCRAN
   ========================== */

.tp-hero-screen-section {
    max-width: 1400px;          /* écran beaucoup plus large */
    margin: 10px auto 40px;
    padding: 0;                 /* pas de marge intérieure pour profiter de la largeur */
}

.tp-hero-visual {
    display: flex;
    justify-content: center;
}

.tp-hero-screen {
    position: relative;
    width: 100%;
    max-width: 1300px;          /* très grand sur desktop */
    padding-bottom: 48px;       /* espace pour les badges sous l’image */
}

/* halo derrière */
.tp-hero-glow {
    position: absolute;
    inset: 6% -6%;
    background: radial-gradient(circle at center,
        rgba(37, 99, 235, 0.30),
        rgba(37, 99, 235, 0) 60%);
    filter: blur(22px);
    opacity: 0.85;
    z-index: 0;
}

/* cadre de l'écran */
.tp-hero-screen-inner {
    position: relative;
    border-radius: 0;           /* ✅ aucune bordure arrondie */
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
    background: #020617;
    z-index: 1;
}

.tp-hero-screen-inner img {
    display: block;
    width: 100%;
    height: auto;               /* respect des proportions */
}


/* ==========================
   3 BLOCS SOUS L’ÉCRAN
   ========================== */

.tp-hero-metrics {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tp-hero-metric {
    flex: 1 1 0;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.tp-hero-metric .metric-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.tp-hero-metric .metric-sub {
    font-size: 12px;
    color: var(--text-soft);
}

/* ==========================
   BADGES FLOTTANTS ULTRA STYLÉS
   ========================== */

/* Conteneur des badges : centré sous l’écran */
.tp-hero-badges-floating {
    position: absolute;
    left: 50%;
    bottom: -24px;                  /* chevauche un peu l’ombre de l’écran */
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    pointer-events: none;           /* ne bloque pas les clics sur l’image */
}

/* Style général des badges */
.tp-hero-badge-floating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: radial-gradient(circle at top left,
        rgba(15,23,42,0.96),
        rgba(15,23,42,0.90));
    border: 1px solid rgba(148,163,184,0.7);
    color: #e5e7eb;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 0 16px 40px rgba(15,23,42,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;           /* si un jour tu veux les rendre cliquables */
}

/* Titre du badge */
.badge-pill-title {
    letter-spacing: 0.02em;
}

/* Icône à droite (emoji) */
.badge-pill-icon {
    font-size: 14px;
}

/* On neutralise les anciennes positions */
.badge-top-left,
.badge-top-right,
.badge-bottom-left {
    position: static;
}

/* Animation légère de flottement */
.tp-hero-badge-floating {
    animation: badgeFloat 5s ease-in-out infinite;
}

.tp-hero-badge-floating:nth-child(2) {
    animation-delay: 0.8s;
}

.tp-hero-badge-floating:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes badgeFloat {
    0% {
        transform: translateY(0);
        opacity: 0.96;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.96;
    }
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 900px) {
    .tp-nav-toggle {
        display: inline-flex;
    }

    .tp-header {
        padding: 4px 16px;
        min-height: 60px;
    }

    .tp-nav {
        position: absolute;
        top: 64px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 14px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        background: #ffffff;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        min-width: 220px;
        display: none;
        flex: initial;
    }

    .tp-nav.is-open {
        display: flex;
    }

    .tp-nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0;
    }

    .tp-nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .tp-btn {
        width: 100%;
        justify-content: center;
    }

    .tp-hero {
        margin-top: 50px;
        padding-bottom: 24px;
    }

    .tp-hero-title {
        font-size: 30px;
    }

    .tp-hero-screen {
        max-width: 100%;
    }

    .tp-hero-metrics {
        margin-bottom: 40px;
    }

    .tp-hero-badge-floating {
        padding: 6px 10px;
        font-size: 10px;
        box-shadow: 0 10px 26px rgba(15,23,42,0.55);
    }
}

@media (max-width: 600px) {
    .tp-hero-title {
        font-size: 26px;
    }

    .tp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-hero-actions .tp-btn {
        width: 100%;
    }

    .tp-hero-metrics {
        flex-direction: column;
        gap: 10px;
    }

    .tp-hero-badges-floating {
        flex-direction: column;
        bottom: -40px;
        gap: 8px;
    }

    .tp-hero-screen {
        padding-bottom: 72px;
    }
}
/* ==========================
   SECTION : RÉFÉRENCES CLIENTS
   ========================== */

.tp-trust {
    max-width: 1180px;
    margin: 60px auto 100px;
    padding: 0 24px;
    text-align: center;
}

.tp-trust-title {
    margin: 0 0 40px;
    font-size: 38px;              /* ▲ titre plus grand */
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #0f172a;
}

.tp-trust-title span {
    font-weight: 700;
}

/* Ligne de logos */
.tp-trust-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;                    /* plus d’espace entre logos */
    flex-wrap: wrap;
}

/* Chaque logo */
.tp-trust-logo {
    min-width: 200px;
    min-height: 90px;             /* gros bloc pour bien respirer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-trust-logo img {
    display: block;
    max-height: 80px;             /* ▲ logos nettement plus grands */
    width: auto;
    filter: grayscale(1);
    opacity: 0.9;
    transition: all 0.18s ease-out;
}

.tp-trust-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 600px) {
    .tp-trust {
        margin-bottom: 80px;
    }

    .tp-trust-title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .tp-trust-logos-row {
        gap: 32px;
    }

    .tp-trust-logo {
        min-width: 160px;
        min-height: 80px;
    }

    .tp-trust-logo img {
        max-height: 64px;         /* encore gros sur mobile */
    }
}

