/*
Theme Name: Massa Energia Theme
Theme URI: https://energia.grupoamssa.com.br
Author: Camila Souza - Equipe de Tecnologia e Inovação
Author URI: https://energia.grupoamssa.com.br
Description: Tema filho de Twenty Twenty-Four para Massa Energia.
Template: twentytwentyfour
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: massaenergia
Tags: full-site-editing
*/

/* ============================================================
   Simulador de Economia de Energia
   ============================================================ */

.simulador-section {
    background: #f2faf0;
    padding: 72px 24px;
    font-family: inherit;
}

.simulador-inner {
    max-width: 780px;
    margin: 0 auto;
}

.simulador-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e6e36;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.simulador-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 28px;
    line-height: 1.25;
}

.simulador-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #d4edda;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.simulador-highlight-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.simulador-highlight p {
    margin: 0;
    font-size: 0.92rem;
    color: #1e4d2b;
    line-height: 1.45;
}

.simulador-highlight strong {
    color: #1a5c2a;
}

.simulador-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    margin-bottom: 28px;
}

.simulador-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.simulador-label {
    font-size: 0.88rem;
    color: #555;
}

.simulador-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

.simulador-slider-wrap {
    margin-bottom: 28px;
}

.simulador-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, #2d7a3a var(--progress, 7%), #d4d4d4 var(--progress, 7%));
    outline: none;
    cursor: pointer;
    margin-top: 10px;
}

.simulador-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2d7a3a;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2d7a3a;
    transition: box-shadow 0.15s;
}

.simulador-range::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 4px rgba(45, 122, 58, 0.2);
}

.simulador-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2d7a3a;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2d7a3a;
}

.simulador-period-label {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 12px;
}

.simulador-period-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1.5px solid #d4d4d4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}

.simulador-period-btn {
    background: #fff;
    border: none;
    border-right: 1.5px solid #d4d4d4;
    padding: 13px 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.simulador-period-btn:last-child {
    border-right: none;
}

.simulador-period-btn:hover {
    background: #f2faf0;
    color: #1e6e36;
}

.simulador-period-btn.active {
    background: #f0faf2;
    color: #1e6e36;
    font-weight: 700;
    border-color: transparent;
    box-shadow: inset 0 0 0 1.5px #2d7a3a;
}

.simulador-divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 4px 0 20px;
}

.simulador-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.simulador-result-row:last-child {
    margin-bottom: 0;
}

.simulador-result-label {
    font-size: 0.88rem;
    color: #555;
}

.simulador-result-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    transition: opacity 0.2s;
}

.simulador-result-reinvest {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e6e36;
}

.simulador-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.simulador-btn-outline {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid #008742;
    border-radius: 8px;
    background: #fff;
    color: #008742;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.simulador-btn-outline:hover {
    background: #f2faec;
}

.simulador-btn-solid {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid #008742;
    border-radius: 8px;
    background: #008742;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.simulador-btn-solid:hover {
    background: #006f37;
    color: #fff;
}

@media (max-width: 540px) {
    .simulador-card {
        padding: 24px 18px;
    }

    .simulador-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .simulador-btn-outline,
    .simulador-btn-solid {
        justify-content: center;
    }
}

/* ============================================================
   Home — Hero Banner
   ============================================================ */

.home-hero,
.home-hero picture,
.home-hero img {
    display: block;
}

