/* ---- Diferenciais ---- */
.diferenciais {
    background: linear-gradient(150deg, #142444 0%, #0C1A30 100%);
}

.diferenciais .section-title {
    color: var(--color-white);
}

.diferenciais .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    max-width: none;
    letter-spacing: 0.03em;
}

.diferenciais .section-badge__frame {
    border-color: rgba(255, 255, 255, 0.28);
    background: var(--color-white);
    opacity: 1;
}

.diferenciais-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.diferencial-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(135deg, rgba(210, 220, 235, 0.13) 0%, transparent 50%, rgba(210, 220, 235, 0.07) 100%),
        var(--color-primary);
    border: 1px solid rgba(200, 210, 220, 0.18);
    border-top-color: rgba(215, 225, 240, 0.32);
    border-radius: 14px;
    padding: 5.5rem 3.75rem 2.25rem 2.75rem;
    box-shadow: inset 0 1px 0 rgba(220, 230, 245, 0.18),
                0 2px 12px rgba(0, 0, 0, 0.30);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.diferencial-card:hover {
    border-color: rgba(30, 114, 232, 0.5);
    border-top-color: rgba(30, 114, 232, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 0 0 1px rgba(30, 114, 232, 0.22),
                0 10px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

.diferencial-num {
    position: absolute;
    top: -70px;
    left: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(200, 215, 230, 0.22);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 35px;
    padding-right: 35px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
    line-height: 1;
}

.diferencial-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F7F7F7;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.diferencial-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    flex: 1;
}

@media (min-width: 768px) {
    .diferenciais-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    .diferenciais .section-header {
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
    }
    .diferenciais .section-header .section-title {
        max-width: 14ch;
    }
    .diferenciais .section-subtitle {
        text-align: center;
        margin-inline: auto;
    }
    .diferenciais .section-subtitle br {
        display: none;
    }
}

/* ---- Produtos ---- */
.produtos .section-title,
.produtos .section-subtitle {
    text-align: center;
}

.produtos .section-subtitle {
    margin-inline: auto;
}

.section-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 1.125rem;
}

.section-badge__frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-accent);
    opacity: 0.45;
    transform: rotate(45deg);
    border-radius: 2px;
}

.section-badge__icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.875rem;
}

.section-header .section-badge {
    margin: 0;
    flex-shrink: 0;
}

.section-header .section-title {
    margin-bottom: 0;
}

.produtos-grid {
    display: grid;
    gap: 2rem;
}

.produto-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--trans-card);
    box-shadow: 0 1px 3px rgba(15, 35, 71, 0.06);
    --ty: 0px;
    transform: translateY(var(--ty));
}

.produto-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(15, 35, 71, 0.12);
    transform: translateY(calc(var(--ty) - 3px));
}

.produto-img-wrap {
    height: 160px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.produto-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.produto-card:hover .produto-img-wrap img {
    transform: scale(1.04);
}

.produto-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    margin-inline: auto;
    margin-top: -40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--color-white), 0 4px 16px rgba(15, 35, 71, 0.15);
    transition: background 0.22s ease;
}

.produto-card:hover .produto-icon-wrap,
.produtos-grid .produto-card:nth-child(2) .produto-icon-wrap {
    background: var(--color-primary);
}

.produto-icon-wrap svg {
    width: 36px;
    height: 36px;
}

.produto-body {
    padding: 1rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex: 1;
}

.produto-nome {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.produto-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex-grow: 1;
}

.produto-btn {
    align-self: center;
    margin-top: 0.5rem;
}

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

@media (min-width: 1024px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
        padding-inline: 2.5rem;
    }

    .produtos-grid .produto-card:nth-child(1),
    .produtos-grid .produto-card:nth-child(3) {
        --ty: 28px;
    }
}

/* ---- Sobre ---- */
.sobre-inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sobre-content {
    order: 1;
}

