/* ===================================
   CESAR PISCINA - STYLESHEET
   =================================== */

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

:root {
    --primary: #0a2a43;
    --secondary: #4cc7ff;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.btn-white:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

.btn-block {
    width: 100%;
}

/* Header Premium */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

#header.scrolled {
    background: white;
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.625rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.brand-location {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.desktop-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
}

.mobile-menu-btn svg {
    color: #374151;
}

.mobile-menu {
    padding: 1.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(10, 42, 67, 0.05);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 42, 67, 0.95), rgba(10, 42, 67, 0.9), rgba(76, 199, 255, 0.85));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-gray {
    background: var(--bg-gray);
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

/* Sobre */
.sobre-content {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-content p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4b5563;
}

.sobre-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Construção */
.construcao-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.construcao-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.construcao-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.construcao-card h3,
.construcao-card p {
    padding: 0 1.5rem;
}

.construcao-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.construcao-desc {
    color: var(--text-light);
    padding-bottom: 1.5rem;
    line-height: 1.7;
}

.processo-section {
    margin-top: 4rem;
}

.processo-title {
    font-size: 1.875rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
}

.processo-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.processo-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.processo-item-title {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.processo-item-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* Produtos */
.produtos-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.produto-card {
    background: rgb(255, 255, 255);
    border-radius: 2rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.produto-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.produto-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.produto-title {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.produto-desc {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

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

.diferencial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.diferencial-icon {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.diferencial-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.diferencial-desc {
    color: var(--text-light);
    line-height: 1.7;
}

/* Depoimentos */
.depoimentos-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.depoimento-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.depoimento-card.active {
    display: block;
}

.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.depoimento-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.depoimento-author {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.depoimento-location {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.depoimentos-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.depoimento-btn {
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.depoimento-btn svg {
    color: inherit;
}

.depoimentos-dots {
    display: flex;
    gap: 0.5rem;
}

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

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

/* Região */
.regiao-icon {
    color: var(--secondary);
    margin-bottom: 2rem;
}

.regiao-text {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Contato */
.contato-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 3rem;
}

.contato-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contato-icon {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contato-title {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contato-text {
    color: var(--text-light);
}

.contato-text a {
    color: var(--primary);
    font-weight: 500;
}

.contato-text a:hover {
    text-decoration: underline;
}

.whatsapp-cta {
    text-align: center;
    margin: 3rem 0;
}

.whatsapp-cta .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
}

.horario-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 1rem;
}

.horario-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.horario-text {
    color: var(--text-light);
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Chatbot */
.chatbot-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.chatbot-text {
    font-size: 0.875rem;
    font-weight: 600;
    padding-right: 0.5rem;
}

.chatbot-modal {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 950;
    width: 384px;
    max-width: calc(100vw - 3rem);
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    display: flex;
    flex-direction: column;
    max-height: 500px;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
}

.chatbot-header-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.chatbot-header-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    margin: 0;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.chatbot-welcome {
    margin-bottom: 1.5rem;
}

.chatbot-welcome p {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.chatbot-subtitle {
    font-weight: 600;
    color: var(--primary);
}

.chatbot-questions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chatbot-question-btn {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text);
    font-size: 0.9375rem;
}

.chatbot-question-btn:hover {
    background: rgba(10, 42, 67, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.chatbot-answer {
    background: rgba(76, 199, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border-left: 3px solid var(--secondary);
    animation: fadeIn 0.3s ease;
}

.chatbot-answer p {
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.6;
}

.chatbot-footer {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .chatbot-text {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .desktop-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .chatbot-text {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