.home-hero {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.home-hero img {
    width: 100%;
    height: auto;
}

/* ============================================================
   Quem Somos (página) — Hero Banner
   ============================================================ */

.qs-hero,
.qs-hero picture,
.qs-hero img {
    display: block;
}

.qs-hero {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.qs-hero--fixed img {
    width: 100%;
    height: auto;
}

.qs-hero--bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(280px, 40vw, 480px);
    padding: 24px;
    background-color: #1e4d2b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.qs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}

.qs-hero-title {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

/* ============================================================
   Quem Somos (página) — Sobre a Empresa
   ============================================================ */

.qs-about-section {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 88px 24px;
    background: #f4f4f2;
    box-sizing: border-box;
}

.qs-about-inner {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    box-sizing: border-box;
}

.qs-about-content,
.qs-about-image-wrap {
    min-width: 0;
}

.qs-about-content {
    flex: 1 1 0;
}

.qs-about-image-wrap {
    flex: 1 1 0;
}

.qs-about-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: #fdefd8;
    color: #b3701c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qs-about-heading {
    margin: 0 0 20px;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
}

.qs-about-heading-main,
.qs-about-heading-highlight {
    display: block;
}

.qs-about-heading-main {
    color: #111;
}

.qs-about-heading-highlight {
    color: #6dde2f;
}

.qs-about-text {
    max-width: 480px;
    color: #555;
    font-size: 0.98rem;
    line-height: 1.7;
}

.qs-about-text a {
    color: #008742;
    text-decoration: underline;
}

/* Coluna direita — imagem */
.qs-about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    box-shadow: 0 14px 30px rgba(30, 35, 40, 0.12);
}

.qs-about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qs-about-image-wrap .qs-about-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
}

@media (max-width: 780px) {
    .qs-about-inner {
        flex-flow: column nowrap;
        gap: 36px;
    }

    .qs-about-content,
    .qs-about-image-wrap {
        width: 100%;
    }
}

/* ============================================================
   Section: Quem Somos
   ============================================================ */

.quem-somos-section {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 72px 24px;
    background: #fff;
    box-sizing: border-box;
}

.quem-somos-inner {
    width: min(1160px, calc(100vw - 48px));
    max-width: none;
    margin: 0 auto;
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    box-sizing: border-box;
}

.quem-somos-content,
.quem-somos-image-wrap {
    min-width: 0;
}

.quem-somos-content {
    flex: 1.08 1 0;
}

.quem-somos-image-wrap {
    width: auto;
    flex: 0.92 1 0;
}

/* Coluna esquerda */
.quem-somos-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e6e36;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}

.quem-somos-heading {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    line-height: 1.25;
}

.quem-somos-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0 0 28px;
}

.quem-somos-description a {
    color: #1e6e36;
    text-decoration: underline;
}

/* Itens em destaque */
.quem-somos-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quem-somos-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f2faf0;
    border-radius: 10px;
    padding: 16px 18px;
}

.quem-somos-item-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
}

.quem-somos-item-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e6e36;
    margin-bottom: 3px;
}

.quem-somos-item-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
}

/* Coluna direita — imagem */
.quem-somos-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    position: relative;
}

.quem-somos-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quem-somos-image-wrap .quem-somos-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
}

/* Botão CTA */
.quem-somos-cta {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 28px;
    border: 1.5px solid #008742;
    border-radius: 8px;
    background: #fff;
    color: #008742;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.quem-somos-cta:hover {
    background: #f2faec;
}

/* Mobile */
@media (max-width: 480px) {
    .quem-somos-inner {
        width: 100%;
        flex-flow: column nowrap !important;
        gap: 36px;
    }

    .quem-somos-content,
    .quem-somos-image-wrap {
        width: 100%;
    }

    .quem-somos-image-wrap {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .quem-somos-section {
        padding: 56px 20px;
    }

    .quem-somos-image-wrap {
        aspect-ratio: 4 / 3;
    }
}

/* ============================================================
   Section: Principais Benefícios
   ============================================================ */

.benefits-section {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 66px 24px 82px;
    background: #fff;
    box-sizing: border-box;
}

.benefits-inner {
    width: min(1560px, calc(100vw - 96px));
    margin: 0 auto;
    box-sizing: border-box;
}

.benefits-section-title {
    margin: 0 0 34px;
    color: #111;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3.2vw, 52px);
    align-items: start;
}

.benefit-card {
    min-width: 0;
}

.benefit-card-copy {
    min-height: 94px;
}

.benefit-card-title {
    margin: 0 0 6px;
    color: #111;
    font-size: clamp(1.08rem, 1.3vw, 1.38rem);
    font-weight: 700;
    line-height: 1.25;
}

.benefit-card-text {
    margin: 0;
    color: #666;
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    line-height: 1.45;
}

.benefit-card-image {
    width: 100%;
    aspect-ratio: 3.25 / 1;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef6ee;
}

.benefit-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-card-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #7b8a80;
    font-size: 0.9rem;
}

