/* Base Styles */
:root {
    --primary-color: #54031E;
    --secondary-color: #9A4F6B;
    --white-color: #ffffff;
    --black-color: #333333;
    --gray-color: #f5f5f5;
    --font-primary: 'Poppins', sans-serif;
    --highlight-color: #BB6E8B; /* Cor mais clara para a palavra "comunicar" */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--black-color);
}

body.modal-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white-color);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Novo botão Saiba Mais */
.btn-saiba-mais {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.btn-saiba-mais:hover {
    background-color: transparent;
    color: var(--primary-color);
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.highlight {
    color: var(--highlight-color);
    font-weight: 700;
}

.highlight-secondary {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Header Styles */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo img {
    height: auto;
    width: 120px; /* Reduzido de 200px para um tamanho mais adequado */
    max-width: 100%;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--black-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Marketing Concept Section */
.marketing-concept {
    background-color: var(--white-color);
    padding: 100px 0;
}

.concept-content {
    text-align: center;
}

.concept-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.marketing-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.channel {
    background-color: var(--gray-color);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.channel:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* Services Section */
.services {
    background-color: var(--gray-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(154, 79, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--white-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Modal de Serviços */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: var(--white-color);
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--black-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-body {
    margin-top: 10px;
}

.modal-service-content {
    display: none;
}

.modal-service-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.modal-service-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.modal-service-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-service-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
}

.modal-service-content ul li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-inner img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(84, 3, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--white-color);
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.portfolio-link {
    display: inline-block;
    color: var(--white-color);
    background-color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: 2px solid var(--secondary-color);
}

.portfolio-link:hover {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animação de entrada para os itens do portfólio */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    animation: fadeInUp 0.6s ease backwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }

/* Atualizações nas categorias do portfólio */
.filter-btn[data-filter="identidade-visual"] {
    order: 1;
}

.filter-btn[data-filter="redes-sociais"] {
    order: 2;
}

.filter-btn[data-filter="materiais-graficos"] {
    order: 3;
}

/* Why Hire Section */
.why-hire {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 100px 0;
}

.why-hire h2 {
    color: var(--white-color);
}

.why-hire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-front {
    background-color: rgba(255, 255, 255, 0.1);
}

.flip-card-back {
    background-color: var(--secondary-color);
    transform: rotateY(180deg);
}

.flip-card-back p {
    margin-bottom: 20px;
}

.cta {
    font-weight: 700;
    margin-top: auto;
    background-color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 5px;
}

/* Clients Section */
.clients {
    background-color: var(--white-color);
    padding: 80px 0;
}

.clients-logos {
    margin-top: 50px;
}

.client-placeholder {
    border: 2px dashed var(--secondary-color);
    border-radius: 10px;
    padding: 80px 30px;
    text-align: center;
    color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: var(--gray-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background-color: var(--white-color);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro h2 {
    margin-bottom: 20px;
}

.contact-intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-intro button.btn {
    font-size: 1rem;
    padding: 12px 30px;
    font-weight: 600;
    min-width: 200px;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    display: none;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.contact-form-container button.btn {
    font-size: 1rem;
    padding: 12px 30px;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    display: inline-block;
    color: var(--white-color);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact p i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white-color);
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-float a i {
    font-size: 2rem;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .flip-card {
        height: 280px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .concept-content h2 {
        font-size: 2rem;
    }
    
    .channel {
        padding: 10px 20px;
    }
    
    .service-details ul li {
        text-align: left;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-hire-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .info-item {
        justify-content: center;
    }
header .logo img,
.header .logo img,
.logo img {
    width: 156px !important; /* Aumentado em mais 20% do valor anterior (130px) */
    height: auto !important;
    max-height: 70px !important; /* Também aumentado proporcionalmente */
    max-width: 156px !important;
    object-fit: contain;
}

.logo {
    max-width: 156px;
    display: flex;
    align-items: center;
}