/**
 * Rhivo Clinic — Landing Page Components
 *
 * Hero, animações, marquee, formulário, navbar, seções, footer.
 */

/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
    --rhivo-primary: #0078C6;
    --rhivo-primary-dark: #005a9e;
    --rhivo-primary-light: #e8f4fd;
    --rhivo-accent: #00C9A7;
    --rhivo-accent-dark: #00a88c;
    --rhivo-dark: #1a1a2e;
    --rhivo-dark-2: #16213e;
    --rhivo-dark-3: #0f3460;
    --rhivo-gray-100: #f8f9fa;
    --rhivo-gray-200: #e9ecef;
    --rhivo-gray-300: #dee2e6;
    --rhivo-gray-400: #9B9DA8;
    --rhivo-gray-500: #6c757d;
    --rhivo-white: #ffffff;
    --rhivo-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --rhivo-gradient-primary: linear-gradient(135deg, #0078C6 0%, #00C9A7 100%);
    --rhivo-radius: 12px;
    --rhivo-radius-lg: 20px;
    --rhivo-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --rhivo-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --rhivo-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.rhivo-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--rhivo-transition);
    background: transparent;
}

.rhivo-navbar--scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.rhivo-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rhivo-navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rhivo-white);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.rhivo-navbar__logo img { height: 36px; width: auto; }

.rhivo-navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rhivo-navbar__link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--rhivo-transition);
}

.rhivo-navbar__link:hover { color: var(--rhivo-white); }

.rhivo-navbar__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--rhivo-gradient-primary);
    color: var(--rhivo-white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--rhivo-transition);
    font-size: 0.9375rem;
}

.rhivo-navbar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,120,198,0.4);
    color: var(--rhivo-white);
}

/* ============================================================
   HERO
   ============================================================ */
.rhivo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--rhivo-gradient);
    overflow: hidden;
    padding: 120px 0 80px;
}

.rhivo-hero__bg { position: absolute; inset: 0; overflow: hidden; }

.rhivo-hero__bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,120,198,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,201,167,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(15,52,96,0.3) 0%, transparent 50%);
}

.rhivo-hero__bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.rhivo-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rhivo-hero__content { color: var(--rhivo-white); }

.rhivo-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0,201,167,0.15);
    border: 1px solid rgba(0,201,167,0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rhivo-accent);
    margin-bottom: 24px;
}

.rhivo-hero__title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.rhivo-hero__title span {
    background: var(--rhivo-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rhivo-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px;
    max-width: 520px;
}

.rhivo-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.rhivo-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--rhivo-gradient-primary);
    color: var(--rhivo-white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--rhivo-transition);
}

.rhivo-hero__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,120,198,0.35);
    color: var(--rhivo-white);
}

.rhivo-hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.08);
    color: var(--rhivo-white);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--rhivo-transition);
}

.rhivo-hero__btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: var(--rhivo-white);
}

.rhivo-hero__stats { display: flex; gap: 40px; }

.rhivo-hero__stat { display: flex; flex-direction: column; }

.rhivo-hero__stat-number {
    font-size: 1.75rem;
    font-weight: 800;
}

.rhivo-hero__stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.rhivo-hero__visual { position: relative; }

.rhivo-hero__mockup {
    width: 100%;
    border-radius: var(--rhivo-radius-lg);
    box-shadow: var(--rhivo-shadow-lg);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    overflow: hidden;
}

.rhivo-hero__mockup img { width: 100%; height: 100%; object-fit: cover; }

.rhivo-hero__floating-card {
    position: absolute;
    padding: 12px 18px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border-radius: var(--rhivo-radius);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--rhivo-white);
    font-size: 0.8125rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.rhivo-hero__floating-card--1 { top: -10px; right: -20px; animation-delay: 0s; }
.rhivo-hero__floating-card--2 { bottom: 30px; left: -30px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.rhivo-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.rhivo-section__header { text-align: center; margin-bottom: 60px; }

.rhivo-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--rhivo-dark);
    margin: 0 0 12px;
}

.rhivo-section__subtitle {
    font-size: 1.125rem;
    color: var(--rhivo-gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   FEATURES / RECURSOS
   ============================================================ */
.rhivo-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rhivo-feature-card {
    padding: 32px 28px;
    background: var(--rhivo-white);
    border-radius: var(--rhivo-radius);
    box-shadow: var(--rhivo-shadow);
    border: 1px solid var(--rhivo-gray-200);
    transition: var(--rhivo-transition);
}

.rhivo-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rhivo-shadow-lg);
    border-color: var(--rhivo-primary-light);
}