.benefit-card-highlight {
    display: flex;
    min-height: 44px;
    margin-top: 8px;
    padding: 10px 16px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: #f2faec;
    color: #008742;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    box-sizing: border-box;
}

.benefit-card-highlight-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.benefits-button-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.benefits-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.benefits-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid #008742;
    border-radius: 8px;
    color: #008742;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.benefits-button:hover {
    border-color: #006f37;
    color: #006f37;
}

.benefits-button-outline {
    background: #fff;
}

.benefits-button-outline:hover {
    background: #f2faec;
}

.benefits-button-solid {
    background: #008742;
    color: #fff;
}

.benefits-button-solid:hover {
    background: #006f37;
    color: #fff;
}

@media (max-width: 980px) {
    .benefits-inner {
        width: min(720px, calc(100vw - 48px));
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .benefit-card-copy {
        min-height: 0;
    }
}

@media (max-width: 540px) {
    .benefits-section {
        padding: 56px 20px 64px;
    }

    .benefits-inner {
        width: 100%;
    }

    .benefits-actions {
        margin-top: 36px;
        align-items: stretch;
        flex-direction: column;
    }

    .benefits-button {
        width: 100%;
    }
}

/* ============================================================
   Section: Depoimentos
   ============================================================ */

.testimonials-section {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 22px 24px 72px;
    background: #fff;
    box-sizing: border-box;
}

.testimonials-panel {
    width: min(1600px, calc(100vw - 96px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 64px) 24px 52px;
    border-radius: 22px;
    background: #078642;
    color: #fff;
    box-sizing: border-box;
}

.testimonials-spark {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.testimonials-button-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.testimonials-title {
    display: flex;
    margin: 0 auto 48px;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    color: #fff;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.testimonials-title mark {
    padding: 0;
    background: transparent;
    color: #62d82e;
}

.testimonials-grid {
    display: grid;
    width: min(980px, 100%);
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    background: #0b6237;
    text-decoration: none;
}

.testimonial-card:hover {
    color: #fff;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 26%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.testimonial-card-media,
.testimonial-card-media img,
.testimonial-card-placeholder {
    width: 100%;
    height: 100%;
}

.testimonial-card-media {
    position: absolute;
    inset: 0;
}

.testimonial-card-media img {
    display: block;
    object-fit: cover;
}

.testimonial-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: transparent;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0f6f40, #095830);
}

.testimonial-play {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-play::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid rgba(255, 255, 255, 0.95);
}

.testimonial-card-overlay {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.testimonial-quote {
    margin: 0 0 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.14;
}

.testimonial-author {
    display: inline-flex;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.24);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.15;
}

.testimonial-logos {
    display: flex;
    min-height: 46px;
    margin: 54px auto 0;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 58px);
    flex-wrap: wrap;
}

.testimonial-logo {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.testimonial-logo img {
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 42px;
    object-fit: contain;
}

.testimonials-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.testimonials-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.testimonials-button:hover {
    color: #fff;
}

.testimonials-button-outline {
    background: transparent;
}

.testimonials-button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.testimonials-button-solid {
    border-color: #064628;
    background: #064628;
}

.testimonials-button-solid:hover {
    border-color: #03351d;
    background: #03351d;
}

@media (max-width: 900px) {
    .testimonials-grid {
        width: min(520px, 100%);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .testimonials-section {
        padding: 18px 20px 58px;
    }

    .testimonials-panel {
        width: 100%;
        padding: 36px 18px 38px;
        border-radius: 18px;
    }

    .testimonials-title {
        margin-bottom: 32px;
    }

    .testimonials-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 100%;
        min-height: 390px;
    }

    .testimonials-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .testimonials-button {
        width: 100%;
    }
}

/* ============================================================
   Home — Perguntas Frequentes
   ============================================================ */

.home-faq-section {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 64px 24px;
    background: #fff;
    box-sizing: border-box;
}

.home-faq-inner {
    width: min(700px, calc(100vw - 48px));
    margin: 0 auto;
    box-sizing: border-box;
}

.home-faq-title {
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    font-weight: 700;
    color: #1e6e36;
    margin: 0 0 24px;
    line-height: 1.25;
}

.home-faq-accordion__item {
    border-bottom: 1px solid #ececec;
}

.home-faq-accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: #222;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}

.home-faq-accordion__question::-webkit-details-marker {
    display: none;
}

.home-faq-accordion__icon {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: #999;
    transform: rotate(45deg);
    transition: transform 0.15s;
}

.home-faq-accordion__item[open] .home-faq-accordion__icon {
    transform: rotate(225deg);
}

.home-faq-accordion__answer {
    padding: 0 0 18px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.home-faq-accordion__answer p {
    margin: 0 0 12px;
}

.home-faq-accordion__answer p:last-child {
    margin-bottom: 0;
}

.home-faq-accordion__empty {
    color: #777;
    font-size: 0.9rem;
}

.home-faq-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 8px;
    margin: 32px auto 0;
    color: #1e6e36;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.home-faq-link:hover {
    text-decoration: underline;
}

.home-faq-link span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    font-size: 0.7rem;
    line-height: 1;
}

/* ============================================================
   Central de Ajuda
   ============================================================ */

.help-center-page {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 56px 24px 96px;
    background: #fff;
    box-sizing: border-box;
}

.help-center-inner {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    box-sizing: border-box;
}

.help-center-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 40px;
    line-height: 1.25;
}

.help-section-title,
.help-small-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px;
}

