
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================
    KW STUDIO - STYLESHEET
    Estilo responsivo para salão de unhas
    ============================================ */

/* ===== RESET E VARIÁVEIS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para fácil customização */
:root {
    --primary-color: #000;
    --secondary-color: #ffffff;
    --accent-color: #FFF1AC;
    --text-color: #333;
    --light-bg: #ffffff;
    --header-height: 72px;
    --shadow: 0 30px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition-default: all 0.3s ease;
    --border-radius-sm: 15px;
    --border-radius-md: 15px;
    --border-radius-lg: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font: 400 16px 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 18px;
    padding-top: var(--header-height);
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding:  0px;
}

/* ===== HEADER/NAVBAR ===== */
.header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.navbar {
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 5px;
}

.btn, .btn-servico, .filtro-btn, .opcao-contato { min-height: 44px; }

.navbar-brand .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-logo {
    text-align: center;
    padding: 0 15px;
}

.hero-logo-img {
    max-width: 760px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto -20px;
}

@media (max-width: 768px) {
    .hero-logo-img { max-width: 600px; }
}

@media (max-width: 600px) {
    .hero-logo-img { max-width: 480px; }
}

@media (max-width: 480px) {
    .hero-logo-img { max-width: 360px; }
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-default);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-default);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== PRINCIPAL */
.hero {
    background: linear-gradient(135deg, #000 0%, #141414 45%, #1a1a1a 100%);
    color: var(--secondary-color);
    padding: 60px 20px 110px;
    text-align: center;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 72%);
    border-radius: 50%;
}

.hero::before {
    top: -80px;
    right: -80px;
}

.hero::after {
    bottom: -80px;
    left: -80px;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 0 15px;
    animation: fadeInUp 1s ease;
}


.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .hero-buttons {
        gap: 14px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid #FFF1AC;
}

.btn-secondary:hover {
    background-color: #FFF1AC;
    color: var(--primary-color);
}

/* ===== SEÇÕES ===== */
section {
    padding: 80px 20px;
}

@media (max-width: 600px) {
    section {
        padding: 64px 14px;
    }
}

.curso {
    background-color: #fffffff8;
}

.curso-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 940px;
    margin: 0 auto;
}

.curso-content p {
    max-width: 900px;
    color: var(--text-color);
    text-align: center;
    font-size: 1.075rem;
    line-height: 1.9;
}

.curso-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.curso .btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.curso .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* ===== NOSSOS SERVIÇOS ===== */
.servicos {
    background-color: var(--light-bg);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 24px;
}

.servico-card {
    background: #1f1f1f;
    color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

@media (max-width: 600px) {
    .servico-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .servico-card h3 {
        font-size: 1.25rem;
    }

    .servico-card p {
        font-size: 0.95rem;
    }

    .servico-card .servico-list {
        text-align: center;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--accent-color);
}

.servico-icon {
    font-size: 3rem;
    color: #FFF1AC;
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.servico-card .servico-list {
    color: #f2f2f2;
    margin: 0 auto 25px;
    padding-left: 0;
    list-style-position: inside;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.8;
}

.servico-card .servico-list li {
    margin: 0;
    text-align: center;
}

@media (max-width: 600px) {
    .servico-card .servico-list {
        max-width: none;
    }
}

.btn-servico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: #25d366;
    color: white;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: var(--transition-default);
}

.btn-servico:hover {
    background-color: #1db254;
    color: white;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* ===== SOBRE KW ===== */
.sobre {
    background-color: #fffffffa;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .sobre-content {
        gap: 24px;
        margin-top: 24px;
    }

    .sobre-texto p {
        text-align: left;
        font-size: 0.96rem;
    }
}

.sobre-imagem img {
    width: 80%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.sobre-imagem img:hover {
    transform: scale(1.02);
}

.sobre-texto p {
    margin-bottom: 20px;
    color: #000000;
    line-height: 1.9;
    text-align: justify;
}

/* ===== GALERIA DE FOTOS===== */
.galeria {
    background: white;
}

.filtro-galeria {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 12px 28px;
    border: 2px solid #FFF1AC;
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-default);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    text-align: center;
}

.filtro-btn i {
    font-size: 1.2rem;
}

.filtro-btn.active,
.filtro-btn:hover {
    background-color: #fff;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #d8b36b;
}

.filtro-btn.active {
    background-color: #FFF1AC;
    color: #fff;
    border-color: #FFF1AC;
    font-weight: 800;
}

/* Galeria em grid responsivo ============= */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.galeria-vazia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    padding: 32px 24px;
    border: 1px dashed #FFF1AC;
    border-radius: var(--border-radius-md);
    background: #faf7f2;
    color: #111;
    text-align: center;
}

.galeria-vazia i {
    font-size: 2rem;
    color: #FFF1AC;
}

.galeria-vazia p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    aspect-ratio: 4 / 3;
    min-height: 240px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition-default);
}

