/*
    contato.css — Estilos para a página de Contato.
    Referência: app/Views/Contato.php
*/
/* Estilos específicos para a página Quem Somos — layout moderno, aproveitando paleta do site */

.page-hero.contato {
    min-height: 56vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fb 0%, #f1f5f9 50%, #e8edf5 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-hero.contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.page-hero.contato::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.page-hero.contato .hero-inner {
    padding: 72px 24px;
    position: relative;
    z-index: 2;
}

.page-hero.contato .hero-content {
    max-width: 700px;
}

.page-hero.contato .contato-title {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    line-height: 1.15;
    background: linear-gradient(to right, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero.contato .contato-sub {
    color: #64748b;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
    letter-spacing: 0.2px;
}

.page-quem-somos .contato-inner {
    padding: 64px 24px;
    position: relative;
    z-index: 2;
}

.page-quem-somos .contato-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--light);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-quem-somos .contato-sub {
    color: rgba(255, 255, 255, 0.97);
    margin-top: 12px;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 600px;
}

/* Container principal */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
    margin-top: -40px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
}

.about-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(10, 20, 30, 0.05);
}

.about-content .subtitle {
    color: var(--secondary);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px
}

.about-content .title {
    color: var(--primary);
    font-size: 1.85rem;
    margin-bottom: 12px
}

.about-content .description {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.65
}

.stats-grid {
    display: flex;
    gap: 18px;
    margin-top: 18px
}

.stat-item {
    background: var(--green-light-bg);
    color: var(--green-light-text);
    flex: 1;
    padding: 18px;
    border-radius: 8px;
    text-align: center
}

.stat-item .number {
    font-size: 1.4rem;
    font-weight: 700;
    display: block
}

/* Sidebar cards: Missão / Visão / Valores */
.about-side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.info-card {
    background: linear-gradient(180deg, var(--light), #fff);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(30, 14, 8, 0.04);
    transition: transform .18s ease, box-shadow .18s ease
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(8, 20, 30, 0.06)
}

.info-card .heading {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center
}

.info-card .heading .icon {
    color: var(--accent-fill);
    font-size: 18px
}

.info-card .text {
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.5
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px
}

.value-item {
    background: var(--green-dark-bg);
    color: var(--green-dark-text);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center
}

@media (max-width:900px) {
    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accent bar and small decorative touches */
.about-accent {
    display: inline-block;
    height: 6px;
    width: 80px;
    background: linear-gradient(90deg, var(--secondary), var(--accent-color));
    border-radius: 4px;
    margin-bottom: 12px
}

/* Values icons */
.value-item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center
}

.value-item .icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit
}

/* Small navigational pills for quick access */
.about-nav {
    display: flex;
    gap: 10px;
    margin: 8px 0 18px
}

.about-nav a {
    color: var(--primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(9, 9, 11, 0.04);
    background: transparent;
    font-weight: 600
}

.about-nav a:hover,
.about-nav a:focus {
    background: var(--green-light-bg);
    color: var(--green-light-text);
    outline: none
}

/* Button tweak for page CTA */
.about-content .btn-action {
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(11, 107, 60, 0.08)
}

/* Small helper spacing */
.section {
    padding: 48px 0
}

.container {
    padding: 0 24px
}

/* Focus and accessibility */
a:focus,
button:focus,
.info-card:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(9, 93, 70, 0.12)
}

/* Harmonização com footer */
.page-quem-somos .footer {
    margin-top: 40px
}

/* Minor responsive tweaks */
@media (max-width:600px) {
    .about-content {
        padding: 20px
    }

    .about-accent {
        width: 48px
    }

    .value-item .icon {
        display: none
    }
}

/* ===== Quem Somos — estilos modernos e dinâmicos ===== */
:root {
    /* Paleta Ramalho Moreira (ajuste para os códigos oficiais) */
    --rm-primary: #0B6B3C;
    /* verde profundo */
    --rm-secondary: #095D46;
    /* verde petróleo */
    --rm-accent: #38B49D;
    /* verde/teal de destaque */
    --rm-gold: #E7B416;
    /* dourado suave (opcional) */
    --rm-graphite: #0F1419;
    /* grafite */
    --light: #ffffff;
    --text-dark: #111418;
    --text-gray: #475569;
}