/* Principais Tópicos */
.help-topics {
    margin-bottom: 48px;
}

.help-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.help-topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px 20px;
}

.help-topic-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    background: #d9f2df;
    object-fit: contain;
    box-sizing: border-box;
}

.help-topic-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

/* Conteúdo: dúvidas + atendimento */
.help-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 48px;
}

.help-accordion__item {
    border-bottom: 1px solid #ececec;
}

.help-accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    color: #111;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
}

.help-accordion__question::-webkit-details-marker {
    display: none;
}

.help-accordion__icon {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    border-color: #999;
    transform: rotate(45deg);
    transition: transform 0.15s;
}

.help-accordion__item[open] .help-accordion__icon {
    transform: rotate(135deg);
}

.help-accordion__answer {
    padding: 0 4px 20px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.help-accordion__answer p {
    margin: 0 0 12px;
}

.help-accordion__answer p:last-child {
    margin-bottom: 0;
}

.help-accordion__empty {
    color: #777;
    font-size: 0.9rem;
}

/* Atendimento */
.help-support-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.help-support-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
}

.help-support-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 14px 16px;
}

.help-support-hours span {
    font-size: 0.8rem;
    color: #777;
}

.help-support-hours strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
}

.help-support-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid #008742;
    border-radius: 8px;
    background: #008742;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s;
}

.help-support-button:hover {
    background: #006f37;
    color: #fff;
}

.help-support-button-icon {
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .help-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .help-topics-grid {
        grid-template-columns: 1fr;
    }

    .help-topic-card {
        padding: 24px 18px;
    }
}

/* ============================================================
   Página de Cadastro ("Junte-se a nós")
   ============================================================ */

.cadastro-page {
    width: 100%;
}

.cadastro-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #fff;
}

/* Coluna esquerda — Formulário */
.cadastro-form-col {
    flex: 0 0 35%;
    max-width: 35%;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.cadastro-heading {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
    line-height: 1.25;
}

.cadastro-subtitle {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 28px;
}

.cadastro-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cadastro-form-wrap .wpcf7-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}

.cadastro-form-wrap .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.cadastro-form-wrap .wpcf7-form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.92rem;
    color: #111;
}