.sobre-texto {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.sobre-content .section-title {
    font-size: clamp(1.5rem, 2.75vw, 2rem);
}

.sobre-titulo-destaque {
    color: var(--color-accent);
}

.sobre-lista {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.75rem;
    list-style: none;
    padding: 0;
}

.sobre-lista li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.9375rem 1.25rem;
    background: rgba(30, 114, 232, 0.05);
    border-radius: 8px;
}

.sobre-lista li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fdfdfd;
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.sobre-img-wrap {
    order: 2;
    position: relative;
}

.sobre-mosaico-caption {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: #E8F0FC;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0 0 10px 10px;
}

/* Mosaico editorial — 3 fotos: 1 principal tall + 2 empilhadas */
.sobre-mosaico {
    display: flex;
    gap: 0.4375rem;
    align-items: stretch;
    width: 100%;
    height: 320px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.sobre-mosaico__principal {
    flex: 0 0 58%;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sobre-mosaico__stack {
    flex: 0 0 calc(42% - 0.4375rem);
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
    height: 100%;
}

.sobre-mosaico__topo,
.sobre-mosaico__base {
    flex: 1 1 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 0;
}

/* Mobile estreito: oculta stack, mostra só foto principal */
@media (max-width: 479px) {
    .sobre-mosaico {
        height: 240px;
    }

    .sobre-mosaico__principal {
        flex: 1 1 100%;
        width: 100%;
    }

    .sobre-mosaico__stack {
        display: none;
    }
}

@media (max-width: 899px) {
    .sobre-content .section-header {
        justify-content: center;
    }
    .sobre-texto {
        text-align: center;
    }
}

@media (min-width: 900px) {
    .sobre-inner {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }

    .sobre-content {
        order: 1;
        flex: 1 1 45%;
    }

    .sobre-img-wrap {
        order: 2;
        flex: 1 1 55%;
    }

    .sobre-mosaico {
        height: 520px;
    }
}

/* ---- Vídeo — layout duas colunas ---- */
.video-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.video-right {
    display: flex;
    flex-direction: column;
    padding-top: 4.5rem;
}

.video-vantagens {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.vantagem-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.vantagem-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.vantagem-icon {
    flex-shrink: 0;
    color: var(--color-success);
    display: flex;
    line-height: 1;
}

.vantagem-icon svg {
    width: 22px;
    height: 22px;
}

.vantagem-body {
    flex: 1;
}

.vantagem-titulo {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-mid);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.vantagem-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Plyr — customização de marca */
.video-player-wrap .plyr {
    --plyr-color-main: var(--color-accent);
    --plyr-font-family: var(--font-body);
    --plyr-control-radius: 6px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(9, 20, 40, 0.22);
}

.video-cta {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.video-cta-text {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.video-cta-btn {
    width: 100%;
    justify-content: space-between;
}

.video-cta-btn .btn-icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .video-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .video-content .section-header {
        justify-content: center;
    }
    .video-content .section-subtitle {
        text-align: center;
        margin-inline: auto;
    }

    .video-right {
        order: -1;
    }

    .video-cta-text {
        text-align: center !important;
    }

    .video-cta-text br {
        display: none !important;
    }
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--color-accent);
    padding-block: 5rem 6rem;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cta-region {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 0.625rem;
}

.cta-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.70);
    max-width: 50ch;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .cta-content {
        flex: 1;
    }
}

.cta-section .section-badge {
    margin: 0 0 1rem;
}

.cta-section .section-badge__frame {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.10);
    opacity: 1;
}

.cta-section .section-badge__icon {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ---- Contato Section ---- */
.contato {
    position: relative;
    background-size: cover;
    background-position: center;
}

.contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 55, 0.80);
    z-index: 0;
}

.contato > .container {
    position: relative;
    z-index: 1;
}

