* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-02 img {
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: #F4F4F4;
    font-family: Arial, sans-serif;
}

i {
    font-size: 10px;
}

.promocao {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
}

.promocao:hover {
    cursor: pointer;
}

.promocao img {
    position: absolute;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.promocao img.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

header {
    display: flex;
    background-color: #F4F4F4;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 250px;
    height: auto;
    display: block;
}

.menu-bar {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.menu-bar a {
    color: #3d0101;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
}

.menu-bar a:hover {
    transform: translateY(-2px);
}


.hero-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 5%;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-01 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-01 h1 {
    color: #3d0101;
    margin-bottom: 20px;
    font-size: clamp(28px, 4vw, 42px);
}

.hero-01 p {
    margin-bottom: 30px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: #333;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons a {
    align-items: center;
    text-align: center;
    background-color: #3d0101;
    color: #F4F4F4;
    border-radius: 10px;
    padding: 10px 24px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    min-width: 150px;
}

.hero-buttons a:hover {
    background-color: #570000;
    transform: translateY(-2px);
}

.hero-02 {
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-02 img {
    position: absolute;
    width: 300px;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
}

.hero-02 img.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.servicos {
    background-color: #ececec;
    padding: 80px 5%;
}

.container-01 {
    max-width: 1200px;
    margin: 0 auto;
}

.servicos h2 {
    text-align: center;
    font-size: 36px;
    color: #3d0101;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.servicos h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background-color: #3d0101;
    border-radius: 20px;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: #F4F4F4;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    font-size: 48px;
    color: #3d0101;
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #3d0101;
}

.servico-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.sobre {
    padding: 80px 5%;
    background-color: #F4F4F4;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.sobre-image {
    width: 100%;
    max-width: 600px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(61, 1, 1, 0.1);
    transition: transform 0.3s ease;
}

.sobre-image:hover {
    transform: translateY(-10px);
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.sobre-image:hover img {
    transform: scale(1.05);
}

.sobre-content h2 {
    font-size: 36px;
    color: #3d0101;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.sobre-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 180px;
    height: 3px;
    background-color: #3d0101;
}

.sobre-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.skills {
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name span:first-child {
    font-weight: 600;
    color: #3d0101;
    font-size: 16px;
}

.skill-name span:last-child {
    font-weight: bold;
    color: #3d0101;
    font-size: 14px;
}

.skill-bar {
    height: 8px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #3d0101, #570000);
    border-radius: 10px;
    position: relative;
    animation: fillBar 1.5s ease-out forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes fillBar {
    to {
        transform: scaleX(1);
    }
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.sobre-cta {
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #3d0101;
    color: #F4F4F4;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #570000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(61, 1, 1, 0.2);
}

.cta-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.portfolio {
    padding: 80px 5%;
    background-color: #ececec;
}

.portfolio h2 {
    text-align: center;
    font-size: 36px;
    color: #3d0101;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background-color: #3d0101;
    border-radius: 20px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid #3d0101;
    color: #3d0101;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3d0101;
    color: #F4F4F4;
}

.portfolio-carrossel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.portfolio-carrossel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    transition: transform 0.5s ease;
    min-height: 350px;
}

.portfolio-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    height: 0;
    overflow: hidden;
}

.portfolio-item {
    display: none;
}

.portfolio-item.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    height: auto;
    overflow: visible;
}

.portfolio-item.active:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.portfolio-overlay {
    padding: 20px;
}

.portfolio-overlay h3 {
    color: #3d0101;
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(61, 1, 1, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrossel-btn:hover {
    background-color: rgba(61, 1, 1, 0.9);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carrossel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.active {
    background-color: #3d0101;
    transform: scale(1.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contato {
    padding: 80px 5%;
    background-color: #ececec;
}

.contato h2 {
    text-align: center;
    font-size: 36px;
    color: #3d0101;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contato h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 295px;
    height: 3px;
    background-color: #3d0101;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info h3 {
    font-size: 28px;
    color: #3d0101;
    margin-bottom: 20px;
}

.contato-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contato-icon {
    width: 40px;
    height: 40px;
    background-color: #3d0101;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F4F4F4;
    font-size: 18px;
}

.contato-item h4 {
    color: #3d0101;
    font-size: 18px;
    margin-bottom: 5px;
}

.contato-item p {
    color: #555;
    font-size: 16px;
    margin-bottom: 0;
}

.contato-form {
    background-color: #F4F4F4;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3d0101;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn {
    background-color: #3d0101;
    color: #F4F4F4;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn:hover {
    background-color: #570000;
    transform: translateY(-2px);
}

footer {
    padding: 40px 5%;
    background-color: #3d0101;
    color: #F4F4F4;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
}

footer p {
    color: #cecece;
    margin-bottom: 25px;
    font-size: 16px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social 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%;
    color: #F4F4F4;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #999;
    font-size: 14px;
}

.copyright p {
    font-size: 11px;
}

html {
    scroll-behavior: smooth;
}


@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-02 {
        width: 100%;
        max-width: 500px;
        height: 320px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sobre-image {
        max-width: 100%;
        height: 420px;
        margin: 0 auto;
    }

    .portfolio-carrossel {
        grid-template-columns: 1fr 1fr;
    }

    .contato-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .portfolio-item {
        width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 5%;
    }

    .hero-01 h1 {
        font-size: 28px;
    }

    .hero-01 p {
        font-size: 16px;
    }

    .hero-02 {
        height: 260px;
    }

    .sobre {
        padding: 60px 5%;
    }

    .sobre-image {
        height: 360px;
    }

    .portfolio-carrossel {
        grid-template-columns: 1fr;
    }

    .portfolio-item img {
        height: 220px;
    }

    .portfolio-item {
        width: 100%;
        position: relative;
    }

    .portfolio-item.active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        position: relative;
        animation: none;
    }

    .portfolio-item:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    }

    .portfolio-carrossel {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        transition: transform 0.5s ease;
        min-height: 350px;
        position: relative;
    }

    .carrossel-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .contato-form {
        padding: 30px 20px;
    }

    .promocao {
        margin-bottom: 4rem;
    }

    .promocao img {
        height: 60px;
    } 

}

@media (max-width: 480px) {

    header {
        flex-direction: column;
        padding: 15px 5%;
        align-items: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .logo img {
        width: 220px;
        margin: 0 auto;
    }

    .menu-bar {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .menu-bar a {
        font-size: 13px;
        padding: 5px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }


    .menu-bar::-webkit-scrollbar {
        display: none;
    }


    .hero-01 h1 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 250px;
    }

    .promocao {
        margin-bottom: 2rem;
    }

    .promocao img {
        height: 60px;
    } 

}