.cadastro-form-wrap select.wpcf7-form-control {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.cadastro-form-wrap .wpcf7-form-control:focus {
    outline: none;
    border-color: #7cc24a;
    background: #fff;
}

.cadastro-form-wrap input[type="submit"] {
    margin-top: 6px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: #7cc24a;
    color: #16311c;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.cadastro-form-wrap input[type="submit"]:hover {
    background: #6bb03b;
}

.cadastro-form-wrap .wpcf7-response-output {
    margin: 16px 0 0;
    border-radius: 8px;
    font-size: 0.85rem;
}

.cadastro-form-missing {
    color: #8a2020;
    font-size: 0.9rem;
}

.cadastro-terms {
    margin: 20px 0 0;
    font-size: 0.78rem;
    color: #777;
    line-height: 1.6;
    text-align: center;
}

.cadastro-terms a {
    color: #1e6e36;
    font-weight: 600;
    text-decoration: none;
}

.cadastro-terms a:hover {
    text-decoration: underline;
}

/* Coluna direita — Próximos Passos */
.cadastro-info-col {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 48px 44px;
    background: linear-gradient(180deg, #fbfdf9 0%, #eef6e8 100%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cadastro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fdefd8;
    color: #b3701c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.cadastro-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e08a2a;
}

.cadastro-info-heading {
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 28px;
    line-height: 1.3;
}

.cadastro-steps {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin: 0 0 60px;
}

.cadastro-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cadastro-step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 10px;
    background: #d9f2df;
    object-fit: contain;
    box-sizing: border-box;
}

.cadastro-step-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.cadastro-step-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
}

.cadastro-step-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
}

.cadastro-info-image {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    width: 100%;
    height: 300px;
}

.cadastro-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .cadastro-card {
        flex-direction: column;
    }

    .cadastro-form-col,
    .cadastro-info-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cadastro-form-col,
    .cadastro-info-col {
        padding: 32px 24px;
    }
}

/* ============================================================
   Como Funciona — Hero Banner
   ============================================================ */

.cf-hero,
.cf-hero picture,
.cf-hero img {
    display: block;
}

.cf-hero {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.cf-hero--fixed img {
    width: 100%;
    height: auto;
}

.cf-hero--bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(280px, 40vw, 480px);
    padding: 24px;
    background-color: #1e4d2b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.cf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}

.cf-hero-title {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

/* ============================================================
   Como Funciona — Etapas
   ============================================================ */

.cf-steps {
    padding: 72px 24px;
    background: #fafafa;
    box-sizing: border-box;
}

.cf-steps-inner {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    text-align: center;
}

.cf-steps-title {
    margin: 0 0 44px;
    color: #111;
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.cf-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 44px;
}

.cf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cf-step-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    object-fit: contain;
}

.cf-step-title {
    margin: 0 0 8px;
    color: #111;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.cf-step-text {
    margin: 0;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.5;
}

.cf-steps-cta {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1.5px solid #f5a623;
    border-radius: 8px;
    background: #f5a623;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.cf-steps-cta:hover {
    background: #d98e10;
    border-color: #d98e10;
}

@media (max-width: 900px) {
    .cf-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .cf-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Como Funciona — 3 Colunas
   ============================================================ */

.cf-columns {
    padding: 72px 24px;
    background: #fff;
    box-sizing: border-box;
}

.cf-columns-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
}

.cf-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cf-col-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #f2faec;
    margin-bottom: 12px;
}

.cf-col-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fade in de imagem */
.cf-col-fade .cf-fade-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.cf-col-fade .cf-fade-item.is-active {
    opacity: 1;
}

/* Slider de imagem */
.cf-col-slider .cf-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.cf-col-slider .cf-slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

/* Carrossel de logos */
.cf-col-media.cf-col-logos {
    display: flex;
    align-items: center;
    background: #f2faec;
}

.cf-col-logos .cf-logos-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: cf-logos-scroll 18s linear infinite;
}

.cf-col-logos img {
    width: auto;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes cf-logos-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-col-logos .cf-logos-track {
        animation: none;
    }
}

/* Badge */
.cf-col-badge {
    display: flex;
    min-height: 44px;
    margin-top: auto;
    padding: 10px 16px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: #f2faec;
    color: #008742;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    box-sizing: border-box;
}

.cf-col-badge-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cf-col-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.cf-col-text {
    margin: 0 0 20px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .cf-columns-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ============================================================
   Footer — Faixa CTA + Rodapé
   ============================================================ */

.site-footer {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    background: #064628;
    box-sizing: border-box;
}

/* Faixa CTA */
.footer-cta {
    padding: 64px 24px 48px;
}

.footer-cta-inner {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-cta-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
}

.footer-cta-heading-line {
    display: block;
}

.footer-cta-heading-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6dde2f;
}