/* Utilitários básicos */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-primary {
    background: var(--rm-primary);
    color: var(--light);
    box-shadow: 0 10px 24px rgba(11, 107, 60, .18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11, 107, 60, .26);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
}

/* ===== contato (com duas variantes) ===== */
.contato {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0B6B3C 0%, #095D46 50%, #0D7E52 100%);
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(56, 180, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 180, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contato .contato-inner {
    min-height: 68vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.contato-title {
    font-size: clamp(2.2rem, 5.2vw, 3.6rem);
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contato-sub,
.contato-desc {
    max-width: 700px;
    opacity: 0.98;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
}

.contato-cta {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.contato-cta .btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0B6B3C;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    font-weight: 700;
}

.contato-cta .btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.contato-cta .btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
}

.contato-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contato-metrics {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.contato-metrics .metric {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 20px 24px;
    border-radius: 14px;
    min-width: 200px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contato-metrics .metric:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-4px);
}

.contato-metrics .metric .number {
    font-weight: 800;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 6px;
}

.contato-metrics .metric .label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    background: transparent;
    color: #fff;
    border: none;
    font-size: 20px;
    opacity: .8;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* Variant A: full-bleed media (vídeo/imagem) com overlay */
.contato--variant-a .contato-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contato--variant-a .contato-media img,
.contato--variant-a .contato-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contato--variant-a .overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(127, 128, 127, 0.55));
}

.contato--variant-a .contato-inner {
    position: relative;
    z-index: 2;
}

/* ===== Conteúdo Quem Somos ===== */
.page-quem-somos .section {
    padding: 56px 0;
}

.page-quem-somos .title {
    font-size: 1.95rem;
    color: var(--rm-primary);
    margin-bottom: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), #fff);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(10, 20, 30, .05);
}

.about-accent {
    display: inline-block;
    height: 6px;
    width: 80px;
    background: linear-gradient(90deg, var(--rm-secondary), var(--rm-accent));
    border-radius: 4px;
    margin-bottom: 12px;
}

.description {
    color: var(--text-gray);
    line-height: 1.7;
}

.stats-grid {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}

.stat-item {
    background: #F0F9F7;
    color: #0a6b3c;
    flex: 1;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
}

.stat-item .number {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: linear-gradient(180deg, var(--light), #fff);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(8, 20, 30, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(8, 20, 30, .08);
}

.info-card .heading {
    font-weight: 700;
    color: var(--rm-primary);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.info-card .text {
    color: var(--text-gray);
    font-size: .98rem;
    line-height: 1.55;
}

/* Navegação de âncoras */
.about-nav {
    display: flex;
    gap: 10px;
    margin: 8px 0 18px;
}

.about-nav a {
    color: var(--rm-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(9, 9, 11, .06);
    font-weight: 600;
}

.about-nav a:hover {
    background: #F0F9F7;
    color: #0a6b3c;
}

/* Clientes */
/* Container e títulos */
section#clientes .title {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    color: var(--rm-primary, #0B6B3C);
    margin-bottom: 8px;
}

section#clientes .clientes-header .clientes-subtitle {
    color: var(--text-gray, #475569);
    margin-bottom: 16px;
}

/* Grade de badges */
section#clientes ul.client-badges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

/* Pílula moderna com micro-interação */
section#clientes ul.client-badges>li.client-badge {
    position: relative;
    background: #f7fafc;
    color: #87d131;
    border: 1px solid rgba(47, 100, 22, 0.18);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Efeito hover/focus acessível */
section#clientes ul.client-badges>li.client-badge:hover,
section#clientes ul.client-badges>li.client-badge:focus-within {
    transform: translateY(-2px);
    border-color: #0B6B3C;
    box-shadow: 0 10px 22px rgba(19, 190, 108, 0.1);
}

/* Texto interno (mantém legibilidade) */
section#clientes .client-badge__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modo escuro opcional */
@media (prefers-color-scheme: dark) {
    section#clientes ul.client-badges>li.client-badge {
        background: rgba(255, 255, 255, 0.06);
        color: #e5e7eb;
        border-color: rgba(255, 255, 255, 0.18);
    }

    section#clientes ul.client-badges>li.client-badge:hover {
        border-color: #38B49D;
        box-shadow: 0 10px 22px rgba(68, 238, 111, 0.18);
    }
}

