/*
Theme Name: Marca 3 Negocios
Theme URI: https://marca3negocios.com.br
Author: Everton Petik Lima
Author URI: https://marca3negocios.com.br
Description: Tema institucional da Marca 3 Negocios - Assessoria, Negocio e Planejamento. Empresa de desenvolvimento de software web e mobile.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marca3
Tags: dark, one-column, custom-logo, custom-menu, featured-images

Marca 3 Negocios - Transformando ideias em solucoes digitais.
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
    /* Brand Colors */
    --gold: #D4A843;
    --gold-dark: #C8942A;
    --gold-light: #E8C76A;
    --gold-gradient: linear-gradient(135deg, #D4A843, #C8942A);
    --gold-gradient-hover: linear-gradient(135deg, #E8C76A, #D4A843);

    --silver: #C0C0C0;
    --silver-dark: #666666;
    --silver-gradient: linear-gradient(180deg, #C0C0C0, #666666);

    /* Backgrounds */
    --bg-dark: #0A0A0A;
    --bg-card: #111111;
    --bg-section: #0D0D0D;
    --bg-overlay: rgba(10, 10, 10, 0.85);

    /* Text */
    --text-main: #F0F0F0;
    --text-muted: #999999;
    --text-gold: #D4A843;

    /* Borders & Effects */
    --border-subtle: rgba(212, 168, 67, 0.15);
    --border-gold: rgba(212, 168, 67, 0.4);
    --glow-gold: 0 0 20px rgba(212, 168, 67, 0.3);
    --glow-gold-strong: 0 0 40px rgba(212, 168, 67, 0.5);

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

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

ul,
ol {
    list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section--alt {
    background-color: var(--bg-section);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}

.btn--primary:hover {
    background: var(--gold-gradient-hover);
    box-shadow: var(--glow-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn--outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.btn--whatsapp:hover {
    background: #20BD5A;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-title p {
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--glow-gold);
}

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

.card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 168, 67, 0.1);
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--gold);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   Grid
   ======================================== */
.grid {
    display: grid;
    gap: 30px;
}

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

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

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

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-slow);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}