:root {
    /* Colors from Logo */
    --primary: #2C302C; /* Dark Graphite */
    --secondary: #6B7D5D; /* Moss Green */
    --accent: #A4B29A; /* Light Moss */
    --background: #E4E2D5; /* Cream background */
    --light-bg: #F5F4EF; /* Very Light Cream */
    --text-main: #2C302C;
    --text-muted: #555A55;
    --white: #FFFFFF;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-bg);
}

.center {
    text-align: center;
}

/* Typography Helpers */
h1 { font-size: 4rem; font-weight: 800; margin-bottom: 24px; }
h2 { font-size: 3rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 15px; }
p { font-size: 1.125rem; margin-bottom: 20px; opacity: 0.9; }

.label {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.highlight {
    color: var(--secondary);
    position: relative;
}

.accent {
    position: relative;
    z-index: 1;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent);
    opacity: 0.4;
    z-index: -1;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(228, 226, 213, 0.85);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-weight: 700;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.full-width { width: 100%; }

/* Hero Section */
#hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.main-card {
    width: 440px;
    height: 440px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.logo-illustration {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.floating-badge {
    position: absolute;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--primary);
    animation: float 6s ease-in-out infinite;
}

.badge-1 { top: 10%; right: -5%; animation-delay: 0s; }
.badge-2 { bottom: 15%; left: -5%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

/* Features */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rounded-img {
    border-radius: var(--radius-lg);
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 900;
}

/* Contact Wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding: 0;
}

.contact-info {
    padding: 60px;
    background: var(--primary);
    color: var(--white);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-method:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-info p {
    opacity: 0.7;
    margin-bottom: 30px;
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.02);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding-bottom: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    background: white; /* Cor de fundo para integrar o logo sólido no rodapé escuro */
    padding: 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 20px;
    opacity: 0.5;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.link-group a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
    font-size: 0.95rem;
}

.link-group a:hover {
    opacity: 1;
    color: var(--accent);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    .hero-content { gap: 40px; }
    .main-card { width: 360px; height: 360px; }
}

@media (max-width: 968px) {
    .container { padding: 0 40px; }
    .hero-content, .grid-2, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-text { text-align: center; }
    .hero-btns { justify-content: center; }
    .text-box { order: -1; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.5rem; }
}

/* Scroll Revel Animations */
[data-reveal] {
    opacity: 0;
    transition: all 1s ease;
}

[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal].active {
    opacity: 1;
    transform: translate(0, 0);
}
