/*
Theme Name: Prosperar T.I.
Theme URI: https://prosperarti.br
Author: Prosperar T.I.
Author URI: https://prosperarti.br
Description: Tema institucional para Prosperar T.I. - Soluções de Backup em Nuvem
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prosperarti
*/

/* ==========================================================================
   Reset e Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Variáveis CSS
   ========================================================================== */
:root {
    --primary-dark: #1a2b5f;
    --primary-blue: #2d4a8c;
    --accent-cyan: #00bcd4;
    --accent-light: #e8f4fc;
    --text-dark: #1a2b5f;
    --text-gray: #666;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, #1a2b5f 0%, #2d4a8c 100%);
    --shadow: 0 4px 20px rgba(26, 43, 95, 0.1);
    --shadow-hover: 0 8px 30px rgba(26, 43, 95, 0.15);
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.site-logo .logo-text span {
    color: var(--accent-cyan);
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--primary-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--accent-cyan);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge i {
    color: var(--accent-cyan);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 78px;
    height: 78px;
}

.service-icon img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.service-icon i {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================================================
   Vantagem Section
   ========================================================================== */
.vantagem-section {
    padding: 0;
    background: var(--white);
    overflow: hidden;
}

.vantagem-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.vantagem-wrapper > .container {
    display: flex;
    align-items: center;
    max-width: none;
    padding: 60px 40px 60px 20px;
    padding-left: max(20px, calc((100vw - 1280px) / 2 + 20px));
}

.vantagem-inner {
    max-width: 600px;
}

.vantagem-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.vantagem-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.vantagem-image-wrapper {
    display: flex;
}

.vantagem-image-wrapper picture {
    width: 100%;
    height: 100%;
    display: block;
}

.vantagem-image-wrapper img {
    width: 100%;
    height: 100%;
}

.vantagem-image-wrapper .vantagem-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0ebf7 100%);
}

/* ==========================================================================
   Sobre Section
   ========================================================================== */
.sobre-section {
    padding: 110px 0;
    background-size: 92% auto;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: transparent;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.sobre-section > .container {
    display: flex;
}

.sobre-content {
    width: 40%;
    flex-shrink: 0;
}

.sobre-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.sobre-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.sobre-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Seção Sobre Mobile - Oculta no desktop */
.sobre-section-mobile {
    display: none;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
}

.faq-header span {
    color: var(--accent-cyan);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background: #f5f7fa;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eef1f5;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f5f7fa;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================================================
   Contato Section
   ========================================================================== */
.contato-section {
    padding: 80px 0;
    background: var(--accent-light);
}

.contato-header {
    text-align: center;
    margin-bottom: 40px;
}

.contato-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contato-header p {
    color: var(--text-gray);
}

.contato-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Shortcode Container */
.contato-shortcode {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.footer-column p {
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column h4,
.footer-column .widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    opacity: 0.9;
    transition: opacity 0.3s, color 0.3s;
    text-decoration: none;
}

.footer-column a:hover {
    opacity: 1;
}

/* WordPress Social Icons Block in Footer */
.site-footer .wp-block-social-links {
    gap: 10px;
    margin-top: 15px;
}

.site-footer .wp-block-social-links .wp-social-link,
.site-footer .wp-block-social-links .wp-block-social-link,
.site-footer .wp-block-social-links li,
.site-footer .wp-block-social-links .wp-social-link-whatsapp,
.site-footer .wp-block-social-links .wp-social-link-linkedin,
.site-footer .wp-block-social-links .wp-social-link-instagram,
.site-footer .wp-block-social-links .wp-social-link-mail,
.site-footer .wp-block-social-links .wp-social-link-facebook {
    background: none !important;
    background-color: transparent !important;
    width: auto;
    height: auto;
    margin: 0;
}

.site-footer .wp-block-social-links .wp-social-link a,
.site-footer .wp-block-social-links .wp-social-link a.wp-block-social-link-anchor {
    background: none !important;
    background-color: transparent !important;
    padding: 8px;
    transition: all 0.3s ease;
}

.site-footer .wp-block-social-links .wp-social-link a:hover {
    transform: translateY(-2px);
    background: none !important;
}

.site-footer .wp-block-social-links svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

/* Footer Bottom / Copyright */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0;
}

/* Legacy styles for compatibility */
.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links a i {
    font-size: 18px;
}

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i,
.whatsapp-float svg {
    color: var(--white);
    font-size: 30px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: 1;
    }

    /* Vantagem Section Responsive */
    .vantagem-wrapper {
        grid-template-columns: 1fr;
    }

    .vantagem-wrapper > .container {
        padding: 40px 20px;
    }

    .vantagem-inner {
        max-width: 100%;
    }

    .vantagem-image-wrapper {
        min-height: 350px;
    }

    /* Sobre Section Responsive */
    .sobre-section.sobre-desktop {
        display: none;
    }

    .sobre-section-mobile {
        display: block;
        padding: 40px 0 0 0;
    }

    .sobre-mobile-wrapper {
        display: flex;
        flex-direction: column;
    }

    .sobre-mobile-content {
        padding: 0 20px 30px 20px;
    }

    .sobre-mobile-content h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 5px;
    }

    .sobre-mobile-content h3 {
        font-size: 18px;
        font-weight: 600;
        color: var(--primary-dark);
        margin-bottom: 15px;
    }

    .sobre-mobile-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
        color: var(--text-gray);
    }

    .sobre-mobile-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column img {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center;
    }

    .site-footer .wp-block-social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-header h2,
    .vantagem-content h2,
    .sobre-content h2,
    .faq-header h2,
    .contato-header h2 {
        font-size: 28px;
    }

    .sobre-content h3 {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        justify-content: center;
    }

    .vantagem-image-wrapper {
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .contato-form {
        padding: 25px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
