/* =====================================================================
   Gislene Pacheco Advocacia - camada de melhorias visuais
   Carregada DEPOIS de landing-page.css (o CSS original do tema, intacto).
   Mesmas cores, fontes e estrutura; aqui so entram refinamentos:
   legibilidade, espacamento, sombras, estados de hover/foco e, sobretudo,
   o comportamento em tablets e celulares (o CSS original so tinha regras
   para telas menores que 576px).
   ===================================================================== */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: light; /* o site e claro; impede "modo escuro automatico" do navegador */
}

body {
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    padding-left: 24px;
    padding-right: 24px;
}

/* ---------------------------------------------------------------- botoes */
.button-wpp {
    box-shadow: 0 8px 20px rgba(0, 183, 28, 0.22);
    will-change: transform;
}

.button-wpp:hover,
.button-wpp:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 183, 28, 0.32);
}

.button-wpp .icon img {
    display: block;
}

/* ------------------------------------------------------------------ hero */
.hero {
    background-position: center center;
    isolation: isolate;
}

/* veu escuro em degrade: o titulo dourado e o texto branco ganham contraste
   sobre a foto, sem esconder a foto */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 30, 0.72) 0%, rgba(0, 0, 30, 0.42) 48%, rgba(0, 0, 30, 0.18) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero > header,
.hero > .container {
    position: relative;
    z-index: 1;
}

.hero .wave {
    z-index: 1;
}

.hero-textarea h1 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    letter-spacing: -0.5px;
}

.hero-textarea h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), #e3c25e);
    margin-top: 18px;
}

.hero-textarea p {
    font-size: 19px;
    line-height: 1.6;
    max-width: 420px;
    margin-top: 18px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-picture img {
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.5));
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.header-button .button-wpp {
    margin-top: 0;
}

/* -------------------------------------------------------------- servicos */
.services {
    padding-top: 40px;
}

.services h2 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.25;
}

.service {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 30, 0.06);
    background: #fff;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(182, 140, 43, 0.18);
}

.service.highlight {
    background: linear-gradient(180deg, rgba(182, 140, 43, 0.06) 0%, #fff 160px);
    box-shadow: 0 14px 34px rgba(182, 140, 43, 0.16);
}

.wanted {
    border-radius: 0 14px 0 12px;
    letter-spacing: 0.04em;
    font-size: 13px;
    padding: 9px 14px;
}

.service h4 {
    margin-bottom: 22px;
}

.service ul {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
}

.service li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 7px;
    line-height: 1.45;
}

.service li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(182, 140, 43, 0.14);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23b68c2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.service img.icon {
    filter: drop-shadow(0 6px 10px rgba(182, 140, 43, 0.25));
}

/* ----------------------------------------------------------------- sobre */
.about {
    background: radial-gradient(900px 500px at 15% 0%, rgba(182, 140, 43, 0.16), transparent 70%), var(--helper-color);
}

.about h2 strong {
    color: var(--primary-color);
}

.about .image {
    border-radius: 14px;
    overflow: hidden;
}

