/*
Theme Name: GoldChat
Theme URI: https://goldchat.ia.br
Author: GoldChat IA
Description: Tema personalizado da GoldChat IA.
Version: 1.0.1
Text Domain: goldchat
*/

:root {
    --navy: #071525;
    --navy-soft: #10263f;
    --blue: #1c6b95;
    --cyan: #35c3cd;
    --gold: #d8aa58;
    --cream: #f8f5ee;
    --white: #ffffff;
    --text: #14202d;
    --muted: #667382;
    --border: #e7e9ec;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 850px;
}

.site-header {
    position: sticky;
    top: 32px;
    z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    width: 115px;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
    height: 65px;
    object-fit: contain;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 700;
    color: #293744;
}

.main-nav a:hover {
    color: var(--blue);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white;
    font-weight: 700;
    transition: .25s ease;
    box-shadow: 0 12px 30px rgba(22,111,149,.18);
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 43px;
    padding: 0 18px;
    font-size: 13px;
}

.button-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.38);
    box-shadow: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(53,195,205,.19), transparent 32%),
        linear-gradient(135deg, #071321 0%, #0b2238 58%, #123f57 100%);
    color: white;
    padding: 100px 0;
}

.hero-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(216,170,88,.12);
    filter: blur(90px);
    right: -120px;
    bottom: -180px;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 65px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--blue);
    margin-bottom: 18px;
}

.eyebrow {
    color: #88dce2;
}

.gold {
    color: var(--gold);
}

