/* Variáveis de cores */
:root {
    --azul-peixe: #003a86;
    --azul-peixe-light: #0052b3;
    --cinza-peixe: #2a2a2a;
    --branco: #ffffff;
    --cinza-claro: #f8f9fa;
    --cinza-texto: #333333;
    --cinza-borda: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, var(--azul-peixe) 0%, var(--azul-peixe-light) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--cinza-texto);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--branco);
}

body.modal-open {
    overflow: hidden !important;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--branco);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--branco);
    border: none;
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    color: var(--branco);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--cinza-peixe);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--azul-peixe);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--cinza-peixe);
}

.empreendimentos .section-subtitle {
    color: var(--cinza-peixe);
    font-weight: 500;
}

.bg-light {
    background-color: var(--cinza-claro);
}

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

.mt-40 {
    margin-top: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 90px;
    width: auto;
    transition: height 0.3s;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 600;
    color: var(--cinza-peixe);
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--azul-peixe);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.header-cta {
    margin-left: 30px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cinza-peixe);
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 90px;
    overflow: hidden;
    transition: background-image 1s ease-in-out;
}

.hero-banner::before {
    content: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 58, 134, 0.2); /* Azul Peixe com 20% de opacidade */
    z-index: 0; /* Coloca a camada abaixo do conteúdo do banner */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--branco);
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Sobre Nós */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sobre-text {
    flex: 1;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.sobre-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: var(--transition);
}

.numeros {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 0;
}

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

.numero {
    font-size: 42px;
    font-weight: 700;
    color: var(--azul-peixe);
    display: block;
    margin-bottom: 5px;
}

.numero-label {
    font-size: 16px;
    color: var(--cinza-texto);
}

/* Empreendimentos */
.empreendimentos-carrossel {
    position: relative;
    padding: 0 50px;
}

.carrossel-container {
    overflow: hidden;
}

.carrossel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carrossel-item {
    min-width: calc(33.333% - 20px);
    padding: 0 10px;
}

.empreendimento-card {
    background: var(--branco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.empreendimento-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
}

.empreendimento-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    height: 250px;
}

.empreendimento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.empreendimento-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--branco);
}

.empreendimento-status.entregue {
    background-color: #28a745;
}

.empreendimento-status.andamento {
    background-color: #ffc107;
    color: var(--cinza-peixe);
}

.empreendimento-status.lancamento {
    background-color: #dc3545;
}

.empreendimento-info {
    padding: 20px;
}

.empreendimento-info h3 {
    font-size: 20px;
    color: var(--cinza-peixe);
    margin-bottom: 10px;
}

.empreendimento-local {
    color: var(--azul-peixe);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.empreendimento-desc {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--cinza-texto);
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--branco);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--azul-peixe);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carrossel-btn:hover {
    background-color: var(--azul-peixe);
    color: var(--branco);
}

.carrossel-prev {
    left: 0;
}

.carrossel-next {
    right: 0;
}

/* Diferenciais */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diferencial-card {
    background: var(--branco);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.diferencial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.diferencial-card:hover::before {
    transform: scaleX(1);
}

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

.diferencial-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 32px;
    position: relative;
    transition: var(--transition);
}

.diferencial-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: -1;
    transition: var(--transition);
}

.diferencial-card:hover .diferencial-icon {
    transform: translateY(-8px);
}

.diferencial-card:hover .diferencial-icon::before {
    transform: scale(1.2);
}

.diferencial-card h3 {
    font-size: 20px;
    color: var(--cinza-peixe);
    margin-bottom: 15px;
}

.diferencial-card p {
    font-size: 14px;
    color: var(--cinza-texto);
}

/* Contato */
.contato {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contato-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 58, 134, 0.7), rgba(0, 58, 134, 0.6));
}

.contato-container {
    position: relative;
    z-index: 1;
}

.contato-info {
    flex: 1;
}

.contato-info h2 {
    font-size: 36px;
    color: var(--branco);
    margin-bottom: 20px;
}

.contato-info p {
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--branco);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--azul-peixe);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 18px;
    color: var(--branco);
    margin-bottom: 5px;
}

.info-content p {
    color: var(--branco);
}

.contato-redes {
    margin-top: 40px;
}

.contato-redes h4 {
    font-size: 18px;
    color: var(--branco);
    margin-bottom: 15px;
}

.redes-sociais {
    display: flex;
    gap: 15px;
}

.redes-sociais a {
    width: 40px;
    height: 40px;
    background-color: var(--azul-peixe);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.redes-sociais a:hover {
    background-color: var(--cinza-peixe);
    transform: translateY(-3px);
}

.contato-form {
    flex: 1;
    background-color: var(--branco);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--cinza-borda);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: var(--branco);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--azul-peixe);
    box-shadow: 0 0 0 4px rgba(0, 58, 134, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background: var(--cinza-claro);
    color: var(--cinza-peixe);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--cinza-peixe);
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--cinza-peixe);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--azul-peixe);
    padding-left: 8px;
}

.footer-contato li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--cinza-peixe);
}

.footer-contato i {
    margin-right: 12px;
    color: var(--azul-peixe);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--cinza-borda);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--azul-peixe);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 58, 134, 0.1);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--branco);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 58, 134, 0.1);
    padding: 24px 0;
    text-align: center;
    color: var(--cinza-peixe);
    font-size: 14px;
}

