/* =====================================================
   CloudCare Totem Landing Page stylesheet
   ===================================================== */

/* Hero Section */
.totem-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--blue-dark);
    overflow: hidden;
    padding-top: 80px;
}

.totem-hero__bg {
    position: absolute;
    inset: 0;
    background: url('../Exportacao_Site/totem/hero_cloudcare_totem_ia.png') center right/cover no-repeat;
    opacity: 0.75;
    z-index: 1;
}

.totem-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(6, 15, 24, 0.95) 0%, 
        rgba(6, 15, 24, 0.85) 40%, 
        rgba(13, 27, 42, 0.45) 75%, 
        rgba(13, 27, 42, 0.25) 100%);
    z-index: 2;
}

.totem-hero__container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.totem-hero__image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.totem-hero__image {
    max-height: 75vh;
    width: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(36, 134, 239, 0.25));
    animation: totemFloat 6s ease-in-out infinite;
}

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

/* Sections General */
.totem-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.totem-section--dark {
    background: linear-gradient(180deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
    color: var(--white);
}

.totem-section--dark .section-title,
.totem-section--dark h2 {
    color: var(--white);
}

.totem-section--light {
    background: var(--white);
    color: var(--blue-dark);
}

.totem-section--gray {
    background: var(--gray-light);
    color: var(--blue-dark);
}

/* Feature grid */
.totem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.totem-grid--reverse .totem-grid__image-wrapper {
    order: 2;
}

.totem-grid__image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.totem-grid__list {
    margin-top: 24px;
}

.totem-grid__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.totem-grid__item-icon {
    width: 24px;
    height: 24px;
    background: rgba(36, 134, 239, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.totem-section--dark .totem-grid__item-icon {
    background: rgba(0, 212, 255, 0.15);
    color: var(--blue-cyan);
}

/* Patient Journey Timeline */
.journey-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.journey-step {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: var(--transition-base);
}

.totem-section--dark .journey-step {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.journey-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-primary);
}

.journey-step__num {
    font-size: 14px;
    font-weight: var(--font-bold);
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.journey-step__title {
    font-size: 18px;
    font-weight: var(--font-semibold);
    margin-bottom: 12px;
}

.journey-step__desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.totem-section--dark .journey-step__desc {
    color: rgba(255, 255, 255, 0.65);
}

/* Models Section */
.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.model-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-card__image-container {
    background: radial-gradient(circle, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.model-card__image {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
    transition: var(--transition-base);
}

.model-card:hover .model-card__image {
    transform: scale(1.05);
}

.model-card__content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.model-card__title {
    font-size: 22px;
    font-weight: var(--font-semibold);
    margin-bottom: 12px;
    color: var(--blue-dark);
}

.model-card__desc {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.model-card__features {
    margin-bottom: 30px;
}

.model-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-700);
}

.model-card__feature-icon {
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact form custom page styling */
.totem-contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.totem-contact__info h3 {
    font-size: 32px;
    font-weight: var(--font-semibold);
    margin-bottom: 20px;
    line-height: 1.3;
}

.totem-contact__info p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.7;
}

.totem-contact__card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.totem-form__group {
    margin-bottom: 20px;
}

.totem-form__label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-medium);
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.totem-form__input,
.totem-form__select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-base);
    background: var(--gray-light);
}

.totem-form__input:focus,
.totem-form__select:focus {
    border-color: var(--blue-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(36, 134, 239, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .totem-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .totem-hero__image-wrapper {
        margin-top: 40px;
    }

    .totem-hero__image {
        max-height: 50vh;
    }

    .totem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .totem-grid--reverse .totem-grid__image-wrapper {
        order: 0;
    }

    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .totem-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .journey-timeline {
        grid-template-columns: 1fr;
    }

    .totem-contact__card {
        padding: 24px;
    }
}