.footer-cta-heading-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-cta-actions {
    margin-top: 8px;
}

.footer-cta-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1.5px solid #6dde2f;
    border-radius: 8px;
    background: #6dde2f;
    color: #06331d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.footer-cta-button:hover {
    background: #5cc424;
    border-color: #5cc424;
}

.footer-cta-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 28px;
    align-self: center;
}

.footer-cta-compliance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: 260px;
    text-align: right;
}

.footer-cta-compliance-logo-wrap {
    align-self: flex-end;
}

.footer-cta-compliance-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-cta-compliance-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    line-height: 1.45;
}

.footer-cta-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-cta-badges-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.footer-cta-badges-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-cta-badge {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Rodapé principal */
.site-footer-main {
    width: min(1160px, calc(100vw - 48px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    padding: 40px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer-brand {
    display: flex;
    flex: 1 1 240px;
    min-width: 220px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.site-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.site-footer-logo-text {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.site-footer-tagline {
    margin: 0;
    color: #6dde2f;
    font-size: 0.9rem;
    font-weight: 600;
}

.site-footer-email {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer-email:hover {
    text-decoration: underline;
}

.site-footer-social {
    display: flex;
    gap: 10px;
}

.site-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: #fff;
    transition: background 0.15s, border-color 0.15s;
}

.site-footer-social-link svg {
    width: 18px;
    height: 18px;
}

.site-footer-social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

.site-footer-copyright {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.site-footer-columns {
    display: flex;
    flex: 2 1 320px;
    gap: 64px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer-col {
    display: flex;
    min-width: 140px;
    flex-direction: column;
    gap: 14px;
}

.site-footer-col-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-col a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-footer-col a:hover {
    text-decoration: underline;
}

@media (max-width: 780px) {
    .footer-cta-inner {
        flex-direction: column;
    }

    .footer-cta-side {
        align-items: flex-start;
    }

    .footer-cta-compliance {
        align-items: flex-start;
        text-align: left;
    }

    .footer-cta-compliance-logo-wrap {
        align-self: flex-start;
    }

    .footer-cta-badges {
        align-items: flex-start;
    }

    .footer-cta-badges-label {
        text-align: left;
    }

    .site-footer-main {
        flex-direction: column;
        gap: 36px;
    }

    .site-footer-columns {
        justify-content: flex-start;
        gap: 40px;
    }
}

/* ============================================================
   Admin — Gestão de Conteúdo
   ============================================================ */

.massa-admin-wrap h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.massa-admin-wrap h1 .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #2d7a3a;
}

.massa-section-description {
    color: #646970;
    margin: 0 0 8px;
    font-size: 13px;
}

.massa-media-field {
    margin-bottom: 4px;
}

.massa-media-preview {
    margin-bottom: 12px;
    min-height: 40px;
}

.massa-media-preview img {
    display: block;
    max-width: 320px;
    max-height: 200px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    object-fit: contain;
    background: #f6f7f7;
    padding: 4px;
}

.massa-media-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.massa-media-actions .button-link-delete {
    color: #b32d2e;
    text-decoration: none;
}

.massa-media-actions .button-link-delete:hover {
    color: #8a2020;
}

.massa-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: #fff;
    border: 2px dashed #c3c4c7;
    border-radius: 4px;
    text-align: center;
    color: #646970;
    margin-top: 8px;
}

.massa-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #c3c4c7;
    margin-bottom: 12px;
}

.massa-placeholder p {
    margin: 0 0 4px;
    font-size: 14px;
}

.massa-admin-wrap .form-table th {
    width: 180px;
    padding-top: 16px;
}

.massa-benefit-admin-card,
.massa-testimonial-admin-card,
.massa-testimonial-logo-admin,
.massa-column-admin-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
}

.massa-field-group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.massa-field-group-full {
    grid-column: 1 / -1;
}

.massa-field-group label,
.massa-field-label {
    color: #646970;
    font-size: 12px;
    font-weight: 600;
}

.massa-field-group input,
.massa-field-group textarea {
    width: 100%;
    max-width: 100%;
}

.massa-layout-group {
    max-width: 640px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #dcdcde;
}

.massa-column-admin-card .massa-layout-group {
    max-width: none;
}

.massa-image-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.massa-image-slot {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.massa-image-slot .massa-media-field {
    min-width: 0;
}

.massa-image-slot .massa-media-preview img {
    max-width: 100%;
    max-height: 140px;
}

.massa-image-slot .massa-media-actions {
    flex-wrap: wrap;
}

.massa-icon-field .massa-media-preview {
    min-height: 0;
}

.massa-icon-field .massa-media-preview img {
    max-width: 56px;
    max-height: 56px;
}

.massa-icon-field .massa-media-actions {
    flex-wrap: wrap;
}

.massa-icon-item-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.massa-icon-item-fields {
    display: grid;
    min-width: 240px;
    flex: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.massa-layout-group .massa-field-group {
    margin-bottom: 16px;
}

.massa-layout-group .massa-field-group:last-child {
    margin-bottom: 0;
}

.massa-settings-accordion {
    max-width: 980px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e7e7e9;
    border-radius: 0;
    background: #fff;
    box-sizing: border-box;
}

.massa-settings-accordion:first-of-type {
    border-radius: 12px 12px 0 0;
}

.massa-settings-accordion:last-of-type {
    border-bottom: 0;
    border-radius: 0 0 12px 12px;
}

.massa-admin-wrap .massa-content-form {
    max-width: 980px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(30, 35, 40, 0.08);
}

.massa-settings-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 76px;
    padding: 18px 30px;
    color: #202124;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.massa-settings-accordion__summary:hover {
    background: #fafafa;
}

.massa-settings-accordion__summary::-webkit-details-marker {
    display: none;
}

.massa-settings-accordion__indicator::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 0 4px 1px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.massa-settings-accordion__indicator {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6e7ea;
    border-radius: 50%;
    color: #202124;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.massa-settings-accordion[open] {
    border-left: 4px solid #6746df;
}

.massa-settings-accordion[open] .massa-settings-accordion__summary {
    padding-left: 26px;
    color: #6746df;
}

.massa-settings-accordion[open] .massa-settings-accordion__indicator {
    border-color: #6746df;
    color: #fff;
    background: #6746df;
    box-shadow: 0 5px 12px rgba(103, 70, 223, 0.22);
}

.massa-settings-accordion[open] .massa-settings-accordion__indicator::before {
    margin-top: 4px;
    margin-bottom: 0;
    transform: rotate(225deg);
}

.massa-settings-accordion__content {
    padding: 4px 30px 26px 26px;
    color: #202124;
    background: #fcfcfe;
}

.massa-settings-accordion__content .massa-section-description {
    margin-top: 12px;
}

.massa-settings-accordion__content .form-table {
    margin: 10px 0 0;
}

.massa-settings-accordion__content .form-table th {
    padding-left: 0;
}

.massa-admin-wrap .massa-content-form > .submit {
    margin: 0;
    padding: 20px 30px 24px;
    border-top: 1px solid #e7e7e9;
    background: #fff;
}

@media (max-width: 782px) {
    .massa-admin-wrap .massa-content-form {
        margin-top: 16px;
        border-radius: 8px;
    }

    .massa-settings-accordion__summary {
        min-height: 64px;
        padding: 16px 18px;
        font-size: 15px;
    }

    .massa-settings-accordion[open] .massa-settings-accordion__summary {
        padding-left: 14px;
    }

    .massa-settings-accordion__content {
        padding: 4px 18px 20px 14px;
    }

    .massa-admin-wrap .massa-content-form > .submit {
        padding: 18px;
    }

    .massa-benefit-admin-card,
    .massa-testimonial-admin-card,
    .massa-testimonial-logo-admin,
    .massa-column-admin-card {
        grid-template-columns: 1fr;
    }
}

.massa-admin-wrap h2 {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0 4px;
    border-bottom: 1px solid #f0f0f1;
    margin-bottom: 0;
    color: #1e6e36;
}
