/*
Theme Name: Konecta Jurídico
Theme URI: https://konectaadvocacia.example/
Author: Konecta Dev Team
Author URI: https://konectaadvocacia.example/
Description: Tema WordPress personalizado para Konecta Jurídico inspirado no layout do site Gouvêa & Valadares.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konecta
*/

/* Reset & base typography */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    color: #1a1a1a;
    background-color: #f7f9fb;
    line-height: 1.6;
}

a {
    color: #1b66ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(135deg, #1b66ff, #0a3dd1);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(12, 52, 153, 0.25);
}

.btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.btn--whatsapp:hover {
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.35);
}

.section {
    padding: 80px 0;
}

.section--light {
    background-color: #ffffff;
}

.section--gray {
    background-color: #eef2f7;
}

.section--dark {
    background: #050b15;
    color: #fff;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: #0a2540;
}

.section__subtitle {
    max-width: 720px;
    color: #475569;
    margin-bottom: 2rem;
}

.section__title--light {
    color: #fff;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.75);
}

.grid {
    display: grid;
    gap: 32px;
}

.grid--cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    padding: 32px;
    border-radius: 18px;
    background: #0a0f1a;
    box-shadow: 0 25px 55px -18px rgba(15, 23, 42, 0.45);
    color: #fff;
}

.card__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 1.2rem;
    color: #fff;
}

.card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
}

.card__text {
    color: rgba(255, 255, 255, 0.72);
}

.section--divider .section__title {
    color: #0a2540;
}

.highlight {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(260px, 1fr);
    gap: 32px;
    align-items: center;
}

.highlight__features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(10, 22, 40, 0.92);
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 22px 45px -24px rgba(15, 23, 42, 0.4);
    color: #fff;
}

.highlight__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.22);
    display: grid;
    place-items: center;
    color: #ffffff;
    flex-shrink: 0;
}

.highlight__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.highlight__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.highlight__logo {
    justify-self: center;
}

.highlight__logo img,
.highlight__logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(10, 10, 10, 0.35));
}

.highlight__text {
    background: #0a2540;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 30px 70px -30px rgba(10, 24, 44, 0.6);
    color: #fff;
    display: grid;
    gap: 18px;
}

.highlight__text p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.hero {
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    opacity: 1;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    text-align: center;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-align: justify;
    text-align-last: center;
}

.hero__text {
    font-size: 0.95rem;
    text-align: justify;
    text-align-last: center;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.3);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.navbar__brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2540;
}

.navbar__brand img,
.navbar__logo {
    max-height: 54px;
    width: auto;
    display: block;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    font-weight: 500;
}

.navbar__links li {
    margin: 0;
}

.navbar__links a {
    color: #0a2540;
    transition: color 0.2s ease;
}

.navbar__links a:hover,
.navbar__links a:focus {
    color: #1b66ff;
}

.navbar__cta {
    margin-left: 24px;
}

.navbar--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.35);
}

.footer {
    background: #0a1a2b;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.navbar__links--social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.navbar__links--social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact a {
    color: #fff;
}

.footer__bottom {
    text-align: center;
    font-size: 0.9rem;
}

.testimonials {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
}

.testimonial__quote {
    font-style: italic;
    color: #0f172a;
    margin-bottom: 1rem;
}

.testimonial__author {
    font-weight: 600;
    color: #1b66ff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px -18px rgba(15, 23, 42, 0.3);
}

.news-card__link {
    color: inherit;
    display: block;
    height: 100%;
}

.news-card__thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.news-card__placeholder {
    width: 100%;
    height: 190px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1b66ff, #0a3dd1);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 20px 22px 24px;
    color: #0f172a;
}

.news-card__body {
    padding-bottom: 24px;
}

.news-grid__cta {
    margin-top: 36px;
    text-align: center;
}

/* Temporarily hide news section */
#noticias {
    display: none !important;
}

.news-single__header {
    margin-bottom: 24px;
}

.news-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #64748b;
    font-size: 0.95rem;
}

.news-single__thumb {
    margin: 0 0 28px;
}

.news-single__thumb img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 45px -22px rgba(15, 23, 42, 0.4);
}

.news-single__back {
    margin-top: 40px;
    text-align: center;
}

.page-header {
    margin-bottom: 2rem;
}

.page-content {
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 15px 40px -18px rgba(15, 23, 42, 0.2);
}

.contact {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.section--dark#contato {
    padding: 60px 0;
}

.contact__info {
    display: grid;
    gap: 16px;
}

.contact__details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.contact__details a {
    color: #8fb3ff;
}

.contact__form {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(143, 179, 255, 0.12);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    width: 100%;
}

.contact__notice {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact__notice--success {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

.contact__notice--error {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

.form {
    display: grid;
    gap: 18px;
    width: 100%;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form__group label {
    display: block;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(143, 179, 255, 0.2);
    background: rgba(8, 17, 33, 0.85);
    color: #fff;
    font-size: 1rem;
}

.contact__cta {
    margin-top: 12px;
    width: fit-content;
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: rgba(143, 179, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.btn--full {
    width: 100%;
}

@media (max-width: 768px) {
    .highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .highlight__item {
        justify-content: center;
    }

    .highlight__text {
        text-align: center;
    }

    .highlight__text .btn {
        justify-self: center;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .navbar__menu {
        display: none;
    }

    .hero {
        min-height: 70vh;
        padding: 120px 0 80px;
    }

    .section {
        padding: 60px 0;
    }
}

