/* Reset e Variáveis */
:root {
    --primary-color: #0869a8;
    --primary-dark: #065a8f;
    --secondary-color: #4A90A4;
    --accent-color: #D4AF37;
    --accent-coral: #FF6B6B;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-off-white: #F5F5F5;
    --success-color: #27AE60;
    --gradient-primary: linear-gradient(135deg, #0869a8 0%, #065a8f 100%);
    --gradient-hero: linear-gradient(180deg, rgba(8, 105, 168, 0.85) 0%, rgba(6, 90, 143, 0.95) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: #0869a8;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    height: 100%;
}

.header.scrolled .navbar {
    padding: 0;
}

.navbar .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    min-height: 112.5px;
    align-content: flex-start;
    margin: 0;
}

.header.scrolled .nav-wrapper {
    min-height: 75px;
}

.logo {
    display: flex;
    align-items: flex-start;
    margin-right: auto;
    margin-left: 0;
    padding-top: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 20px;
    padding: 0;
    align-items: flex-start;
    flex-shrink: 0;
}

.logo-img {
    height: 112.5px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 75px;
}

.nav-link {
    text-decoration: none;
    color: var(--bg-white);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--bg-white);
}

.nav-link:hover {
    color: var(--accent-color);
}

.header.scrolled .nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--bg-white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-colchao-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 105, 168, 0.4) 0%, rgba(6, 90, 143, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--bg-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.hero-title-large {
    font-size: 3.8rem;
    display: block;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.hero-title-small {
    font-size: 2.4rem;
    display: block;
    font-weight: 400;
    font-style: italic;
    opacity: 0.98;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--text-dark);
    color: #D4AF37;
    border: 2px solid #D4AF37;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: #1a2530;
    border-color: #E5C030;
    color: #E5C030;
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Categorias */
.categorias {
    background: var(--bg-light);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.categoria-card {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.categoria-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
}

.categoria-icon img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.categoria-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Produtos */
.produtos {
    background: var(--bg-white);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.produto-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.produto-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.produto-placeholder {
    color: var(--bg-white);
    font-weight: 600;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.produto-info {
    padding: 1.5rem;
}

.produto-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.produto-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Sobre */
.sobre {
    background: var(--bg-light);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sobre-video {
    width: 100%;
    margin-bottom: 2rem;
}

.sobre-video video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.sobre-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Tecnologias */
.tecnologias {
    background: var(--bg-white);
}

.tecnologias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.tecnologia-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.tecnologia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.tecnologia-icon {
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    min-width: 250px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

.tecnologia-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.tecnologia-circular {
    border-radius: 50% !important;
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
}

.tecnologia-circular img {
    border-radius: 50% !important;
    border: none !important;
}


.tecnologia-content {
    flex: 1;
}

.tecnologia-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: left;
}

.tecnologia-card p {
    text-align: left;
    line-height: 1.7;
}

.tecnologia-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Depoimentos */
.depoimentos {
    background: var(--bg-light);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.depoimento-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.depoimento-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.depoimento-author {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contato */
.contato {
    background: var(--bg-white);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contato-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.info-card {
    background: var(--gradient-primary);
    color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        margin-top: 20px;
        margin-right: 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .header.scrolled .nav-menu {
        background: #0869a8;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
    }

    .header.scrolled .nav-menu .nav-link {
        color: var(--bg-white);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content-wrapper {
        min-height: calc(100vh - 80px);
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-title-large {
        font-size: 2.5rem;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .hero-title-small {
        font-size: 1.8rem;
        font-weight: 400;
        font-style: italic;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .produtos-grid,
    .categorias-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .tecnologias-grid {
        grid-template-columns: 1fr;
    }

    .tecnologia-card {
        flex-direction: column;
        text-align: center;
    }

    .tecnologia-icon {
        width: 100%;
        min-width: 100%;
    }

    .tecnologia-content {
        text-align: center;
    }

    .tecnologia-card h3,
    .tecnologia-card p {
        text-align: center;
    }
}