.hero h1 {
    margin: 0;
    font-size: clamp(46px, 5.6vw, 74px);
    line-height: 1.03;
    letter-spacing: -.04em;
    max-width: 760px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-text {
    max-width: 650px;
    margin: 28px 0 34px;
    font-size: 19px;
    color: #d3dce5;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    background: rgba(255,255,255,.075);
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.hero-logo-wrap {
    background: #0d1d5a;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.hero-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-card-content {
    padding: 32px;
}

.status-dot {
    width: 9px;
    height: 9px;
    background: #3ce092;
    border-radius: 50%;
    display: inline-block;
    margin-right: 7px;
}

.status-label {
    color: #b9cbd8;
    font-size: 13px;
    font-weight: 700;
}

.hero-card h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 18px 0 12px;
}

.hero-card p {
    color: #cad5dd;
    margin: 0;
}

.section {
    padding: 95px 0;
}

.section h2 {
    margin: 0 0 24px;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-lead {
    font-size: 19px;
    color: var(--muted);
}

.section-dark {
    background: var(--navy);
    color: white;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    align-items: end;
    margin-bottom: 50px;
}

.section-heading > p {
    max-width: 440px;
    color: #aebbc7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    min-height: 285px;
    padding: 30px;
    border-radius: 22px;
    background: var(--navy-soft);
    border: 1px solid rgba(255,255,255,.08);
}

.card-number {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.card h3 {
    font-size: 23px;
    margin: 45px 0 15px;
}

.card p {
    color: #b7c5cf;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 75px;
    align-items: center;
}

.feature-list {
    padding: 0;
    list-style: none;
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.feature-list li {
    padding-left: 28px;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

.quote-card {
    background: linear-gradient(145deg, var(--navy), #173d58);
    border-radius: 28px;
    padding: 55px;
    color: white;
}

.quote-card > span {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: .16em;
    font-size: 12px;
}

.quote-card blockquote {
    margin: 25px 0 0;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 600;
}

.soft {
    background: var(--cream);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #dad6cc;
    border-left: 1px solid #dad6cc;
}

.service-item {
    padding: 35px;
    border-right: 1px solid #dad6cc;
    border-bottom: 1px solid #dad6cc;
}

.service-item h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.service-item p {
    color: var(--muted);
    margin: 0;
}

.cta-section {
    padding: 85px 0;
}

.cta-box {
    padding: 55px 60px;
    border-radius: 30px;
    color: white;
    background: linear-gradient(135deg, var(--navy), #123c57);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
}

.cta-box h2 {
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 15px;
}

.cta-box p {
    color: #c5d1da;
    margin: 0;
}

.site-footer {
    background: #06101c;
    color: #b8c3cc;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.site-footer h3,
.site-footer h4 {
    color: white;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 45px;
    padding-top: 24px;
    font-size: 13px;
}

@media (max-width: 950px) {
    .main-nav {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        display: block;
    }

    .cta-box {
        display: block;
    }

    .cta-box .button {
        margin-top: 28px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-header .button-small {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section {
        padding: 70px 0;
    }

    .cards,
    .service-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 35px;
    }

    .quote-card blockquote {
        font-size: 25px;
    }

    .cta-box {
        padding: 38px 28px;
    }
}

/* Ajuste para navegação por âncoras com cabeçalho fixo */
#solucoes,
#servicos,
#goldy,
#contato {
    scroll-margin-top: 110px;
}

/* =====================================================
   CABEÇALHO - AJUSTE DE PROPORÇÃO
===================================================== */

.header-inner {
    min-height: 112px;
}

.brand {
    width: 155px;
}

.brand img {
    width: 155px;
    height: 88px;
    object-fit: contain;
}

.main-nav {
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
}

.site-header .button-small {
    min-height: 48px;
    padding: 0 23px;
    font-size: 14px;
}

@media (max-width: 950px) {
    .header-inner {
        min-height: 95px;
    }

    .brand {
        width: 135px;
    }

    .brand img {
        width: 135px;
        height: 76px;
    }
}


/* =====================================================
   CABEÇALHO - VERSÃO MAIOR
===================================================== */

.header-inner {
    min-height: 145px !important;
}

.brand {
    width: 205px !important;
    flex-shrink: 0;
}

.brand img {
    width: 205px !important;
    height: 120px !important;
    max-height: none !important;
    object-fit: contain;
}

.main-nav {
    gap: 34px !important;
}

.main-nav a {
    font-size: 16px !important;
}

.site-header .button-small {
    min-height: 54px !important;
    padding: 0 28px !important;
    font-size: 15px !important;
}

/* Cabeçalho fixo */
.site-header {
    top: 0;
}

/* Quando estiver logada no WordPress */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 950px) {
    .header-inner {
        min-height: 110px !important;
    }

    .brand {
        width: 165px !important;
    }

    .brand img {
        width: 165px !important;
        height: 95px !important;
    }
}


/* =====================================================
   CABEÇALHO - ELEMENTOS MAIORES
===================================================== */

.header-inner {
    min-height: 155px !important;
}

.brand {
    width: 235px !important;
}

.brand img {
    width: 235px !important;
    height: 135px !important;
    max-height: none !important;
    object-fit: contain !important;
}

.main-nav {
    gap: 38px !important;
}

.main-nav a {
    font-size: 19px !important;
    font-weight: 700 !important;
}

.site-header .button-small {
    min-height: 60px !important;
    padding: 0 32px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}


/* =====================================================
   CABEÇALHO - MELHOR DISTRIBUIÇÃO HORIZONTAL
===================================================== */

.site-header .container {
    width: min(1500px, calc(100% - 70px)) !important;
}

.header-inner {
    justify-content: space-between !important;
    gap: 45px !important;
}

.main-nav {
    margin-left: 0 !important;
    flex: 1;
    justify-content: center;
    gap: 46px !important;
}

.site-header .button-small {
    flex-shrink: 0;
}


/* =====================================================
   CABEÇALHO - REFINAMENTO FINAL DESKTOP
===================================================== */

@media (min-width: 951px) {

    .site-header .container {
        width: min(1460px, calc(100% - 80px)) !important;
    }

    .header-inner {
        min-height: 150px !important;
        display: grid !important;
        grid-template-columns: 220px 1fr 265px !important;
        align-items: center !important;
        column-gap: 42px !important;
    }

    .brand {
        width: 220px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .brand img {
        width: 220px !important;
        height: 125px !important;
        object-fit: contain !important;
    }

    .main-nav {
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 42px !important;
    }

    .main-nav a {
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    .site-header .button-small {
        width: 250px !important;
        min-height: 58px !important;
        padding: 0 26px !important;
        justify-self: end !important;
        font-size: 17px !important;
        white-space: nowrap !important;
    }
}


/* =====================================================
   CABEÇALHO - REFINAMENTO FINAL MAIOR
===================================================== */

@media (min-width: 951px) {

    .site-header .container {
        width: min(1500px, calc(100% - 70px)) !important;
    }

    .header-inner {
        min-height: 155px !important;
        display: grid !important;
        grid-template-columns: 245px 1fr 285px !important;
        align-items: center !important;
        column-gap: 42px !important;
    }

    .brand {
        width: 235px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .brand img {
        width: 235px !important;
        height: 135px !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .main-nav {
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 46px !important;
    }

    .main-nav a {
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    .site-header .button-small {
        width: 270px !important;
        min-height: 60px !important;
        padding: 0 30px !important;
        justify-self: end !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
}


/* =====================================================
   CABEÇALHO - AJUSTE VERTICAL FINAL
===================================================== */

@media (min-width: 951px) {
    .header-inner {
        min-height: 145px !important;
    }
}


/* =====================================================
   PÁGINA SOLUÇÕES
===================================================== */

.internal-hero {
    padding: 85px 0 65px;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f8f9fa 100%
    );
    border-bottom: 1px solid var(--border);
}

.internal-hero h1 {
    max-width: 950px;
    margin: 0 0 24px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--navy);
}

.internal-hero p {
    max-width: 800px;
    margin: 0;
    font-size: 19px;
    color: var(--muted);
}

.solution-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-detail {
    min-height: 290px;
    padding: 38px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: #ffffff;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

.solution-detail:hover {
    transform: translateY(-4px);
    border-color: rgba(28,107,149,.25);
    box-shadow: 0 20px 45px rgba(7,21,37,.08);
}

.solution-detail > span {
    display: inline-block;
    margin-bottom: 35px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.solution-detail h2 {
    margin: 0 0 18px;
    font-size: 31px;
    line-height: 1.15;
    color: var(--navy);
}

.solution-detail p {
    margin: 0;
    max-width: 520px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .solution-detail-grid {
        grid-template-columns: 1fr;
    }

    .solution-detail {
        min-height: auto;
    }

    .internal-hero {
        padding: 65px 0 50px;
    }
}


/* =====================================================
   RODAPÉ - DIREITOS AUTORAIS CENTRALIZADOS
===================================================== */

.footer-bottom {
    text-align: center !important;
    justify-content: center !important;
}


/* =====================================================
   PÁGINA CONTATO
===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.contact-card {
    min-height: 360px;
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 35px rgba(7,21,37,.04);
}

.contact-card .section-label {
    margin-bottom: 22px;
}

.contact-card h2 {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.15;
    color: var(--navy);
}

.contact-card p {
    max-width: 520px;
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.contact-card .button {
    margin-top: auto;
}

.contact-link {
    display: inline-block;
    margin-top: auto;
    font-size: 21px;
    font-weight: 700;
    color: var(--blue);
}

.contact-link:hover {
    color: var(--cyan);
}

@media (max-width: 800px) {

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

    .contact-card {
        min-height: auto;
        padding: 34px;
    }

    .contact-card .button,
    .contact-link {
        margin-top: 10px;
    }
}


/* =====================================================
   PÁGINAS LEGAIS - LEITURA E TIPOGRAFIA
===================================================== */

.legal-content {
    max-width: 1120px;
}

.legal-content h2 {
    margin: 52px 0 20px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--navy);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    font-size: 17px;
    line-height: 1.75;
}

.legal-content ul {
    margin: 18px 0 28px;
    padding-left: 24px;
}

.legal-update {
    margin-top: 14px !important;
    font-size: 15px !important;
}



/* =====================================================
   MENU MOBILE GOLDCHAT
===================================================== */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 950px) {

    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        margin-left: auto;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #ffffff;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: 0 8px 22px rgba(7,21,37,.07);
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: var(--navy);
        transition:
            transform .2s ease,
            opacity .2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        display: none !important;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0 !important;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px !important;
        background: #ffffff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(7,21,37,.13);
    }

    .main-nav.is-open {
        display: flex !important;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 11px;
        font-size: 16px !important;
        text-align: left;
    }

    .main-nav a:hover {
        background: var(--cream);
    }
}


/* =====================================================
   CABEÇALHO MOBILE - REFINAMENTO FINAL
===================================================== */

@media (max-width: 620px) {

    .site-header {
        background: #ffffff !important;
    }

    .header-inner {
        min-height: 96px !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .brand {
        width: 125px !important;
        margin: 0 !important;
    }

    .brand img {
        width: 125px !important;
        height: 82px !important;
        max-height: 82px !important;
        object-fit: contain !important;
    }

    .mobile-menu-toggle {
        width: 46px;
        height: 46px;
        margin-left: auto;
    }

    .main-nav {
        top: calc(100% + 6px);
    }

}

/* Barra administrativa do WordPress no celular */
@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
}


/* =====================================================
   MOBILE - CABEÇALHO SEM FAIXA SUPERIOR
===================================================== */

@media (max-width: 782px) {
    .site-header,
    .admin-bar .site-header {
        top: 0 !important;
    }
}


/* =====================================================
   MOBILE FINAL - CABEÇALHO ACOMPANHA A PÁGINA
===================================================== */

@media (max-width: 620px) {

    .site-header,
    .admin-bar .site-header {
        position: relative !important;
        top: auto !important;
    }

}