.rhivo-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--rhivo-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--rhivo-primary);
    font-size: 1.25rem;
}

.rhivo-feature-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rhivo-dark);
    margin: 0 0 8px;
}

.rhivo-feature-card__desc {
    font-size: 0.9375rem;
    color: var(--rhivo-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.rhivo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step;
}

.rhivo-step { text-align: center; position: relative; }

.rhivo-step::before {
    counter-increment: step;
    content: counter(step);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rhivo-gradient-primary);
    color: var(--rhivo-white);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rhivo-step__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rhivo-dark);
    margin: 0 0 8px;
}

.rhivo-step__desc {
    font-size: 0.9375rem;
    color: var(--rhivo-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   TESTIMONIALS / DEPOIMENTOS
   ============================================================ */
.rhivo-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.rhivo-testimonial {
    padding: 28px;
    background: var(--rhivo-white);
    border-radius: var(--rhivo-radius);
    box-shadow: var(--rhivo-shadow);
    border: 1px solid var(--rhivo-gray-200);
}

.rhivo-testimonial__stars { color: #f59e0b; font-size: 0.9375rem; margin-bottom: 12px; }

.rhivo-testimonial__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--rhivo-dark);
    margin: 0 0 16px;
    font-style: italic;
}

.rhivo-testimonial__author { display: flex; align-items: center; gap: 12px; }

.rhivo-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rhivo-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rhivo-white);
    font-weight: 700;
    font-size: 0.875rem;
}

.rhivo-testimonial__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rhivo-dark);
}

.rhivo-testimonial__role { font-size: 0.8125rem; color: var(--rhivo-gray-500); }

/* ============================================================
   MARQUEE (SOCIAL PROOF)
   ============================================================ */
.rhivo-marquee {
    overflow: hidden;
    padding: 40px 0;
    background: var(--rhivo-gray-100);
    white-space: nowrap;
}

.rhivo-marquee__track {
    display: inline-flex;
    gap: 60px;
    align-items: center;
    will-change: transform;
}

.rhivo-marquee__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rhivo-gray-500);
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0.7;
}

.rhivo-marquee__item svg { width: 24px; height: 24px; }

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.rhivo-contact-section {
    background: var(--rhivo-gradient);
    padding: 80px 24px;
}

.rhivo-contact {
    max-width: 560px;
    margin: 0 auto;
    background: var(--rhivo-white);
    border-radius: var(--rhivo-radius-lg);
    padding: 48px 40px;
    box-shadow: var(--rhivo-shadow-lg);
}

.rhivo-contact__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rhivo-dark);
    margin: 0 0 8px;
    text-align: center;
}

.rhivo-contact__desc {
    font-size: 0.9375rem;
    color: var(--rhivo-gray-500);
    text-align: center;
    margin: 0 0 32px;
    line-height: 1.6;
}

.rhivo-contact .input-rhivo {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--rhivo-gray-300);
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: var(--rhivo-transition);
    background: var(--rhivo-gray-100);
    box-sizing: border-box;
}

.rhivo-contact .input-rhivo:focus {
    outline: none;
    border-color: var(--rhivo-primary);
    box-shadow: 0 0 0 3px rgba(0,120,198,0.1);
}

.rhivo-contact .rhivo-form-row { margin-bottom: 16px; }

.rhivo-contact .rhivo-form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rhivo-dark);
    margin-bottom: 6px;
}

.rhivo-contact .btn-rhivo-primary {
    width: 100%;
    padding: 16px;
    background: var(--rhivo-gradient-primary);
    color: var(--rhivo-white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--rhivo-transition);
}

.rhivo-contact .btn-rhivo-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,120,198,0.3);
}

.rhivo-contact .btn-rhivo-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Feedback */
.rhivo-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    text-align: center;
}

.rhivo-feedback--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.rhivo-feedback--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================================
   FOOTER
   ============================================================ */
.rhivo-footer {
    background: var(--rhivo-dark-2);
    padding: 48px 24px;
    text-align: center;
}

.rhivo-footer__inner { max-width: 1200px; margin: 0 auto; }

.rhivo-footer__logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rhivo-white);
    margin-bottom: 8px;
}

.rhivo-footer__desc {
    font-size: 0.875rem;
    color: var(--rhivo-gray-400);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.rhivo-footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.rhivo-footer__link {
    color: var(--rhivo-gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--rhivo-transition);
}

.rhivo-footer__link:hover { color: var(--rhivo-white); }

.rhivo-footer__legal {
    font-size: 0.8125rem;
    color: var(--rhivo-gray-400);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
}

/* ============================================================
   ANIMAÇÕES SCROLL
   ============================================================ */
.rhivo-animate--hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rhivo-animate--visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
    .rhivo-hero__container { grid-template-columns: 1fr; text-align: center; }
    .rhivo-hero__content { order: 1; }
    .rhivo-hero__visual { order: 0; }
    .rhivo-hero__subtitle { margin: 0 auto 32px; }
    .rhivo-hero__actions { justify-content: center; }
    .rhivo-hero__stats { justify-content: center; }
    .rhivo-hero__title { font-size: 2.5rem; }
}

