/* ============================================================
   Antesy Signature — landing + editor styles
   ============================================================ */

/* ----- Tableau multi-campagnes (éditeur) ----- */
.sig-camp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sig-camp-table thead {
    background: #f1f5f9;
}

.sig-camp-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    color: #475569;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sig-camp-table td {
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    vertical-align: middle;
}

.sig-camp-row-active {
    background: linear-gradient(90deg, rgba(0, 150, 136, 0.10), rgba(0, 150, 136, 0.04));
    border-left: 3px solid #009688;
}

.sig-camp-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sig-camp-pill.active { background: #d1fae5; color: #065f46; }
.sig-camp-pill.forced { background: #fef3c7; color: #92400e; }
.sig-camp-pill.expired { background: #f1f5f9; color: #64748b; }
.sig-camp-pill.scheduled { background: #dbeafe; color: #1e40af; }
.sig-camp-pill.idle { background: #f1f5f9; color: #94a3b8; }

.sig-camp-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 9px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 4px;
    transition: all 0.15s ease;
}

.sig-camp-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.sig-camp-btn-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}


/* Hero : on utilise le pattern standard Antesy (hero-over-babylon + TextOverBabylon).
   sig-h1-accent reste utile pour le span gradient dans le H1. */
.sig-h1-accent {
    background: linear-gradient(120deg, #009688 0%, #00b8a9 50%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.sig-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
    background: rgba(0, 150, 136, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.sig-lead {
    font-size: 1.15rem;
    color: #344054;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 1.8rem;
}

.sig-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.sig-btn-primary {
    background: linear-gradient(135deg, #009688, #00b8a9);
    color: #fff;
    border: none;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px -10px rgba(0, 150, 136, 0.6);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    display: inline-block;
}

.sig-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px -12px rgba(0, 150, 136, 0.75);
}

.sig-btn-ghost {
    background: transparent;
    color: #0f766e;
    border: 2px solid #009688;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s ease;
}

.sig-btn-ghost:hover {
    background: rgba(0, 150, 136, 0.08);
}

/* ----- Pricing / value props ----- */

.sig-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

/* Variante pour la section "personnalisation contextuelle" :
   cards plus larges car contiennent un mock email + signature + bannière */
.sig-context-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (min-width: 1080px) {
    .sig-context-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----- Fausse bannière marketing dans les mocks email ----- */
.sig-mock-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(90deg, #0f766e 0%, #009688 100%);
    box-shadow: 0 6px 18px -10px rgba(0, 150, 136, 0.55);
}

.sig-mock-banner.partner {
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    box-shadow: 0 6px 18px -10px rgba(59, 130, 246, 0.55);
}

.sig-mock-banner.internal {
    background: linear-gradient(90deg, #475569 0%, #64748b 100%);
    box-shadow: 0 6px 18px -10px rgba(71, 85, 105, 0.55);
}

.sig-mock-banner strong {
    font-weight: 800;
    letter-spacing: 0.01em;
}

.sig-mock-banner-cta {
    white-space: nowrap;
    font-weight: 700;
}

.sig-mock-banner-link {
    margin-bottom: 12px;
    font-size: 10.5px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sig-mock-banner-link code {
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #0f766e;
    font-family: 'Intel One Mono', monospace;
}

/* ----- Fausse bannière "image marketing" (en dessous de la signature) -----
   Simule un visuel qui serait auto-généré par l'IA selon le contexte.
   Look "ad creative" : grand format, gradient, typo punchy, badge. */
.sig-mock-adcard {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 1;
    min-height: 90px;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #0f766e 0%, #009688 55%, #4ade80 100%);
    box-shadow: 0 14px 30px -18px rgba(0, 150, 136, 0.6);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sig-mock-adcard:hover,
.sig-mock-adcard:focus,
.sig-mock-adcard:visited,
.sig-mock-adcard:active {
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none !important;
}

.sig-mock-adcard *,
.sig-mock-adcard:hover *,
.sig-mock-adcard:focus * {
    color: #ffffff !important;
}

.sig-mock-adcard.partner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 60%, #60a5fa 100%);
    box-shadow: 0 14px 30px -18px rgba(59, 130, 246, 0.6);
}

.sig-mock-adcard.internal {
    background: linear-gradient(135deg, #334155 0%, #64748b 60%, #94a3b8 100%);
    box-shadow: 0 14px 30px -18px rgba(71, 85, 105, 0.5);
}

.sig-mock-adcard-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.sig-mock-adcard-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.sig-mock-adcard-text {
    flex: 1;
    min-width: 0;
}

.sig-mock-adcard-kicker {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0.85;
    margin-bottom: 2px;
}

.sig-mock-adcard-title {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 3px;
}

.sig-mock-adcard-sub {
    font-size: 0.78rem;
    opacity: 0.9;
    font-weight: 600;
}

.sig-mock-adcard-cta {
    background: rgba(255, 255, 255, 0.95);
    color: #0b1220;
    font-weight: 900;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Décor abstrait (forme blobby derrière) pour le côté "image" */
.sig-mock-adcard::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.sig-mock-adcard::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.sig-value-card {
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 18px;
    padding: 1.6rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sig-value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 150, 136, 0.4);
    box-shadow: 0 22px 40px -25px rgba(0, 150, 136, 0.45);
}

.sig-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.18), rgba(74, 222, 128, 0.18));
    color: #0f766e;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.sig-value-title {
    font-weight: 800;
    color: #0b1220;
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.sig-value-body {
    color: #475569;
    line-height: 1.55;
    font-size: 0.95rem;
}

/* ----- Mock mail clients (Gmail / Outlook) ----- */

.sig-mock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .sig-mock-row {
        grid-template-columns: 1fr;
    }
}

.sig-mock {
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -28px rgba(15, 23, 42, 0.18);
}

.sig-mock-header {
    background: #f4f6f8;
    border-bottom: 1px solid #e6eef0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.sig-mock-dots {
    display: flex;
    gap: 6px;
}

.sig-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sig-mock-dot.red { background: #ef4444; }
.sig-mock-dot.yellow { background: #f59e0b; }
.sig-mock-dot.green { background: #22c55e; }

.sig-mock-tag {
    background: #fff;
    border: 1px solid #e6eef0;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    color: #0f766e;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sig-mock-body {
    padding: 22px 22px 26px;
}

.sig-mock-subject {
    font-weight: 800;
    color: #0b1220;
    font-size: 1rem;
    margin-bottom: 4px;
}

.sig-mock-meta {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 18px;
}

.sig-mock-text {
    color: #344054;
    line-height: 1.6;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.sig-mock-signature {
    border-top: 1px dashed #e6eef0;
    padding-top: 18px;
}

/* ----- Calendrier campagnes (preview marketing) ----- */

.sig-calendar {
    margin-top: 2.5rem;
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 18px;
    padding: 1.8rem;
}

.sig-calendar-title {
    font-weight: 800;
    color: #0b1220;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.sig-calendar-line {
    display: grid;
    grid-template-columns: 110px 1fr 140px;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sig-calendar-line:last-child { border-bottom: none; }

.sig-pill {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.sig-pill.live {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.sig-pill.upcoming {
    background: rgba(0, 150, 136, 0.14);
    color: #0f766e;
}

.sig-calendar-text {
    color: #1f2937;
    font-weight: 600;
}

.sig-calendar-dates {
    color: #64748b;
    font-size: 0.85rem;
    text-align: right;
}

/* ----- Formulaire demande accès ----- */

.sig-form-card {
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 30px 60px -40px rgba(0, 150, 136, 0.35);
}

.sig-form-title {
    font-weight: 900;
    font-size: 1.4rem;
    color: #0b1220;
    margin: 0 0 0.4rem;
}

.sig-form-sub {
    color: #64748b;
    margin-bottom: 1.6rem;
    line-height: 1.55;
}

.sig-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

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

.sig-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #344054;
    margin-bottom: 5px;
    display: block;
}

.sig-input,
.sig-textarea,
.sig-select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e6eef0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
}

.sig-input:focus,
.sig-textarea:focus,
.sig-select:focus {
    outline: none;
    border-color: #009688;
    background: #fff;
}

.sig-textarea {
    min-height: 100px;
    resize: vertical;
}

.sig-form-status {
    margin-top: 1rem;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.sig-form-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sig-form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ----- Editor (page authentifiée) ----- */

.sig-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.8rem;
    margin-top: 2rem;
}

@media (max-width: 960px) {
    .sig-editor-grid { grid-template-columns: 1fr; }
}

.sig-editor-panel {
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 18px;
    padding: 1.8rem;
}

.sig-copy-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.sig-copy-actions .sig-btn-primary,
.sig-copy-actions .sig-btn-ghost {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 18px;
}

.sig-status-line {
    margin-top: 12px;
    font-size: 0.88rem;
    color: #15803d;
    min-height: 22px;
}

.sig-preview-block {
    background: #fafbfc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 1.4rem;
    margin-bottom: 1.2rem;
}

.sig-preview-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.sig-tab-row {
    display: flex;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.sig-tab {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid #e6eef0;
    background: #fff;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.sig-tab.active {
    border-color: #009688;
    background: rgba(0, 150, 136, 0.08);
    color: #0f766e;
}

.sig-photo-thumb {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #e6eef0;
}

.sig-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