.footer-dev {
    margin-top: 8px;
}

.footer-dev i {
    color: #e25555;
}

.footer-dev a {
    color: var(--azul-peixe);
    text-decoration: none;
    transition: var(--transition);
}

.footer-dev a:hover {
    color: var(--azul-peixe-light);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Animações e efeitos */
.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--branco);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--branco);
    opacity: 0.8;
    animation: float 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 14px;
    margin-bottom: 8px;
}

.hero-scroll-indicator i {
    font-size: 20px;
}

.sobre-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--azul-peixe);
    border-radius: 16px;
    z-index: -1;
    transform: rotate(3deg);
    transition: var(--transition);
}

.sobre-image:hover .sobre-image-decoration {
    transform: rotate(0deg);
}

/* Responsivo */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }
    
    .sobre-text,
    .sobre-image {
        flex: none;
        width: 100%;
    }
    
    .contato-container {
        flex-direction: column;
    }
    
    .carrossel-item {
        min-width: calc(50% - 20px);
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .sobre-image-decoration {
        display: none;
    }
    
    .empreendimento-image {
        height: 200px;
    }
    
    .diferencial-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--branco);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    .main-nav ul li {
        margin: 0 0 20px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .numeros {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
    
    .numero-item {
        flex: 1;
        min-width: 90px;
        text-align: center;
    }
    
    .carrossel-item {
        min-width: 100%;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .section-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .diferencial-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contato li {
        justify-content: center;
    }
    
    .empreendimento-image {
        height: 180px;
    }
    
    .diferencial-image {
        height: 140px;
    }
    
    .logo img {
        height: 65px;
    }
    
    .header-container {
        height: 65px;
    }
    
    .hero-banner {
        margin-top: 65px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .empreendimentos-carrossel {
        padding: 0 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .empreendimento-image {
        height: 160px;
    }
    
    .diferencial-image {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .numeros {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .numero-item {
        min-width: 0;
    }
}

/* Modal de imagem em tela cheia */
.modal-fullscreen {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.modal-fullscreen.open {
    display: flex;
    animation: fadeIn 0.3s;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 90vw;
    min-height: 0;
}

.modal-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    background: #fff;
    object-fit: contain;
    animation: zoomIn 0.4s;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    padding: 10px 0;
    max-width: 90vw;
    flex-shrink: 0;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--azul-peixe);
}

.thumbnail.active {
    border-color: var(--azul-peixe);
    box-shadow: 0 0 15px rgba(0, 58, 134, 0.5);
}

.gallery-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.gallery-prev,
.gallery-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--azul-peixe);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--azul-peixe-light);
    transform: scale(1.1);
}

.gallery-counter {
    color: white;
    font-size: 16px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.modal-close:hover {
    color: #e25555;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .gallery-container {
        /* Removido: padding: 10px; */
    }
    
    .gallery-main {
        max-width: 98vw;
    }
    
    .modal-img {
        /* Removido: max-height: 50vh; */
    }
    
    .gallery-thumbnails {
        max-width: 98vw;
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .gallery-nav {
        gap: 15px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-counter {
        font-size: 14px;
        min-width: 60px;
    }
    
    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        gap: 5px;
    }
    
    .thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .gallery-counter {
        font-size: 12px;
        min-width: 50px;
    }
}

.imagem-legenda {
    display: block;
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    /* background: rgba(0, 58, 134, 0.7); */
    background: none;
    color: #fff;
    font-size: 14px;
    padding: 6px 12px;
    text-align: left;
    border-radius: 0 0 16px 16px;
    pointer-events: none;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.section.servicos.destaque {
    background: linear-gradient(120deg, #e6ecf7 0%, #f0f4fa 100%);
    padding: 100px 0 90px 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,58,134,0.07);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.servico-card {
    background: linear-gradient(135deg, #fafdff 60%, #e6ecf7 100%);
    border-radius: 24px;
    padding: 48px 32px 40px 32px;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0,58,134,0.13), 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 360px;
    border: 1.5px solid #dbe6f7;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1);
}

.servico-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 20px 60px rgba(0,58,134,0.20), 0 4px 16px rgba(0,0,0,0.09);
    border-color: var(--azul-peixe-light);
}

.servico-card i {
    font-size: 54px;
    color: var(--azul-peixe);
    margin-bottom: 28px;
    background: linear-gradient(135deg, #e6ecf7 60%, #fafdff 100%);
    border-radius: 50%;
    border: 3px solid var(--azul-peixe-light);
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0,58,134,0.10);
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
    filter: drop-shadow(0 0 8px #b3cfff);
}

.servico-card:hover i {
    color: var(--azul-peixe-light);
    border-color: var(--azul-peixe);
    box-shadow: 0 0 24px #b3cfff, 0 4px 16px rgba(0,58,134,0.13);
}

.servico-card h3 {
    font-size: 24px;
    color: var(--cinza-peixe);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.servico-card p {
    font-size: 17px;
    color: var(--cinza-texto);
    line-height: 1.8;
}

@media (max-width: 900px) {
    .servicos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}
@media (max-width: 600px) {
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .servico-card {
        min-height: 0;
        padding: 28px 10px 22px 10px;
    }
}

.contato .section-subtitle {
    color: var(--branco);
}