@media (max-width: 640px) {
    .rhivo-hero__title { font-size: 1.875rem; }
    .rhivo-hero__subtitle { font-size: 1rem; }
    .rhivo-hero__stats { flex-wrap: wrap; gap: 24px; }
    .rhivo-section { padding: 60px 16px; }
    .rhivo-section__title { font-size: 1.625rem; }
    .rhivo-contact { padding: 32px 20px; }
    .rhivo-navbar__links { display: none; }
    .rhivo-features { grid-template-columns: 1fr; }
    .rhivo-hero__floating-card { display: none; }
    .rhivo-hero { padding: 100px 0 60px; }
}

/* ============================================================
   ASSISTENTE 24h
   ============================================================ */
.rhivo-assistente {
    background: #ffffff;
    padding: 100px 24px;
}

.rhivo-assistente__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.rhivo-assistente__title {
    font-size: 2rem;
    font-weight: 700;
    color: #010A29;
    margin: 0 0 16px;
    line-height: 1.2;
}

.rhivo-assistente__subhead {
    font-weight: 400;
    color: #0078C6;
    display: block;
    font-size: 1.25rem;
    margin-top: 4px;
}

.rhivo-assistente__desc {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin: 0 0 28px;
}

.rhivo-assistente__benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 32px;
    padding: 0;
}

.rhivo-assistente__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #010A29;
}

.rhivo-assistente__benefits li svg {
    color: #0078C6;
    flex-shrink: 0;
}

.rhivo-assistente__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #0078C6;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rhivo-assistente__cta:hover {
    background: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,120,198,0.3);
    color: #ffffff;
}

/* ── Phone Mockup ── */
.rhivo-assistente__phone {
    max-width: 360px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.rhivo-assistente__phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #010A29;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.rhivo-assistente__phone-header svg { color: #00C9A7; }

.rhivo-assistente__chat {
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
}

.rhivo-assistente__msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    position: relative;
}

.rhivo-assistente__msg p { margin: 0; }

.rhivo-assistente__msg--in {
    background: #ffffff;
    color: #010A29;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.rhivo-assistente__msg--out {
    background: #0078C6;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.rhivo-assistente__typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.rhivo-assistente__typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9B9DA8;
    animation: typing-dot 1.4s ease-in-out infinite;
}

.rhivo-assistente__typing span:nth-child(2) { animation-delay: 0.2s; }
.rhivo-assistente__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* ============================================================
   BENEFÍCIOS POR PAPEL (TABS)
   ============================================================ */
.rhivo-benefits {
    max-width: 800px;
    margin: 0 auto;
}

.rhivo-benefits__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.rhivo-benefits__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: transparent;
    color: #6c757d;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.rhivo-benefits__tab:hover {
    border-color: #0078C6;
    color: #0078C6;
}

.rhivo-benefits__tab.active {
    background: #0078C6;
    color: #ffffff;
    border-color: #0078C6;
}

.rhivo-benefits__tab.active svg { color: #ffffff; }

.rhivo-benefits__panels {
    min-height: 200px;
}

.rhivo-benefits__panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.rhivo-benefits__panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rhivo-benefits__list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.rhivo-benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 0.9375rem;
    color: #010A29;
    line-height: 1.5;
}

.rhivo-benefits__list li svg {
    color: #00C9A7;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   PLANOS
   ============================================================ */
.rhivo-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.rhivo-plans__card {
    position: relative;
    padding: 40px 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid #e9ecef;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rhivo-plans__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.rhivo-plans__card--featured {
    border-color: #0078C6;
    box-shadow: 0 4px 24px rgba(0,120,198,0.15);
    transform: scale(1.03);
}

.rhivo-plans__card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.rhivo-plans__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: #0078C6;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rhivo-plans__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #010A29;
    margin: 0 0 12px;
}

.rhivo-plans__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0078C6;
    margin: 0 0 8px;
}

.rhivo-plans__highlight {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}

.rhivo-plans__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    flex: 1;
}

.rhivo-plans__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #010A29;
}

.rhivo-plans__features li svg { flex-shrink: 0; }