@media (max-width: 600px) {
    .galeria-item {
        min-height: 220px;
        border-radius: 16px;
    }

    .galeria-overlay h4 {
        font-size: 1.2rem;
    }

    .galeria-overlay p {
        font-size: 0.9rem;
    }
}

.galeria-item img {
    display: block;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    margin: 5px;
    object-fit: cover;
    border-radius: inherit;
}


.galeria-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-6px);
}

.galeria-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: white;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(8px);
    animation: slideInDown 0.5s ease;
}

.galeria-badge i {
    font-size: 0.9rem;
}

.galeria-item img,
.galeria-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.galeria-item img {
    object-fit: cover;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(6, 206, 217, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
    backdrop-filter: blur(0px);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);
}

.overlay-content {
    text-align: center;
    animation: fadeInUp 0.4s ease 0.1s both;
}

.galeria-overlay h4 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.galeria-overlay p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.6;
    opacity: 0.95;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #ffffff;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    text-align: center;
}

.overlay-btn:hover {
    background-color: transparent;
    color: white;
    transform: scale(1.05);
}

.overlay-btn i {
    font-size: 1.1rem;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
}

.depoimentos .section-title {
    color: #FFF1AC;
}

.depoimentos .section-title::after {
    background-color: var(--accent-color);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--accent-color);
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .depoimento-card {
        padding: 20px 18px;
    }
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.depoimento-card p {
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.depoimento-card strong {
    color: var(--accent-color);
}

/* ===== LOCALIZAÇÃO ===== */
.localizacao {
    background-color: var(--light-bg);
}

.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.mapa-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-localizacao {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    background: #1a1a1a;
    color: #fff;
    padding: 25px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 1.8rem;
    color: #FFF1AC;
    min-width: 50px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 8px;
    color: #fff;
}

.info-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
}

.info-item a:hover {
    text-decoration: underline;
}

.horario-info p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.horario-info strong {
    color: #fff;
}

/* ===== CONTATO ===== */
.contato {
    background: white;
    text-align: center;
}

.contato-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: #fbfbfb;
    border-radius: var(--border-radius-md);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    margin: 0 auto;
}

.contato-info h3 {
    font-size: 1.95rem;
    margin-bottom: 18px;
}

.contato-info > p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.0;
    max-width: 5200px;
}

.contato-opcoes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    width: 100%;
    align-items: center;
}
/*bordasssssss - contatosssssssssssssssssssssssssssssssssssssssssssssss*/
.opcao-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 500px;
    padding: 20px 25px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    border: 0.5px solid transparent;
}

@media (max-width: 600px) {
    .opcao-contato {
        padding: 16px 18px;
        justify-content: center;
        text-align: center;
    }
}

.opcao-contato span {
    text-align: center;
}

.opcao-contato.whatsapp {
    background-color: #25d366;
    color: white;
    border-color: #ffffff;
}

.opcao-contato.telefone {
    background-color: #4a90e2;
    color: white;
    border-color: #ffffff;
}

.opcao-contato.email {
    /* removed: email button not present in contato section */
}

.opcao-contato.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #5851db 25%, #c13584 50%, #e1306c 75%, #fcaf45 100%);
    color: rgb(255, 255, 255);
    border-color: #ffffff;
}

.opcao-contato:hover {
    transform: translateX(10px);
}

.opcao-contato i {
    font-size: 1.5rem;
    min-width: 32px;
}

/* Formulário removido - estilos não usados neste template */

/* ===== NOTIFICAÇÕES ===== */
.notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 998;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background-color: #25d366;
}

.notification-error {
    background-color: #ff6b6b;
}

.notification-info {
    background-color: #4a90e2;
}

.notification-hide {
    animation: slideOut 0.3s ease;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-default);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-default);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* ===== RESPONSIVIDADE CONSOLIDADA ===== */

/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-default);
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.scroll-top-btn {
    position: fixed;
    bottom: 92px;
    right: 20px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.scroll-top-btn:active {
    transform: scale(0.96);
}

.scroll-top-btn span {
    display: inline-block;
    transform: rotate(180deg);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== AJUSTES ADICIONAIS: HEADER, FORM E GALERIA ===== */
/* Evita que o conteúdo fique sob o header fixo */
/* body padding moved to base `body` rule at top of file */

/* Header/navbar mais compacto */
.navbar {
    padding: 0.6rem 0;
}

.nav-link {
    padding: 6px 8px;
}

/* Em telas pequenas, amplia área dos links para toque */
@media (max-width: 992px) {
    .header { height: 64px; }
    :root { --header-height: 64px; }
    .header { height: var(--header-height); }
    .nav-menu { top: var(--header-height); }
    .nav-menu .nav-link { padding: 12px 18px; font-size: 1.05rem; }
}

/* Responsive form adjustments removed (form not used) */

/* Galeria: overlay mais legível e botão maior */
.galeria-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(6,206,217,0.28) 100%);
}

.overlay-content { max-width: 92%; padding: 8px 12px; }

