:root {
    --primary-orange: #ff6b35;
    --secondary-orange: #ff8c42;
    --dark-orange: #e85d2c;
    --light-orange: #ffa566;
    --accent: #f7931e;
    --dark: #1a1a1a;
    --gray: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: rgba(255, 107, 53, .2)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px #0000001a;
    z-index: 1000;
    animation: slideDown .5s ease
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0
    }
    to {
        transform: translateY(0);
        opacity: 1
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: left;
    padding: 10px;
    margin:10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-orange);
    font-weight: 700
}

.logo span {
    color: var(--dark)
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1rem
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    transition: color .3s ease;
    position: relative;
    display: flex;
}

.nav a:after {
    content: "";
    position: relative;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width .3s ease;
}

.nav a:hover {
    color: var(--primary-orange)
}

.nav a:hover:after {
    width: 100%
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 1;
    background-image: url('../assets/casal-se-mudando-para-casa-nova.jpg');
    background-position: 0%;
    background-size: cover;
    background-position-x: right;
    
    
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: waveAnimation 15s ease-in-out infinite
}

@keyframes waveAnimation {
    0%,
    to {
        transform: translate(0)
    }
    50% {
        transform: translate(-20px)
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, .3);
    animation: fadeInUp 1s ease .2s backwards
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
    animation: fadeInUp 1s ease .4s backwards
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem
}

.btn-primary {
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 10px 30px #0003;
    animation: fadeInUp 1s ease .6s backwards, pulse 2s ease-in-out infinite 2s
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px #0000004d
}

@keyframes pulse {
    0%,
    to {
        transform: scale(1)
    }
    50% {
        transform: scale(1.05)
    }
}

section {
    padding: 5rem 0
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    animation: fadeIn 1s ease
}

.section-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 1rem auto;
    border-radius: 2px
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.services {
    background: var(--light-gray)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 5px 15px #00000014;
    animation: fadeInUp .6s ease
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow)
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite
}

@keyframes bounce {
    0%,
    to {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

.service-card:hover .service-icon {
    animation: rotate .5s ease
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange)
}

.service-card p {
    color: #666;
    line-height: 1.8
}

.about {
    background: var(--white);
    width: 90%;
    margin: auto;
}

.about-content {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: justify;
    padding: 5px;
}

.about-text h2 {
    text-align: left
}

.about-text h2:after {
    margin: 1rem 0
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem
}

.about-list {
    list-style: none;
    margin-top: 2rem
}

.about-list li {
    padding: .8rem 0;
    font-size: 1.1rem;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    animation: slideInLeft .6s ease
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translate(-30px)
    }
    to {
        opacity: 1;
        transform: translate(0)
    }
}

.about-image-placeholder {
    width: 100%;
    height: auto;
    
    border-radius: 15px;
    animation: fadeInRight 1s ease;
    position: relative;
    
}



@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate(30px)
    }
    to {
        opacity: 1;
        transform: translate(0)
    }
}

.projects {
    background: var(--light-gray)
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px #00000014;
    transition: all .3s ease;
    animation: zoomIn .6s ease
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(.9)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow)
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--light-orange) 0%, var(--secondary-orange) 100%);
    position: relative;
    overflow: hidden
}

.project-image:before {
    content: "🏠";
    position: absolute;
    font-size: 6rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .5
}

.project-info {
    padding: 1.5rem
}

.project-info h3 {
    color: var(--primary-orange);
    margin-bottom: .5rem;
    font-size: 1.3rem
}

.project-info p {
    color: #666
}

.testimonials {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white)
}

.testimonials .section-title {
    color: var(--white)
}

.testimonials .section-title:after {
    background: var(--white)
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.testimonial-card {
    background: #fffffff2;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px #0003;
    transition: transform .3s ease;
    animation: fadeInUp .6s ease
}

.testimonial-card:hover {
    transform: translateY(-5px)
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.testimonial-card p {
    color: var(--dark);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8
}

.testimonial-author {
    color: var(--primary-orange);
    font-weight: 600
}

.contact {
    background: var(--white)
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideInLeft .6s ease
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px
}

.contact-item h3 {
    color: var(--primary-orange);
    margin-bottom: .5rem
}

.contact-item p {
    color: #666;
    line-height: 1.6
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    animation: fadeInRight .8s ease
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem
}

.contact-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem
}

.btn-whatsapp {
    background: var(--white);
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite 1s
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px #0000004d
}

.whatsapp-icon {
    font-size: 1.5rem
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--primary-orange);
    margin-bottom: 1rem
}

.footer-col ul {
    list-style: none
}

.footer-col ul li {
    padding: .5rem 0;
    color: #ccc
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color .3s ease
}

.footer-col a:hover {
    color: var(--primary-orange)
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px #25d36666;
    z-index: 999;
    transition: all .3s ease;
    animation: floatAnimation 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
    text-decoration: none
}

@keyframes floatAnimation {
    0%,
    to {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px #25d36699
}

.whatsapp-float-icon {
    font-size: 2rem
}

@media (max-width: 968px) {
    .nav ul {
        gap: 1rem
    }
    .hero-title {
        font-size: 2.5rem
    }
    .hero-subtitle {
        font-size: 1.2rem
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem
    }
    .section-title {
        font-size: 2rem
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: .8rem
    }
    .nav a {
        font-size: .9rem
    }
    .hero {
        padding: 0 20px
    }
    .hero-title {
        font-size: 2rem
    }
    .hero-subtitle {
        font-size: 1rem
    }
    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px
    }
    .whatsapp-float-icon {
        font-size: 1.5rem
    }
}

@media (max-width: 480px) {
    .hero-title,
    .section-title {
        font-size: 1.8rem
    }
    .btn {
        padding: .8rem 2rem;
        font-size: .9rem
    }
    .service-card,
    .testimonial-card {
        padding: 1.5rem
    }
    .contact-cta {
        padding: 2rem 1rem
    }
}