.rhivo-plans__cta {
    display: block;
    padding: 14px 24px;
    background: #0078C6;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rhivo-plans__cta:hover {
    background: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,120,198,0.3);
    color: #ffffff;
}

.rhivo-plans__note {
    text-align: center;
    font-size: 0.9375rem;
    color: #6c757d;
    margin: 0;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.rhivo-social-proof__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.rhivo-social-proof__stat {
    padding: 32px 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.rhivo-social-proof__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0078C6;
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
}

.rhivo-social-proof__label {
    font-size: 0.875rem;
    color: #6c757d;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.rhivo-footer {
    background: #010A29;
    color: rgba(255,255,255,0.7);
    padding: 60px 24px 0;
}

.rhivo-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.rhivo-footer__logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.rhivo-footer__desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 20px;
    color: rgba(255,255,255,0.6);
}

.rhivo-footer__social {
    display: flex;
    gap: 12px;
}

.rhivo-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.rhivo-footer__social a:hover {
    background: #0078C6;
    color: #ffffff;
}

.rhivo-footer__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.rhivo-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rhivo-footer__links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.rhivo-footer__links a:hover {
    color: #ffffff;
}

.rhivo-footer__links--contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.rhivo-footer__links--contact li svg {
    flex-shrink: 0;
    color: #0078C6;
}

.rhivo-footer__links--contact a {
    color: rgba(255,255,255,0.5);
}

.rhivo-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    flex-wrap: wrap;
}

.rhivo-footer__legal {
    display: flex;
    gap: 20px;
}

.rhivo-footer__legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.rhivo-footer__legal a:hover {
    color: #ffffff;
}

.rhivo-footer__lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rhivo-footer__lang .flag {
    display: block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}

.rhivo-footer__lang .flag:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.rhivo-footer__lang .flag.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.5);
}

.rhivo-footer__lang svg { color: rgba(255,255,255,0.4); }

/* ============================================================
   RESPONSIVO — SEÇÕES ADICIONAIS
   ============================================================ */
@media (max-width: 1024px) {
    .rhivo-assistente__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rhivo-assistente__benefits { align-items: center; }
    .rhivo-assistente__mockup { max-width: 360px; margin: 0 auto; }
    .rhivo-footer__container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .rhivo-benefits__tabs { flex-direction: column; align-items: stretch; }
    .rhivo-benefits__tab { justify-content: center; }
    .rhivo-benefits__list { grid-template-columns: 1fr; }
    .rhivo-plans { grid-template-columns: 1fr; }
    .rhivo-plans__card--featured { transform: none; }
    .rhivo-plans__card--featured:hover { transform: translateY(-4px); }
    .rhivo-social-proof__stats { grid-template-columns: 1fr 1fr; }
    .rhivo-footer__container { grid-template-columns: 1fr; gap: 32px; }
    .rhivo-footer__bottom { flex-direction: column; text-align: center; }
    .rhivo-assistente__title { font-size: 1.625rem; }
}

@media (max-width: 480px) {
    .rhivo-social-proof__stats { grid-template-columns: 1fr 1fr; }
    .rhivo-social-proof__number { font-size: 1.75rem; }
}

/* ============================================================
   PLANOS — SELETOR DE PERÍODO E BADGES DE DESCONTO
   ============================================================ */
.rhivo-plans__periodo-selector {
    text-align: center;
    margin-bottom: 32px;
}
.rhivo-plans__periodo-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 12px;
}
.rhivo-plans__periodo-options {
    display: inline-flex;
    gap: 4px;
    background: #f0f1f3;
    border-radius: 12px;
    padding: 4px;
}
.rhivo-plans__periodo-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.25s ease;
}
.rhivo-plans__periodo-btn:hover {
    color: #010A29;
}
.rhivo-plans__periodo-btn.active {
    background: #ffffff;
    color: #010A29;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Setup fee */
.rhivo-plans__setup {
    font-size: 0.8125rem;
    color: #6c757d;
    margin: -8px 0 12px;
    min-height: 20px;
}
.rhivo-plans__setup--gratis {
    color: #2fb344;
    font-weight: 600;
}

/* Preço com período */
.rhivo-plans__price-period {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6c757d;
}

/* Discount badges */
.rhivo-plans__discount-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
    min-height: 28px;
}
.rhivo-plans__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.rhivo-plans__discount-badge--desconto {
    background: #d2f0e0;
    color: #1a7d3a;
}
.rhivo-plans__discount-badge--economia {
    background: #d3e5ff;
    color: #0066cc;
}
.rhivo-plans__discount-badge.d-none {
    display: none !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .rhivo-plans__periodo-options {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .rhivo-plans__periodo-btn {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}
