/* =========================================================
   RESET E VARIÁVEIS
========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --accent-blue: #0284c7;
    --accent-amber: #d97706;
    --border-color: #e2e8f0;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   BASE GLOBAL
========================================================= */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    min-height: calc(100vh - 140px);
}

a {
    color: inherit;
}

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

.content {
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

.align-center {
    align-items: center;
}


/* =========================================================
   CABEÇALHO E MENU
========================================================= */
.site-header {
    background-color: var(--bg-primary);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
}

.logo,
.logo:hover,
.logo:focus {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
}

.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-navigation ul li a {
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.site-navigation ul li a:hover,
.site-navigation ul li.current-menu-item > a {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   HERO
========================================================= */
.hero {
    background: linear-gradient(135deg, var(--bg-primary), #1e1b4b);
    color: var(--text-light);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}


/* =========================================================
   BOTÕES E LINKS
========================================================= */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}


/* =========================================================
   LAYOUT E SEÇÕES
========================================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   GRIDS
========================================================= */
.grid-5,
.grid-3,
.grid-2 {
    display: grid;
    gap: 2rem;
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}


/* =========================================================
   CARDS
========================================================= */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.card h2,
.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
}


/* =========================================================
   CARDS ESPECIAIS
========================================================= */
.dark-card {
    background-color: var(--bg-primary);
    color: var(--text-light);
}

.dark-card h3 {
    color: var(--text-light);
}

.dark-card p,
.dark-card li {
    color: #cbd5e1;
}

.future-card {
    border: 1px dashed var(--accent-blue);
    background-color: rgba(2, 132, 199, 0.03);
}

.future-card h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
}


/* =========================================================
   PREVIEW DE PROJETOS
========================================================= */
.technical-preview-card {
    overflow: hidden;
}

.technical-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(15, 23, 42, 0.04)),
        #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.technical-preview-card h3 {
    margin-bottom: 0.75rem;
}


/* =========================================================
   LISTAS
========================================================= */
.check-list {
    list-style: none;
    margin-top: 1.25rem;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

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


/* =========================================================
   CTA
========================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    color: var(--text-light);
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
}


/* =========================================================
   RODAPÉ
========================================================= */
.site-footer {
    background-color: var(--bg-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}


/* =========================================================
   RESPONSIVO
========================================================= */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-navigation ul {
        gap: 0.75rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section-container {
        padding: 4rem 1.5rem;
    }

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

    .cta-banner {
        padding: 3rem 1.5rem;
    }

    .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    }
}

.contact-actions {
    margin-top: 2rem;
}

.form-placeholder {
    margin-top: 1.5rem;
    padding: 2rem;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background-color: #f8fafc;
    color: var(--text-muted);
}

.form-placeholder p + p {
    margin-top: 0.75rem;
}

.contact-form-wrapper {
    margin-top: 1.5rem;
}

.contact-form-wrapper .ff-el-group {
    margin-bottom: 1rem;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.contact-form-wrapper button,
.contact-form-wrapper input[type="submit"] {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.contact-form-wrapper button:hover,
.contact-form-wrapper input[type="submit"]:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 3rem;
}

.footer-brand h4,
.footer-links h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links ul {
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08);
}

.post-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    background-color: #e2e8f0;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(15, 23, 42, 0.04));
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-date {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.post-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.post-card h3 a:hover {
    color: var(--accent-blue);
}

.post-card p {
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.single-post-header {
    background: linear-gradient(135deg, var(--bg-primary), #1e1b4b);
    color: var(--text-light);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.single-post-inner {
    max-width: 850px;
    margin: 0 auto;
}

.single-post-header h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.single-post-header p {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.single-post-image {
    max-width: 1100px;
    margin: -2rem auto 0;
    padding: 0 2rem;
}

.single-post-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pagination {
    margin-top: 3rem;
    text-align: center;
}

.article-content {
    max-width: 850px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.15rem;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: var(--text-dark);
}

.article-content .article-summary {
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-blue);
    border-radius: 8px;
    background-color: rgba(2, 132, 199, 0.06);
}

.article-content .article-cta {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    color: var(--text-light);
}

.article-content .article-cta p {
    color: #cbd5e1;
}

.article-content .article-cta .btn {
    margin-top: 1rem;
}