/* ---- Contato Layout ---- */
.contato-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.contato-info {
    background: var(--color-primary-mid);
    color: rgba(255, 255, 255, 0.90);
    border-radius: 10px 10px 0 0;
    padding: 2.75rem 2.25rem;
}

.contato-info .section-header {
    margin-bottom: 0;
}

.contato-info .section-badge__frame {
    border-color: rgba(255, 255, 255, 0.20);
    background: #fff;
    opacity: 1;
}

.contato-info .section-title {
    color: #fff;
    margin-bottom: 0.75rem;
}

.contato-info .section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.62);
    max-width: 42ch;
    margin-bottom: 2.25rem;
    line-height: 1.65;
}

.contato-dados {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.625rem;
    margin-bottom: 2.5rem;
}

.contato-dado {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contato-dado__icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 1px;
}

.contato-dado__content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contato-dado__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.contato-dado__value {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.90);
}

.contato-dado__value a {
    color: inherit;
    text-decoration: none;
}

.contato-dado__value a:hover {
    color: #fff;
}

.contato-whatsapp {
    width: 100%;
    justify-content: center;
}

.contato-form-card {
    background: var(--color-white);
    border-radius: 0 0 10px 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 48px rgba(15, 35, 71, 0.11);
}

@media (min-width: 900px) {
    .contato-layout {
        grid-template-columns: 38fr 62fr;
    }

    .contato-info {
        border-radius: 10px 0 0 10px;
        padding: 3rem 2.5rem;
    }

    .contato-form-card {
        border-radius: 0 10px 10px 0;
        padding: 3rem 2.5rem;
    }
}

/* ---- Página de Contato (sem formulário) ---- */
.contato-page-inner {
    max-width: 640px;
    margin-inline: auto;
}

.contato-page-inner .contato-info {
    border-radius: 10px;
    padding: 3rem 2.75rem;
}

.contato-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 600px) {
    .contato-page-inner .contato-info {
        padding: 2.25rem 1.75rem;
    }
    .contato-page-actions {
        flex-direction: column;
    }
    .contato-page-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---- Formulário ---- */
.orcamento-form {
    max-width: none;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(30, 114, 232, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #B0B7C3;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.required {
    color: var(--color-accent);
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-required-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.form-submit {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    position: relative;
}

.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-feedback {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-feedback.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

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

/* ---- WhatsApp Float ---- */
@keyframes waPulse {
    0%   { transform: scale(1);    opacity: 0.55; }
    70%  { transform: scale(1.62); opacity: 0;    }
    100% { transform: scale(1.62); opacity: 0;    }
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 0 0 14px;
    width: 54px;
    height: 54px;
    border-radius: 27px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    z-index: 200;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                gap 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.2s ease,
                box-shadow 0.2s ease;
    font-family: var(--font-body);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 27px;
    background: #25D366;
    animation: waPulse 2.4s ease-out infinite;
    z-index: -1;
}

.whatsapp-float:hover {
    width: 210px;
    padding: 0 1.25rem 0 1rem;
    gap: 0.6rem;
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.wa-icon {
    flex-shrink: 0;
}

.wa-label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease 0.15s;
}

.whatsapp-float:hover .wa-label {
    max-width: 200px;
    opacity: 1;
}

.whatsapp-float::after {
    content: '1';
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #ff3b30;
    border: 2px solid #fdfdfd;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1;
    pointer-events: none;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        border-radius: 25px;
        padding: 0 0 0 12px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ---- Páginas de Obrigado ---- */
.obrigado {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding-block: 5rem;
}

.obrigado-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 520px;
    margin-inline: auto;
    gap: 1.5rem;
}

.obrigado-icon svg {
    width: 88px;
    height: 88px;
}

.obrigado-titulo {
    color: var(--color-primary);
    margin-bottom: 0;
}

.obrigado-subtitulo {
    color: var(--color-text-secondary, #555);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

.obrigado-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    .obrigado-actions .btn {
        width: 100%;
        justify-content: center;
    }
}