.about .image img {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.unit-b {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.unit-b h4 {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0;
}

.unit-b p {
    color: #e3c25e;
    font-weight: 600;
}

.about-text {
    line-height: 1.6;
}

.about-text > p + p {
    margin-top: 16px;
}

.about-text .featured-text {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------------------------------------------------------- transparencia */
.transparency {
    background: linear-gradient(180deg, #fff 0%, #faf7ef 100%);
}

.transparency .text p {
    line-height: 1.7;
}

.transparency .text .lead-strong {
    margin-top: 22px;
    color: var(--helper-color);
}

.transparency .text .lead-strong strong {
    color: var(--secondary-color);
}

.transparency-box {
    background: linear-gradient(145deg, #c49a33 0%, var(--primary-color) 60%, #9c7820 100%);
    box-shadow: 0 24px 50px rgba(182, 140, 43, 0.35);
    border-radius: 18px;
}

.transparency-box .box-title {
    letter-spacing: 0.08em;
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 18px;
}

.transparency-box ul {
    margin: 0;
    padding: 0;
}

.transparency-box li {
    padding: 14px 0 14px 18px;
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.transparency-box li + li {
    margin-top: 10px;
}

.transparency-box li em {
    opacity: 0.9;
    font-size: 15px;
}

/* ------------------------------------------------------------ dois blocos */
.doisblocos {
    padding: 70px 0;
}

.doisblocos h3 strong {
    color: var(--helper-color);
}

.bloco-1,
.bloco-2 {
    border-radius: 16px;
    padding: 36px;
    background: linear-gradient(145deg, #c49a33 0%, var(--primary-color) 70%);
    box-shadow: 0 16px 40px rgba(182, 140, 43, 0.25);
    line-height: 1.7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloco-1:hover,
.bloco-2:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(182, 140, 43, 0.32);
}

.bloco-1 .heading-text,
.bloco-2 .heading-text {
    margin-bottom: 14px;
    line-height: 1.25;
}

/* ---------------------------------------------------------- chamada final */
.calltoaction {
    padding: 70px 24px;
}

.calltoaction h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--helper-color);
}

.calltoaction p:first-child {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- rodape */
footer {
    position: relative;
    line-height: 1.7;
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

footer h4 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    margin-bottom: 14px;
}

footer ul {
    list-style: none;
}

footer li {
    position: relative;
    padding-left: 16px;
}

footer li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

footer a:hover {
    color: var(--primary-color);
}

/* links de texto do rodape e do subrodape: area de toque >= 32px no celular */
footer .f-item p a,
.subfooter a {
    display: inline-block;
    padding: 6px 2px;
    margin: -6px -2px;
}

footer .button-wpp {
    max-width: 320px;
}

.subfooter {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.subfooter .who {
    opacity: 0.85;
}

/* ------------------------------------------------------ botao fixo WhatsApp */
.wpp-fixed {
    z-index: 50;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.wpp-fixed a {
    display: block;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.wpp-fixed a:hover {
    transform: scale(1.07);
}

.wpp-fixed img {
    display: block;
}

.wpp-fixed::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--whatsapp-color);
    animation: wpp-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes wpp-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .wpp-fixed::after { animation: none; }
    .button-wpp, .service, .bloco-1, .bloco-2, .wpp-fixed a { transition: none; }
}

/* =====================================================================
   RESPONSIVO - o tema original pulava de desktop direto para < 576px.
   ===================================================================== */

/* notebooks pequenos / tablets em paisagem */
@media (max-width: 1100px) {
    h1 { font-size: 44px; line-height: 50px; }
    h2 { font-size: 34px; }
    h3 { font-size: 30px; }
    h4 { font-size: 24px; }

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

    .about-grid,
    .transparency-grid {
        grid-gap: 40px;
    }
}

/* tablets em retrato */
@media (max-width: 900px) {
    section { padding: 50px 0; }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 40px;
    }

    .hero-text {
        justify-content: center;
        padding: 20px 0 10px;
    }

    .hero-textarea h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-textarea p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-picture {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-picture img {
        max-width: 300px;
    }

    .wave {
        height: 160px;
    }

    .about-grid,
    .transparency-grid,
    .doisblocos-grid {
        grid-template-columns: 1fr;
    }

    .about h2 {
        margin-bottom: 40px;
    }

    .units {
        max-width: 526px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 36px 30px;
    }

    .modal-content {
        max-width: 90%;
    }
}

/* celulares grandes */
@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service.wide {
        grid-row: auto;
    }

    .header-button .button-wpp {
        padding: 10px 18px;
        font-size: 14px;
    }

    .logo img {
        max-width: 220px;
    }

    .hero-picture img {
        max-width: 240px;
    }

    .wave {
        height: 110px;
    }
}

/* celulares (complementa o bloco < 576px do CSS original) */
@media (max-width: 576px) {
    body { font-size: 16px; }

    /* o CSS original poe o h1 em 32px aqui; a regra de 1100px acima (44px)
       venceria por vir depois, entao o tamanho de celular e reafirmado */
    h1 {
        font-size: 34px;
        line-height: 40px;
        overflow-wrap: anywhere;
    }

    .logo {
        margin-top: 10px;
        justify-content: center;
    }

    .logo img {
        max-width: 200px;
    }

    .hero-grid {
        padding-bottom: 30px;
    }

    .hero-text {
        padding-top: 10px;
    }

    .hero-textarea p {
        font-size: 17px;
    }

    .hero-picture img {
        max-width: 200px;
    }

    .wave {
        height: 80px;
    }

    .services h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .services-text {
        font-size: 18px;
        line-height: 1.5;
    }

    .services-grid {
        margin-top: 40px;
        grid-gap: 20px;
    }

    .service {
        padding: 26px 22px;
    }

    .about h2,
    .doisblocos h3,
    .transparency .text h3,
    .calltoaction h3 {
        font-size: 28px;
        line-height: 1.3;
    }

    .about {
        font-size: 17px;
    }

    .transparency-box {
        padding: 28px 22px;
    }

    .bloco-1,
    .bloco-2 {
        padding: 28px 22px;
    }

    .heading-text {
        font-size: 24px;
    }

    .calltoaction {
        padding: 50px 20px;
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        grid-gap: 32px;
    }

    footer li {
        padding-left: 0;
    }

    footer li::before {
        display: none;
    }

    footer .button-wpp {
        margin-left: auto;
        margin-right: auto;
    }

    .subfooter-grid {
        gap: 6px;
    }

    .wpp-fixed {
        right: 16px;
        bottom: 16px;
    }
}

/* celulares estreitos (iPhone SE, Galaxy pequenos) */
@media (max-width: 360px) {
    h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .services h2 {
        font-size: 24px;
    }
}
