/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00bfff;
    --secondary-color: #0080ff;
    --dark-bg: #0a0a0a;
    --dark-bg-2: #1a1a1a;
    --dark-bg-3: #2d2d2d;
    --gray-1: #333333;
    --gray-2: #444444;
    --gray-3: #666666;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 30%, #2d2d2d 60%, #3a3a3a 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
    }
}

.section {
    padding: 50px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    overflow: visible;
    border-bottom: 2px solid rgba(0, 191, 255, 0.6);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 191, 255, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 2rem;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Reduce nav bar and logo to half size on desktop/PC displays only */
@media (min-width: 769px) {
    .nav {
        padding: 0.075rem 2rem;
    }
    
    .logo {
        height: 80px;
    }
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Adjust hero height based on viewport - wider screens get taller hero for better image display */
@media (min-width: 1920px) {
    .hero {
        height: 120vh;
        min-height: 120vh;
    }
}

@media (min-width: 2560px) {
    .hero {
        height: 140vh;
        min-height: 140vh;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Ajuste específico para cada slide - posicionamento otimizado */
.slide:nth-child(1) img {
    object-fit: cover;
    object-position: center center;
}

.slide:nth-child(2) img {
    object-fit: cover;
    object-position: center center;
}

.slide:nth-child(3) img {
    object-fit: cover;
    object-position: center center;
}

/* Garantir que todas as imagens toquem as laterais no mobile */
@media (max-width: 768px) {
    .hero {
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        left: 0;
        right: 0;
    }

    .hero-slider {
        width: 100vw;
        margin: 0;
        padding: 0;
        left: 0;
        right: 0;
    }

    .slide {
        width: 100vw;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        margin: 0;
        padding: 0;
    }
    
    .slide:nth-child(3) {
        padding-top: 0;
        align-items: center;
    }
    
    .slide:nth-child(3) img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
        transform: none;
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(45, 45, 45, 0.3) 100%);
}

.hero-content {
    position: absolute;
    top: calc(50% + 50px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease;
}

.btn-agendar {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
    animation: fadeInUp 1.4s ease;
}

.btn-agendar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Serviços */
.servicos {
    background: linear-gradient(180deg, var(--dark-bg-3) 0%, var(--gray-2) 100%);
}

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

.servico-card {
    background: var(--dark-bg-2);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.servico-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--dark-bg-3);
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.servico-card:hover .servico-image img {
    transform: scale(1.1);
}

/* Ajuste específico para a imagem do card "Acompanhamento Personalizado" */
.servico-card:nth-child(3) .servico-image img {
    object-position: center top;
}

.servico-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.servico-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.servico-description {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    flex-grow: 1;
    font-size: 0.85rem;
}

.btn-servico {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
    text-align: center;
    align-self: flex-start;
    font-size: 0.85rem;
}

.btn-servico:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

/* Sobre */
.sobre {
    background: linear-gradient(180deg, var(--dark-bg-2) 0%, var(--dark-bg-3) 50%, var(--gray-2) 100%);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sobre-item {
    background: var(--dark-bg-2);
    padding: 0.75rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.sobre-item p {
    text-align: justify;
    font-size: 0.8rem;
    line-height: 1.5;
}

.sobre-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sobre-subtitle i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.sobre-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 75%;
    margin: 0 auto;
}

.sobre-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Qualificações */
.qualificacoes {
    background: linear-gradient(180deg, var(--dark-bg-2) 0%, var(--dark-bg-3) 100%);
}

.qualificacoes-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1rem;
    margin-top: 1rem;
    align-items: start;
}

.qualificacoes-card-left {
    background: var(--dark-bg-2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-1);
}

.quali-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.quali-info {
    padding: 1rem;
    text-align: center;
}

.quali-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.quali-profession {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.quali-credential {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-1);
}

.qualificacoes-list-right {
    background: var(--dark-bg-2);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-1);
}

.qualificacoes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qualificacoes-list li {
    color: var(--text-gray);
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
    background: var(--dark-bg-3);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.qualificacoes-list li:hover {
    background: var(--gray-2);
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.qualificacoes-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    min-width: 18px;
}

/* Material */
.material {
    background: linear-gradient(180deg, var(--dark-bg-3) 0%, var(--gray-2) 100%);
}

.material-content-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.material-text-simple {
    text-align: left;
}

.material-text-simple p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.material-text-simple p:last-of-type {
    margin-bottom: 2rem;
}

.material-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--dark-bg-2);
    padding: 1.5rem;
    border: 1px solid var(--gray-1);
    transition: all 0.3s ease;
}

.material-image-wrapper:hover {
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.material-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.material-image-wrapper:hover .material-image {
    transform: scale(1.02);
}

.material-button-container {
    text-align: left;
    margin-top: 1rem;
}

.btn-material {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
    font-size: 1.1rem;
}

.btn-material:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.6);
}

/* Card Slider Section */
.card-slider-section {
    background: linear-gradient(180deg, var(--gray-2) 0%, var(--dark-bg-2) 100%);
}

.card-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 10px;
}

.card-slider-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.card-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    width: 100%;
}