/* Acessibilidade e foco */
a:focus,
button:focus,
.info-card:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(9, 93, 70, .12);
}

/* Responsividade */
@media (max-width: 600px) {
    .about-content {
        padding: 20px;
    }

    .contato-cta {
        flex-wrap: wrap;
    }
}

.contato {
    height: 70vh;
    background:
        linear-gradient(rgba(33, 185, 66, 0.55), rgba(35, 206, 20, 0.55)),
        url("/assets/images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
}

.contato-title {
    font-size: 4.6rem;
    color: var(--light);
}

.contato-title {
    font-size: clamp(3rem, 6.6vw, 5.2rem);
    line-height: 1.1;
    margin: 0 0 0px;
}

.contato-sub {
    max-width: 700px;
    opacity: .95;
}

.contato-sub {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 10px
}

/* Botão Enviar */
.btn-enviar {
    background: #16b91e;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-enviar:hover {
    background: #123505;
    transform: translateY(-3px);
}

/* ===== Estilos modernos para o formulário de contato ===== */
.contact-main {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 107, 60, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.95rem;
    color: var(--rm-primary, #0B6B3C);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-gray, #475569);
    font-size: 0.98rem;
    line-height: 1.6;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Input Group - Floating Labels */
.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #0F1419;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--rm-primary, #0B6B3C);
    box-shadow: 0 0 0 3px rgba(11, 107, 60, 0.1);
}

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

/* Floating Label Effect */
.input-group label {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 1rem;
    color: #78909C;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left center;
    background: #fff;
    padding: 0 4px;
}

/* Label animado quando há valor ou focus */
.modern-form input:not(:placeholder-shown)~label,
.modern-form input:focus~label,
.modern-form textarea:not(:placeholder-shown)~label,
.modern-form textarea:focus~label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--rm-primary, #0B6B3C);
    font-weight: 600;
}

/* Para selects - sem placeholder, então precisamos usar JS */
.modern-form select~label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--rm-primary, #0B6B3C);
    font-weight: 600;
}

/* Input Row para campos lado a lado */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}

