/* ============================================
   META CRED SP - STYLESHEET
   ============================================ */

/* Reset e Variáveis */
:root {
    /* Cores baseadas na identidade Meta Cred SP */
    --primary-color: #1e3a8a; /* Azul escuro profissional */
    --secondary-color: #3b82f6; /* Azul médio */
    --accent-color: #60a5fa; /* Azul claro */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --white: #ffffff;
    
    /* Tipografia */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 150px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(59, 130, 246, 0.65));
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

.btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* ============================================
   SEÇÕES
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   VANTAGENS
   ============================================ */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.advantage-item {
    text-align: center;
    padding: var(--spacing-md);
}

.advantage-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   CTA SECTION
   ============================================ */

/* ============================================
   DEPOIMENTOS
   ============================================ */

.testimonials {
    background-color: var(--light-color);
    background-image: url('../public/images/heroes/depoimentos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: var(--spacing-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--gray-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ============================================
   NOTÍCIAS / CARROSSEL
   ============================================ */

.news-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.news-carousel {
    position: relative;
    margin-top: var(--spacing-lg);
}

.news-carousel-container {
    overflow: hidden;
    padding: 0 50px;
}

.news-carousel-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
}

.news-card {
    flex: 0 0 calc(33.333% - var(--spacing-md));
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card-no-image {
    border-left: 4px solid var(--secondary-color);
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}

.news-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-description {
    color: var(--gray-color);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.news-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.skeleton-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s linear infinite;
}

.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.5s linear infinite;
    border-radius: 4px;
    height: 1em;
    display: block;
    margin-bottom: 0.5em;
}

@keyframes skeleton-wave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-content,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

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

.footer-section ul li,
.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section i {
    margin-right: var(--spacing-xs);
    color: var(--accent-color);
}

/* Redes Sociais no Footer */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-sm);
    justify-content: flex-start;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    padding: 0;
    margin: 0;
}

.social-btn i {
    margin-right: 0 !important;
    line-height: 1;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok:hover {
    background-color: #000000;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cnpj {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7), rgba(59, 130, 246, 0.65));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ============================================
   ABOUT CONTENT
   ============================================ */

.about-content {
    background-color: var(--light-color);
}

.about-main {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.about-main h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.about-main p {
    margin-bottom: var(--spacing-sm);
    text-align: justify;
    color: var(--gray-color);
}

.about-highlight {
    background-color: var(--light-color);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    margin: var(--spacing-md) 0;
    font-style: italic;
}

.about-highlight i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   MVV (MISSÃO, VISÃO, VALORES)
   ============================================ */

.mvv-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.mvv-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mvv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.mvv-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   DIFERENCIAIS
   ============================================ */

.diferenciais {
    margin-top: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.diferenciais h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.diferencial-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.diferencial-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.diferencial-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   SERVICE INTRO
   ============================================ */

.service-intro {
    background-color: var(--light-color);
}

.service-intro-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.service-intro-text {
    flex: 1;
}

.service-intro-text h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-intro-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-color);
}

.service-intro-icon {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    opacity: 0.3;
}

/* ============================================
   SERVICE ADVANTAGES
   ============================================ */

.advantages-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.advantage-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   TARGET AUDIENCE
   ============================================ */

.target-audience {
    background-color: var(--light-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.audience-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.audience-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.audience-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   PUBLIC AGREEMENTS
   ============================================ */

.public-agreements {
    max-width: 900px;
    margin: 0 auto;
}

.public-agreements h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.public-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.public-benefit-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
}

.public-benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.public-benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-md);
}

.contact-form-container,
.contact-info-container {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   FORMULÁRIO
   ============================================ */

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info-container p {
    color: var(--gray-color);
    margin-bottom: var(--spacing-md);
}

.contact-info-list {
    margin-bottom: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background-color: var(--light-color);
    border-radius: var(--radius-md);
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    color: var(--gray-color);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.contact-details a {
    color: var(--gray-color);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.whatsapp-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ============================================
   MAP SECTION
   ============================================ */

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

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        flex: 0 0 200px;
    }
    
    .service-intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* Ajusta grid "Como Funciona" para 2 colunas em tablets */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Ajustes para seção Quem Somos no mobile */
    .about-main {
        padding: var(--spacing-md);
    }
    
    .about-main p {
        text-align: left;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .about-highlight {
        padding: var(--spacing-sm);
    }
    
    /* Depoimentos Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Notícias Mobile */
    .news-carousel-container {
        padding: 0 40px;
    }
    
    .news-card {
        flex: 0 0 calc(50% - var(--spacing-md));
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .advantages-grid,
    .advantages-grid-detailed,
    .audience-grid,
    .public-benefits,
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .mvv-section {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Ajustes formulário contato no mobile */
    .contact-form-container,
    .contact-info-container {
        padding: var(--spacing-md);
    }
    
    .contact-form .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    /* Depoimentos Mobile Pequeno */
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Notícias Mobile Pequeno */
    .news-carousel-container {
        padding: 0 30px;
    }
    
    .news-card {
        flex: 0 0 100%;
        min-width: 280px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

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

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

/* ============================================
   PÁGINA DE SERVIÇOS - CARDS DE PRODUTOS
   ============================================ */

.services-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--primary-color);
}

/* Imagem do Card */
.product-card-image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(59, 130, 246, 0.7) 100%);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.product-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Body do Card */
.product-card-body {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm) var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.product-card-body h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.product-description {
    color: var(--text-color-secondary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
}

.product-highlight {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 0.5rem var(--spacing-sm);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.highlight-label {
    display: none;
}

.highlight-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-benefits li {
    padding: 0.35rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.product-benefits li i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Footer do Card */
.product-card-footer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.btn-product {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-product i {
    font-size: 1.3rem;
}

/* CTA Section na página de serviços */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta i {
    font-size: 1.5rem;
}

/* Responsivo para Página de Produtos/Serviços */
@media (max-width: 992px) {
    .products-grid {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .product-card-image {
        height: 160px;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
    }
    
    .product-icon i {
        font-size: 2rem;
    }
    
    .product-card-body h3 {
        font-size: 1.3rem;
    }
    
    .highlight-value {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: var(--spacing-lg) 0;
    }
    
    .product-card-image {
        height: 140px;
    }
    
    .product-card-body {
        padding: var(--spacing-md);
    }
    
    .product-card-footer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
    
    .btn-product {
        font-size: 0.95rem;
        padding: 0.85rem;
    }
}
