

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background-color: #F4F4F4;
    font-family: Arial, sans-serif;
}

i {
    font-size: 10px;
}


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: center;
    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);
}

.mobileMenu a {
    text-align: center;
    color: #3d0101;
    border-radius: 10px;
    padding: 8px 20px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
}



.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;
}

.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 {
    transform: translateY(-10px);
}

.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);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item.active {
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.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);
}


.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;
}





#menuToggle,
#mobileMenu,
.overlay {
    display: none;
}



@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;
    }
}



@media (max-width: 768px) {

   
    .menu-bar {
        display: none;
    }

    #menuToggle {
        display: block;
        cursor: pointer;
    }

    #mobileMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #111;
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
    transition: right 0.3s ease;
    z-index: 1001;
    }

    #mobileMenu.active {
    right: 0;
    }

    .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    }

    .overlay.active {
    opacity: 1;
    pointer-events: auto;
    }

   
    .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;
    }

    .carrossel-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

   
    .contato-form {
        padding: 30px 20px;
    }
}

html {
  scroll-behavior: smooth;
}


@media (max-width: 768px) {

   
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu-bar {
        display: none;
    }

   
    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 180px;
        height: auto;
    }

   
    #menuToggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1100;
    }

    #menuToggle span {
        width: 26px;
        height: 3px;
        background-color: #3d0101;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

   
    #mobileMenu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background-color: #F4F4F4;
        padding: 30px 20px;
        gap: 20px;
        z-index: 1000;
        transition: right 0.3s ease;
    }

    #mobileMenu.active {
        right: 0;
    }

   
    .overlay {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 999;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}