/* ==========================================================================
   Contato (Contact) Page Styles
   Proffunda - Cravacao de Estacas
   WhatsApp-focused contact page: CTA hero, contact info, map
   Premium corporate aesthetic inspired by kiewit.com
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CONTACT SECTION & GRID
   -------------------------------------------------------------------------- */

.contato-section {
    width: 100%;
    background-color: var(--cor-branco, #FFFFFF);
}

.contato-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 768px) {
    .contato-grid {
        flex-direction: row;
        gap: 0;
        align-items: stretch;
        min-height: 540px;
    }
}

@media (min-width: 1024px) {
    .contato-grid {
        min-height: 580px;
    }
}

@media (min-width: 1280px) {
    .contato-grid {
        min-height: 620px;
    }
}


/* --------------------------------------------------------------------------
   2. WHATSAPP CTA HERO  (.contato-whatsapp-hero)
   -------------------------------------------------------------------------- */

.contato-whatsapp-hero {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    background-color: var(--superficie-escura, #191919);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--cor-verde, #367630);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.22),
        0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .contato-whatsapp-hero {
        flex: 0 0 55%;
        max-width: 55%;
        padding: 56px 40px;
    }
}

@media (min-width: 1024px) {
    .contato-whatsapp-hero {
        padding: 72px 56px;
    }

}

@media (min-width: 1280px) {
    .contato-whatsapp-hero {
        padding: 80px 64px;
    }
}


/* -- Overline label (uses global .overline, scoped tweaks here) -- */

.contato-whatsapp-hero .overline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.contato-whatsapp-hero .overline::before {
    background-color: var(--cor-verde, #367630);
}


/* -- Hero title -- */

.contato-whatsapp-hero-title {
    position: relative;
    z-index: 1;
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--cor-branco, #FFFFFF);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .contato-whatsapp-hero-title {
        font-size: 1.85rem;
        margin-bottom: 18px;
    }
}

@media (min-width: 1024px) {
    .contato-whatsapp-hero-title {
        font-size: 2.15rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 1280px) {
    .contato-whatsapp-hero-title {
        font-size: 2.35rem;
    }
}


/* -- Hero description -- */

.contato-whatsapp-hero-desc {
    position: relative;
    z-index: 1;
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 0.95rem;
    font-weight: var(--peso-regular, 400);
    color: #A8A8A8;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 440px;
}

@media (min-width: 768px) {
    .contato-whatsapp-hero-desc {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .contato-whatsapp-hero-desc {
        font-size: 1.05rem;
        margin-bottom: 40px;
        max-width: 480px;
    }
}

@media (min-width: 1280px) {
    .contato-whatsapp-hero-desc {
        font-size: 1.1rem;
        margin-bottom: 44px;
    }
}


/* -- WhatsApp CTA button -- */

.contato-whatsapp-hero-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background-color: var(--cor-verde, #367630);
    color: var(--cor-branco, #FFFFFF);
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 1.05rem;
    font-weight: var(--peso-semibold, 600);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contato-whatsapp-hero-btn:hover {
    background-color: #2d6528;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contato-whatsapp-hero-btn:active {
    background-color: #245220;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.contato-whatsapp-hero-btn:focus-visible {
    outline: 2px solid var(--cor-verde, #367630);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .contato-whatsapp-hero-btn {
        padding: 18px 44px;
    }
}

@media (min-width: 1024px) {
    .contato-whatsapp-hero-btn {
        font-size: 1.1rem;
        padding: 20px 48px;
    }
}

@media (min-width: 1280px) {
    .contato-whatsapp-hero-btn {
        font-size: 1.15rem;
        padding: 22px 52px;
    }
}


/* -- Phone number display -- */

.contato-whatsapp-hero-phone {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 24px;
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 1.1rem;
    font-weight: var(--peso-medium, 500);
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .contato-whatsapp-hero-phone {
        margin-top: 26px;
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .contato-whatsapp-hero-phone {
        font-size: 1.25rem;
        margin-top: 28px;
    }
}

@media (min-width: 1280px) {
    .contato-whatsapp-hero-phone {
        font-size: 1.3rem;
        margin-top: 32px;
    }
}


/* --------------------------------------------------------------------------
   3. CONTACT INFO CARD  (.contato-info)
   -------------------------------------------------------------------------- */

.contato-info {
    width: 100%;
    order: 2;
    background-color: var(--cor-off-white, #F5F5F5);
    border-left: 4px solid var(--cor-verde, #367630);
    padding: 36px 24px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .contato-info {
        flex: 0 0 45%;
        max-width: 45%;
        padding: 48px 36px;
        border-left: 4px solid var(--cor-verde, #367630);
    }
}

@media (min-width: 1024px) {
    .contato-info {
        padding: 56px 44px;
    }
}

@media (min-width: 1280px) {
    .contato-info {
        padding: 64px 52px;
    }
}


/* -- Info card title -- */

.contato-info-title {
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 1.2rem;
    font-weight: var(--peso-bold, 700);
    color: var(--cor-preto, #0D0D0D);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .contato-info-title {
        font-size: 1.3rem;
    }
}

@media (min-width: 1024px) {
    .contato-info-title {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }
}

@media (min-width: 1280px) {
    .contato-info-title {
        font-size: 1.5rem;
        margin-bottom: 36px;
    }
}


/* -- Info items container -- */

.contato-info-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* -- Individual info items -- */

.contato-info-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 22px 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--cor-verde, #367630);
}

.contato-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

@media (min-width: 1024px) {
    .contato-info-item {
        gap: 18px;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
}


/* -- Item layout (icon-free, corporate) -- */


/* -- Item text block -- */

.contato-info-item > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contato-info-item strong {
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 0.7rem;
    font-weight: var(--peso-semibold, 600);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--cor-cinza-medio, #6B6B6B);
    line-height: 1.4;
}

.contato-info-item a,
.contato-info-item span {
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 0.95rem;
    font-weight: var(--peso-medium, 500);
    color: var(--cor-preto, #0D0D0D);
    line-height: 1.55;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-info-item a:hover {
    color: var(--cor-verde, #367630);
}

.contato-info-item a:focus-visible {
    outline: 2px solid var(--cor-verde, #367630);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .contato-info-item strong {
        font-size: 0.72rem;
        letter-spacing: 1.3px;
    }

    .contato-info-item a,
    .contato-info-item span {
        font-size: 1rem;
    }
}


/* -- Responsavel & CNPJ sections -- */

.contato-info-responsavel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--cor-cinza-claro, #E8E8E8);
}

.contato-info-responsavel + .contato-info-responsavel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contato-info-responsavel strong {
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 0.7rem;
    font-weight: var(--peso-semibold, 600);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--cor-cinza-medio, #6B6B6B);
    line-height: 1.4;
}

.contato-info-responsavel span {
    font-family: var(--font-principal, 'Poppins', sans-serif);
    font-size: 0.95rem;
    font-weight: var(--peso-medium, 500);
    color: var(--cor-preto, #0D0D0D);
    line-height: 1.55;
}

@media (min-width: 1024px) {
    .contato-info-responsavel {
        margin-top: 28px;
        padding-top: 24px;
    }

    .contato-info-responsavel + .contato-info-responsavel {
        margin-top: 20px;
        padding-top: 20px;
    }

    .contato-info-responsavel strong {
        font-size: 0.72rem;
        letter-spacing: 1.3px;
    }

    .contato-info-responsavel span {
        font-size: 1rem;
    }
}


/* --------------------------------------------------------------------------
   4. MAP SECTION  (.contato-mapa)
   -------------------------------------------------------------------------- */

.contato-mapa {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.contato-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.contato-mapa:hover iframe {
    filter: grayscale(0%);
}

@media (min-width: 480px) {
    .contato-mapa {
        height: 340px;
    }
}

@media (min-width: 768px) {
    .contato-mapa {
        height: 380px;
    }
}

@media (min-width: 1024px) {
    .contato-mapa {
        height: 400px;
    }
}

@media (min-width: 1280px) {
    .contato-mapa {
        height: 420px;
    }
}


/* --------------------------------------------------------------------------
   5. ANIMATIONS
   -------------------------------------------------------------------------- */

/* Pulse animation removed — no animated effects for corporate aesthetic */


/* --------------------------------------------------------------------------
   6. RESPONSIVE REFINEMENTS
   -------------------------------------------------------------------------- */

/* Mobile-first: stacked layout, tighter spacing */
@media (max-width: 767px) {
    .contato-whatsapp-hero {
        border-radius: 0;
    }

    .contato-info {
        border-left: none;
        border-top: 4px solid var(--cor-verde, #367630);
    }
}

/* Tablet: side-by-side layout kicks in */
@media (min-width: 768px) {
    .contato-section .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .contato-grid {
        overflow: hidden;
        border-radius: 0;
    }
}

/* Desktop: enhanced spacing and visual weight */
@media (min-width: 1024px) {
    .contato-section .container {
        max-width: 100%;
    }
}


/* --------------------------------------------------------------------------
   7. ACCESSIBILITY & MOTION PREFERENCES
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .contato-whatsapp-hero-btn {
        transition: none;
    }

    .contato-mapa iframe {
        transition: none;
    }
}

/* High contrast adjustments */
@media (prefers-contrast: high) {
    .contato-whatsapp-hero {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .contato-info {
        border-left-width: 5px;
    }

    .contato-info-item {
        border-bottom-color: rgba(0, 0, 0, 0.15);
    }

    .contato-whatsapp-hero-desc {
        color: #C0C0C0;
    }
}


/* --------------------------------------------------------------------------
   8. PRINT STYLES
   -------------------------------------------------------------------------- */

@media print {
    .contato-whatsapp-hero {
        background-color: #FFFFFF !important;
        color: #000000 !important;
        box-shadow: none !important;
        border: 1px solid #CCCCCC;
    }

    .contato-whatsapp-hero-title {
        color: #000000 !important;
    }

    .contato-whatsapp-hero-desc {
        color: #333333 !important;
    }

    .contato-whatsapp-hero-btn {
        background-color: #CCCCCC !important;
        color: #000000 !important;
        box-shadow: none !important;
    }

    .contato-whatsapp-hero-phone {
        color: #000000 !important;
    }

    .contato-mapa {
        display: none;
    }

    .contato-info {
        box-shadow: none;
        border: 1px solid #CCCCCC;
    }
}