.overlay-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* ===== RESPONSIVIDADE - TABLET (até 992px) ===== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
        padding: 8px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.97);
        width: 100%;
        text-align: left;
        transition: 0.3s;
        gap: 0;
        padding: 20px 16px 24px;
        z-index: 999;
        overflow-y: auto;
        max-height: calc(100vh - var(--header-height));
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 14px 8px;
        font-size: 1.02rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .hero {
        padding-top: 40px;
        padding-bottom: 80px;
    }
    
    .hero-content h2 {
        font-size: 1.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-content,
    .servicos-grid,
    .depoimentos-grid,
    .localizacao-content,
    .contato-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .servico-card,
    .depoimento-card {
        padding: 25px 20px;
    }
    
    .mapa-container iframe {
        height: 320px;
    }
    
    .whatsapp-button {
        bottom: 200px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== RESPONSIVIDADE - TABLET MÉDIO (até 768px) ===== */
@media (max-width: 768px) {
    .hero-logo-img { max-width: 600px; }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        gap: 20px;
    }
    
    .servico-card,
    .depoimento-card {
        padding: 22px 18px;
    }
}

/* ===== RESPONSIVIDADE - MOBILE (até 600px) ===== */
@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    body {
        font-size: 15px;
        padding-top: var(--header-height);
    }

    .header {
        height: auto;
    }
    
    .navbar {
        padding: 0.7rem 0;
    }
    
    .navbar .container {
        padding: 0 12px;
        align-items: center;
    }

    .navbar-brand .logo {
        font-size: 1.2rem;
        letter-spacing: 1.6px;
    }
    
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 75vh;
        padding: 40px 15px 70px;
    }
    
    .hero-logo-img { max-width: 480px; }


    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons a {
        width: 100%;
        max-width: none;
    }

    .contato-info {
        align-items: center;
        text-align: center;
    }

    .contato-opcoes {
        width: 100%;
        align-items: stretch;
    }

    .opcao-contato {
        justify-content: center;
        width: 100%;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }

    .servico-card,
    .depoimento-card,
    .info-item {
        padding: 25px;
    }

    .sobre-content,
    .servicos-grid,
    .depoimentos-grid,
    .localizacao-content,
    .contato-wrapper,
    .footer-content,
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        gap: 12px;
    }

    .sobre-imagem img {
        max-width: 420px;
        margin: 0 auto;
    }

    .sobre-texto {
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        min-width: auto;
    }

    .contato-opcoes {
        gap: 12px;
    }

    .filtro-galeria {
        gap: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .filtro-btn {
        width: 100%;
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .formulario-contato input,
    .formulario-contato select,
    .formulario-contato textarea {
        padding: 14px 16px;
    }

    .btn,
    .btn-servico {
        width: 100%;
    }

    .mapa-container iframe {
        height: 300px;
    }

    .footer-bottom {
        font-size: 0.95rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
    }
}

/* ===== RESPONSIVIDADE - PEQUENOS CELULARES (até 480px) ===== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        font-size: 14px;
        padding-top: calc(var(--header-height) + 2px);
    }

    .header {
        min-height: 56px;
    }
    
    .navbar .container {
        padding: 0 10px;
    }

    .navbar-brand .logo {
        font-size: 1rem;
        letter-spacing: 1.2px;
    }
    
    .hero-logo-img { max-width: 360px; }

    .hero {
        min-height: 70vh;
        padding: 35px 12px 70px;
    }


    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        gap: 20px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .servico-card,
    .depoimento-card {
        padding: 20px 18px;
    }
    
    .info-item {
        padding: 20px;
    }

    .formulario-contato input,
    .formulario-contato select,
    .formulario-contato textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mapa-container iframe {
        height: 250px;
    }

    .contato-wrapper {
        gap: 20px;
    }

    .contato-info {
        align-items: center;
        text-align: center;
    }

    .contato-opcoes {
        width: 100%;
        align-items: stretch;
    }

    .opcao-contato {
        justify-content: center;
        width: 100%;
    }

    .filtro-btn {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOCUS-VISIBLE PARA ACESSIBILIDADE ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
@media print {
    .header, .whatsapp-button, .btn {
        display: none;
    }
}

/* Legacy lightbox styles removed; modal-galeria in use */

/* Garantir que a imagem com loading lazy ocupe o espaço corretamente */
.galeria-item img[loading] {
    display: block;
}

/* ===== MODAL DE GALERIA COM ZOOM ===== */
.modal-galeria {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-galeria.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2001;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.modal-container {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    pointer-events: auto;
}

.modal-imagem {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease;
    cursor: zoom-in;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

.modal-imagem.zoomed {
    cursor: grab;
}

.modal-imagem.dragging {
    cursor: grabbing;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 2002;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: white;
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 50px;
    pointer-events: auto;
    z-index: 2002;
}

.zoom-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.zoom-btn:hover {
    background: white;
    color: var(--accent-color);
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .modal-imagem {
        max-height: 70vh;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .modal-controls {
        bottom: 10px;
        padding: 10px;
        gap: 8px;
    }

    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

