@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #2D5A27;
    --primary-light: #4CAF50;
    --secondary: #2D5A27;
    --secondary-hover: #1E3D1A;
    --bg-light: #F4F9F4;
    --white: #FFFFFF;
    --text-dark: #1B3022;
    --text-light: #5E7D63;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-accent {
    background-color: #FF6D00;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.4);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.btn-accent:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 109, 0, 0.5);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Header */
header {
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap; /* Prevents text from breaking into two lines */
}

.logo-icon-img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo-icon-img {
        height: 35px;
    }
    .logo {
        font-size: 1.4rem;
        gap: 0.5rem;
    }
    #header-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero, .hero-content {
        text-align: left;
        align-items: flex-start;
    }
    .hero-list ul {
        align-items: flex-start;
    }
}

header.scrolled .logo {
    color: var(--primary);
}

.logo span {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/hero_sofa_clean_1777306278893.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    padding-top: 100px; /* Space for the fixed header */
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 2rem;
    font-weight: 600;
    opacity: 1;
}

.hero-list {
    margin-bottom: 3rem;
}

.hero-list ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hero-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.proof-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Image Comparison Slider */
.image-comparison {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    cursor: col-resize;
}

.image-comparison img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-comparison .img-before {
    z-index: 1;
}

.image-comparison .img-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comparison-slider {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--white);
    transform: translateX(-50%);
    pointer-events: none;
}

.comparison-slider::after {
    content: "\f337";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.image-comparison .label {
    position: absolute;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    z-index: 4;
    pointer-events: none;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    padding: 15px;
}

.image-comparison .label-before {
    top: 0;
    left: 0;
}

.image-comparison .label-after {
    bottom: 0;
    right: 0;
}

.image-comparison .label-before::after {
    content: " >";
}

.image-comparison .label-after::before {
    content: "< ";
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    cursor: col-resize;
}

/* Differentials */
.differentials {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.diff-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.diff-card:hover {
    transform: translateY(-10px);
}

.diff-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.diff-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Services */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.service-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Proof Section - Featured Layout */
.proof {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.main-item .comparison-static img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.side-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-comparison {
    position: relative;
    height: 250px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.proof-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.proof-text {
    padding: 20px;
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .main-item .comparison-static img {
        height: 450px;
    }

    .image-comparison {
        height: 400px;
    }
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p, .footer-col li {
    opacity: 0.8;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links a {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.social-links a i {
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Floats Container */
.floats-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

#back-to-top {
    background-color: var(--white);
    color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#back-to-top:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
    font-size: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .floats-container {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.1rem;
        gap: 0.6rem;
    }

    .logo-img {
        height: 35px;
    }

    #header-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    #header-cta i {
        display: none; /* Hide icon to save space on mobile header button */
    }

    .hero {
        text-align: center;
        justify-content: center;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none; /* Hide 'Limpeza' on very small screens to fit the button */
    }
    
    .logo {
        font-size: 1rem;
    }
}
