#conteudo-principal {
  transition: opacity 0.2s ease-in-out;
  min-height: 80vh; 
}

/* --- HERO --- */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 113, 227, 0.1);
    color: var(--action-blue);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-text .highlight {
    color: var(--action-blue);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 400px;
    justify-self: center;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.hero-safe {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-safe svg {
    fill: #34c759;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 25px;
}

/* --- DORES --- */
.pain-points {
    padding: 25px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.pain-card h3 {
    font-size: 20px;
    height: 40px;
}

.pain-card p {
    font-size: 16px;
    height: 60px;
}

.pain-card img {
    width: 56px;
    margin-bottom: 12px;
    justify-self: center;
}


/* --- PLANOS --- */
.plans-section {
    padding-top: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.plans-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.plans-section .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.plan-card {
    background-color: var(--card-bg-color);
    border-radius: 18px;
    padding: 30px;
    text-align: left;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--theme-transition), transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
}

.plan-card.selected {
    box-shadow: var(--selected-shadow);
    border-color: var(--action-blue);
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-card .description {
    font-size: 15px;
    color: var(--text-secondary);
    min-height: 65px;
    margin-bottom: 16px;
}

.plan-card .price {
    gap: 15px;
    display: -webkit-inline-box;
    font-size: 50px;
    font-weight: 300;
}

.plan-card .price strike {
    font-size: 28px;
    color: var(--text-tertiary);
}

.plan-card .price p {
    font-size: 28px;
    margin-top: 42px;
    margin-left: 2vw;
}

.plan-card .price-subtext {
    font-size: 13px;
    color: var(--text-tertiary);
}

.plan-card .img-wb {
    display: flex;
    justify-items: center;
}

.plan-card .img-wb img {
    max-height: 50px;
    margin-top: 54px;
filter: drop-shadow(0px 0px 1px rgb(0, 0, 0)) 

}

.plan-card ul {
    list-style: none;
}

.plan-card ul li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.plan-card ul li svg {
    fill: #34c759;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

/* --- 4. FORMULÁRIO --- */
#form-section-space {
    padding-top: 60px;
    padding-bottom: 100px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg-color);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.form-container h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--action-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-group .switch-container {
    display: flex;
    gap: 10px;
}

.field-collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    pointer-events: none;
}

.field-collapsible.visible {
    max-height: 200px; 
    opacity: 1;
    margin-top: 15px;
    pointer-events: all;
}

.field-collapsible textarea {
    display: block;
    width: 100%;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: var(--text-secondary);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-container .btn-primary {
    background-color: #37b84b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 5px;
    margin-top: 10px;
    font-size: 16px;
}

.form-button img {
    height: 48px;
    margin-right: -58px;
}


/* --- CONFIANÇA --- */
.trust {
    padding: 40px 0;
}

.trust-content {
    margin-top: 65px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    /*align-items: center;*/
}

.trust-who {
    /*margin-left: 140px;*/
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
    justify-self: center;
}

.alert-trust {
    color: red;
    margin-bottom: 5px;
}

.trust-text h3 {
    margin-bottom: 8px;
}

.trust-text h4 {
    margin-bottom: 5px;
}

.trust-text p {
    text-align: justify;
    margin-top: -2fr;
}

.trust-image img {
    /*width: 100%;*/
    /*max-width: 360px;*/
    border-radius: 20px;
}

.insta-wrapper {
    position: relative;
    display: inline-block;
}

.insta-link {
    color: var(--action-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--theme-transition);
}

.insta-link:hover {
    text-decoration: underline;
}

.insta-card {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, var(--theme-transition);
    z-index: 100;
}

.insta-wrapper:hover .insta-card,
.insta-wrapper.active .insta-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.username {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.full-name {
    color: var(--text-secondary);
    font-size: 14px;
}

.follow-link {
    display: block;
    text-align: center;
    background-color: var(--action-blue);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.follow-link:hover {
    background-color: var(--action-blue-hover);
}

.insta-card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--border-color) transparent transparent transparent;
}

.insta-card::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--card-bg-color) transparent transparent transparent;
    z-index: 1;
}

.trust-highlight {
    margin-top: 20px;
    padding: 16px;
    border-left: 4px solid var(--action-blue);
    background: rgba(0, 113, 227, 0.08);
    border-radius: 8px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {

    .hero-content,
    .trust-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        font-size: 13px;
        max-width: 310px;
        font-weight: 600;
    }

    .hero-image img {
        justify-self: center;
        max-width: 310px;
        /*235*/
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .plans-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px 30px -20px;
        padding: 10px 20px;
        gap: 16px;
        scrollbar-width: none;
    }

    .plan-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-height: auto;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .trust-image img {
        max-width: 310px;
        justify-self: center;
    }

    .trust-text {
        margin-top: -15px;
    }

}