/* Button styles */
.btn-enviar {
    background: var(--rm-primary, #0B6B3C);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(11, 107, 60, 0.2);
}

.btn-enviar:hover {
    background: var(--rm-secondary, #095D46);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 107, 60, 0.3);
}

.btn-enviar:active {
    transform: translateY(0);
}

.btn-enviar i {
    font-size: 0.95rem;
}

/* Contact Sidebar - Centralizado e Moderno */
.contact-sidebar {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sidebar-wrapper {
    width: 100%;
    max-width: 900px;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-header h2 {
    font-size: 2.2rem;
    color: var(--rm-primary, #0B6B3C);
    margin-bottom: 8px;
    font-weight: 700;
}

.sidebar-header p {
    color: var(--text-gray, #475569);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.channel-card {
    background: linear-gradient(135deg, rgba(11, 107, 60, 0.02), rgba(56, 180, 157, 0.02));
    border: 2px solid rgba(11, 107, 60, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rm-primary, #0B6B3C), var(--rm-accent, #38B49D));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover {
    border-color: var(--rm-primary, #0B6B3C);
    box-shadow: 0 20px 45px rgba(11, 107, 60, 0.15);
    transform: translateY(-8px);
}

.channel-card:hover::before {
    transform: scaleX(1);
}

.channel-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--rm-primary, #0B6B3C), var(--rm-accent, #38B49D));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(11, 107, 60, 0.15);
}

.channel-card:hover .channel-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 15px 35px rgba(11, 107, 60, 0.25);
}

.channel-content h4 {
    font-size: 1.35rem;
    color: var(--text-dark, #0F1419);
    margin-bottom: 8px;
    font-weight: 700;
}

.channel-content p {
    color: var(--text-gray, #475569);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.channel-link {
    color: var(--rm-primary, #0B6B3C);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.25s ease;
    position: relative;
    padding-bottom: 2px;
}

.channel-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rm-accent, #38B49D);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover .channel-link::after {
    width: 100%;
}

.channel-link:hover {
    color: var(--rm-accent, #38B49D);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location-info strong {
    color: var(--text-dark, #0F1419);
    font-weight: 700;
}

.location-info span {
    color: var(--text-gray, #475569);
    font-size: 0.92rem;
}

.whatsapp-card .channel-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.email-card .channel-icon {
    background: linear-gradient(135deg, #dfb646, #d1c23c);
}

.location-card .channel-icon {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(11, 107, 60, 0.08);
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 107, 60, 0.08);
    color: var(--rm-primary, #0B6B3C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(11, 107, 60, 0.1);
}

.social-link:hover {
    background: var(--rm-primary, #0B6B3C);
    color: #fff;
    transform: translateY(-6px) scale(1.1);
    border-color: var(--rm-primary, #0B6B3C);
    box-shadow: 0 12px 28px rgba(11, 107, 60, 0.2);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .sidebar-header h2 {
        font-size: 1.8rem;
    }

    .sidebar-header p {
        font-size: 1rem;
    }

    .contact-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .channel-card {
        padding: 24px 20px;
    }

    .channel-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .sidebar-header {
        margin-bottom: 32px;
    }

    .sidebar-header h2 {
        font-size: 1.5rem;
    }

    .sidebar-header p {
        font-size: 0.95rem;
    }

    .contact-channels {
        gap: 16px;
        margin-bottom: 32px;
    }

    .channel-card {
        padding: 20px 16px;
    }

    .channel-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
        font-size: 1.4rem;
    }

    .channel-content h4 {
        font-size: 1.15rem;
    }

    .channel-content p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 16px;
    }

    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* Feedback messages */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    display: block;
    background: #F0F9F7;
    color: var(--rm-primary, #0B6B3C);
    border: 1px solid rgba(11, 107, 60, 0.2);
}

.form-message.error {
    display: block;
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state */
.btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-enviar.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   UPLOAD DE ARQUIVO - Estilos
========================================== */

.file-upload-group {
    position: relative;
    margin-bottom: 20px;
}

.file-upload-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    border: 2px dashed #E2E8F0;
    border-radius: 8px;
    background: #F9FAFB;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #64748B;
}

.file-upload-label:hover {
    border-color: var(--rm-primary, #0B6B3C);
    background: rgba(11, 107, 60, 0.02);
}

.file-upload-label:active {
    transform: scale(0.98);
}

.file-input {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
}

.file-upload-label i {
    font-size: 1.2rem;
    color: var(--rm-primary, #0B6B3C);
    margin-right: 12px;
    flex-shrink: 0;
}

.file-text {
    flex-grow: 1;
    font-weight: 500;
}

.file-size-info {
    display: block;
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 4px;
    position: absolute;
    bottom: 4px;
    right: 12px;
}

.file-name {
    margin-top: 12px;
    padding: 12px;
    background: #F0F9F7;
    border-radius: 6px;
    border-left: 3px solid var(--rm-primary, #0B6B3C);
    display: none;
}

.file-name.show {
    display: block;
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rm-primary, #0B6B3C);
    font-size: 0.9rem;
    font-weight: 500;
}

.file-selected i {
    color: #22C55E;
    font-size: 1rem;
}

/* Dark Mode - Upload */
html.dark-mode .file-upload-label {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

html.dark-mode .file-upload-label:hover {
    border-color: var(--secondary);
    background: rgba(197, 160, 89, 0.05);
}

html.dark-mode .file-name {
    background: rgba(11, 107, 60, 0.15);
    border-left-color: var(--secondary);
    color: var(--text-primary);
}