.card-slide {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    background: var(--dark-bg-2);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--gray-1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.card-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: visible;
    background: var(--dark-bg-3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.card-slide:hover .card-image img {
    transform: scale(1.05);
}

.card-logo-circle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-slide:hover .card-logo-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.card-logo-circle .team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}


.card-text {
    padding: 1.5rem 1.2rem;
    text-align: left;
    background: var(--dark-bg-2);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.card-text.expanded {
    overflow-y: auto;
    max-height: 600px;
}

.card-text::-webkit-scrollbar {
    width: 6px;
}

.card-text::-webkit-scrollbar-track {
    background: var(--dark-bg-3);
    border-radius: 10px;
}

.card-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.card-text::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.card-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

.testimonial-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-text-wrapper {
    position: relative;
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.testimonial-text-wrapper.expanded {
    max-height: none;
}

.testimonial-text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--dark-bg-2));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-text-wrapper.expanded::after {
    opacity: 0;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.testimonial-text:last-child {
    margin-bottom: 0;
}

.testimonial-text strong {
    color: var(--text-light);
    font-weight: 600;
}

.ler-mais-btn {
    margin-top: 0.8rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: center;
}

.ler-mais-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.ler-mais-btn.expanded .ler-mais-icon {
    transform: rotate(180deg);
}

.ler-mais-icon {
    transition: transform 0.3s ease;
}

.ler-mais-text {
    transition: all 0.3s ease;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-bg-2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* Seção Estatísticas */
.stats-section {
    background: var(--primary-color);
    padding: 2rem 0;
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

.stats-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 1.5rem;
    opacity: 0.9;
    font-style: italic;
}

/* Responsive Stats */
@media (max-width: 768px) {
    .stats-section {
        padding: 1rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: block;
        height: 50%;
        right: -0.25rem;
    }
    
    .stat-item:not(:last-child) {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .stat-item:nth-child(3) {
        grid-column: auto;
        margin-top: 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stats-subtitle {
        font-size: 0.8rem;
        margin-top: 0.8rem;
        padding: 0 0.5rem;
    }
}

/* Responsive Card Slider */
@media (max-width: 1024px) {
    .card-slide {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    
    .card-slider-track {
        gap: 1rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-logo-circle {
        width: 65px;
        height: 65px;
        top: 12px;
        right: 12px;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonial-text-wrapper {
        max-height: 100px;
    }
}

@media (max-width: 768px) {
    .card-slider-wrapper {
        margin: 2rem auto 1.5rem;
        gap: 0.5rem;
        padding: 0 5px;
    }

    .card-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .card-slider-track {
        gap: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .card-image {
        height: 180px;
    }

    .card-text {
        padding: 1.3rem 1rem;
    }

    .card-text p {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-text-wrapper {
        max-height: 100px;
    }
    
    .card-text.expanded {
        max-height: 500px;
    }
}

/* Redes Sociais */
.redes-sociais {
    background: linear-gradient(180deg, var(--dark-bg-2) 0%, var(--gray-2) 100%);
}

.instagram-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-post {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--dark-bg-3);
    transition: transform 0.3s, opacity 0.3s;
}

.instagram-post:hover {
    transform: scale(1.02);
    opacity: 0.9;
    z-index: 10;
}

.post-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

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

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.post-link:hover .post-overlay {
    opacity: 1;
}

.post-overlay i {
    font-size: 3rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--gray-1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-logo {
    height: 200px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-1);
    color: var(--text-gray);
}

.footer-credit {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.followbay-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.followbay-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.followbay-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .nav {
        padding: 0.15rem 1rem;
        width: 100%;
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        padding: 1rem 1.5rem;
        max-width: 95%;
        top: calc(55% + 90px);
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .btn-agendar {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }

    .sobre-content,
    .material-content-simple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .servicos-grid {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    
    .qualificacoes-content {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }
    
    .card-slider-wrapper {
        margin: 1.5rem auto 1rem;
    }

    .material-text-simple {
        text-align: center;
        padding: 0 1rem;
    }

    .material-text-simple p {
        font-size: 1rem;
    }

    .material-button-container {
        text-align: center;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .card-logo-circle {
        width: 60px;
        height: 60px;
        top: 10px;
        right: 10px;
        border-width: 3px;
    }
    
    .card-logo-circle .team-logo {
        padding: 8px;
    }

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

    .qualificacoes-card-left {
        max-width: 50%;
        margin: 0 auto;
    }

    .quali-info {
        padding: 1.5rem;
    }

    .qualificacoes-list-right {
        padding: 2rem;
    }

    .qualificacoes-list li {
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo {
        height: 120px;
        max-width: 80%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        left: 0;
        right: 0;
        position: relative;
    }

    .hero-slider {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        left: 0;
        right: 0;
    }

    .slide {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        left: 0;
        right: 0;
    }

    .slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slide:nth-child(3) {
        padding-top: 0;
        align-items: center;
    }
    
    .slide:nth-child(3) img {
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }

    .hero-content {
        padding: 1rem 1.2rem;
        max-width: 98%;
        top: calc(50% + 90px);
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .btn-agendar {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .btn-agendar {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section {
        padding: 35px 0;
    }
    
    .footer-logo {
        height: 120px;
        max-width: 85%;
    }
    
    .servicos-grid,
    .sobre-content,
    .qualificacoes-content {
        margin-top: 1.2rem;
        gap: 1.2rem;
    }
    
    .card-slider-wrapper {
        margin: 1.2rem auto 1rem;
    }

    .servico-card,
    .sobre-item {
        padding: 1.5rem;
    }
    
    .card-logo-circle {
        width: 55px;
        height: 55px;
        top: 8px;
        right: 8px;
        border-width: 3px;
    }
    
    .card-logo-circle .team-logo {
        padding: 6px;
    }

    .material-image-wrapper {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .material-content-simple {
        grid-template-columns: 1fr;
    }

    .instagram-posts {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

