/* ========== RESET E VARIÁVEIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --primary-color: #4B3621;
    --secondary-color: #6F563B;
    --accent-color: #C5A059;
    --gold-accent: #C5A059;
    
    /* Cores Neutras */
    --white: #ffffff;
    --off-white: #F9F7F2;
    --light-gray: #F1ECE3;
    --medium-gray: #DDD4C8;
    --dark-gray: #5B5147;
    --text-dark: #2C2C2C;
    --text-light: #6D665D;
    --text-on-dark: #ffffff;
    --text-color: #2C2C2C;
    
    /* Tipografia */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    
    /* Espaçamentos */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 15px;
    
    /* Sombras */
    --shadow-light: 0 10px 30px rgba(75, 54, 33, 0.08);
    --shadow-medium: 0 18px 45px rgba(75, 54, 33, 0.12);
    --shadow-heavy: 0 24px 70px rgba(75, 54, 33, 0.18);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* ========== BASE STYLES ========== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.72;
    color: var(--text-dark);
    background-color: var(--white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.1;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Botão Ver Portfólio Fixo */
.btn-fixed {
    background: var(--primary-color) !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-fixed:hover {
    background: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logos Container */
.logos-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand .logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-color);
    margin: 0;
}

.logo-separator {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 1.2rem;
}

.logo-secondary {
    color: var(--accent-color);
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.nav-brand .tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    transition: var(--transition);
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Smart Space Link Styling */
.smart-spaces-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.smart-spaces-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.hero-main {
    display: block;
    font-size: clamp(3rem, 7.5vw, 5.75rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.065em;
    margin-bottom: 0.5rem;
}

.hero-highlight {
    display: block;
    font-size: clamp(2.6rem, 6.4vw, 5.1rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: var(--gold-accent);
}

.hero-description {
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.68;
    max-width: 660px;
    margin: 0 auto 3.4rem;
    opacity: 0.95;
    color: var(--text-on-dark);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.055em;
    color: var(--gold-accent);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    color: var(--text-on-dark);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-on-dark);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    display: block;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.section-subtitle {
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.68;
    font-weight: 400;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: var(--white);
    padding: 2.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.service-description {
    margin-bottom: 1.75rem;
    line-height: 1.72;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.service-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    padding: var(--section-padding);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--medium-gray);
    background-color: transparent;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-subtitle {
    color: var(--gold-accent);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-highlights {
    margin-bottom: 2rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Links nos highlights */
.highlight-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.about-image {
    text-align: center;
}

/* Foto Profissional */
.professional-photo {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.photo-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: var(--section-padding);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--gold-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ========== SMART SPACE STYLES ========== */
.smart-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 140px 0 96px;
    text-align: center;
}

.smart-hero-title {
    font-size: clamp(4rem, 10vw, 8.6rem);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.08em;
    margin-bottom: 1.25rem;
}

.smart-hero-subtitle {
    font-size: clamp(1.4rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.052em;
    margin-bottom: 1.75rem;
    opacity: 0.9;
}

.smart-hero-description {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.72;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    opacity: 0.95;
    color: var(--text-on-dark);
}

.smart-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.smart-feature {
    text-align: center;
}

.smart-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.smart-feature h3 {
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.category-card {
    background: white;
    padding: 2.25rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.category-card li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.category-card li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Featured Products */
.featured-products {
    padding: var(--section-padding);
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    position: relative;
    height: 270px;
    padding: 12px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: 10px;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-features {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.product-info > .btn {
    margin-top: auto;
    align-self: flex-start;
}

.product-features span {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.product-features i {
    margin-right: 5px;
    color: var(--accent-color);
}

.product-price {
    margin: 1.5rem 0;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 10px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-installment {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 5px;
}

/* Why Choose Us */
.why-choose {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.benefit {
    text-align: center;
    padding: 2rem;
}

.benefit i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Smart CTA */
.smart-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .logos-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-separator {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-main,
    .hero-highlight {
        font-size: 2.5rem;
    }
    
    .smart-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .professional-photo {
        width: 250px;
        height: 320px;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-main,
    .hero-highlight {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== UTILITÁRIOS ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }


/* ========== PÁGINA SERVIÇOS ========== */

/* Hero Services */
.hero-services {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 165px 0 80px;
    text-align: center;
}

.hero-services .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-services .hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    color: var(--white);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Services Overview */
.services-overview {
    padding: var(--section-padding);
    background-color: 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: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Service Details */
.service-details {
    padding: var(--section-padding);
}

.service-details.alt-bg {
    background-color: var(--light-gray);
}

.service-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.detail-text h3 {
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.detail-text .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.detail-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Process Steps */
.process-steps {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.process-steps h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-box {
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-box p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Box */
.cta-box {
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-box p {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Methodology Highlight */
.methodology-highlight {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    color: var(--white);
    text-align: center;
}

.methodology-highlight h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.methodology-highlight p {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

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

.btn-secondary:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

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

.faq-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.faq-question {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* CTA Final */
.cta-final {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--white);
    opacity: 0.95;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-services .hero-title {
        font-size: 2rem;
    }
    
    .hero-services .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .detail-text h2 {
        font-size: 2rem;
    }
    
    .detail-text h3 {
        font-size: 1.5rem;
    }
}

/* Active menu item */
.nav-menu a.active {
    color: var(--gold-accent);
    font-weight: 600;
}


/* ========== LOGOS COM IMAGENS ========== */
.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-image,
.logo-image-secondary {
    width: 215px;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 3px;
}

.logo-image-secondary {
    max-height: 50px;
}

/* Fallback text logos (mostrados apenas se imagem falhar) */
.logo-text {
    display: none;
}

/* Responsivo para logos */
@media (max-width: 768px) {
    .logo-image,
    .logo-image-secondary {
        width: 170px;
        height: 46px;
    }
    
    .logo-image-secondary {
        max-height: 35px;
    }
}

/* ========== ORGANIC TECH MINIMALISM OVERRIDES ========== */
body {
    background: var(--off-white);
    color: var(--text-dark);
}

p {
    color: var(--text-light);
}

.header {
    background-color: rgba(249, 247, 242, 0.94);
    border-bottom: 1px solid rgba(197, 160, 89, 0.22);
    box-shadow: 0 10px 30px rgba(75, 54, 33, 0.06);
}

.nav-brand .logo,
.logo-secondary,
.section-title,
.service-title,
.detail-text h2,
.detail-text h3,
.category-card h3,
.product-info h3,
.faq-question {
    color: var(--primary-color);
}

.logo-separator,
.hero-highlight,
.about-subtitle,
.highlight i,
.contact-item i,
.product-features i,
.benefit i {
    color: var(--accent-color);
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn,
.service-cta,
.filter-btn,
.category-card,
.product-card,
.service-card,
.portfolio-item,
.contact-form,
.faq-item,
.info-box,
.step,
.professional-photo {
    border-radius: var(--border-radius);
}

.btn-primary,
.service-cta {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    font-weight: 700;
}

.btn-primary:hover,
.service-cta:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover,
.btn-fixed,
.btn-fixed:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

.smart-spaces-link {
    background: var(--primary-color);
    border-radius: 999px;
    color: var(--white) !important;
    box-shadow: none;
}

.smart-spaces-link:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
}

.nav-link:hover,
.nav-menu a.active,
.highlight-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    background-color: var(--accent-color);
}

.hero,
.hero-services,
.smart-hero,
.cta-final,
.smart-cta,
.cta-box,
.footer {
    background:
        linear-gradient(135deg, rgba(62, 43, 26, 0.97), rgba(88, 65, 42, 0.88)),
        repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(118deg, rgba(44, 30, 18, 0.18) 0 1px, transparent 1px 9px),
        radial-gradient(circle at top right, rgba(197, 160, 89, 0.26), transparent 32%);
}

.hero {
    min-height: 94vh;
}

.hero-background {
    background-image: url('../images/hero/hero-experiencia-tecnica-arquitetura.jpg');
    background-size: cover;
    background-position: center 42%;
    opacity: 0.3;
    mix-blend-mode: luminosity;
    filter: saturate(0.68) contrast(1.24) brightness(0.82);
}

.hero-overlay {
    background:
        linear-gradient(105deg, rgba(39, 26, 15, 0.94) 0%, rgba(75, 54, 33, 0.84) 52%, rgba(28, 23, 19, 0.9) 100%),
        radial-gradient(circle at 18% 24%, rgba(197, 160, 89, 0.22), transparent 30%),
        repeating-radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 5px);
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-subtitle,
.hero-description,
.hero-scroll,
.hero-services .hero-subtitle,
.smart-hero-description,
.smart-feature p,
.cta-content p,
.footer-section p,
.footer-section ul li,
.footer-section ul li a,
.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.86);
}

.hero-main,
.hero-services .hero-title,
.smart-hero-title,
.smart-hero-subtitle,
.cta-content h2,
.footer h3,
.footer h4,
.footer-col h3,
.footer-col h4 {
    color: var(--white);
}

.stat-number {
    color: var(--accent-color);
}

.services,
.about,
.categories,
.why-choose,
.services-overview,
.service-details.alt-bg {
    background: var(--light-gray);
}

.portfolio,
.contact,
.featured-products,
.faq-section,
.service-details,
.smart-concept {
    background: var(--off-white);
}

.section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    letter-spacing: 0;
}

.section-subtitle {
    color: var(--text-light);
}

.services-grid {
    align-items: stretch;
}

.service-card,
.category-card,
.product-card,
.faq-item,
.step,
.info-box,
.contact-form {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(197, 160, 89, 0.22);
    box-shadow: var(--shadow-light);
}

.service-card:hover,
.category-card:hover,
.product-card:hover,
.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.service-icon,
.category-icon,
.contact-item i,
.step-number {
    background: var(--primary-color);
    color: var(--accent-color);
}

.service-icon i,
.category-icon i,
.service-icon svg {
    color: var(--accent-color);
}

.service-card p,
.service-card ul li,
.category-card li,
.product-info p,
.detail-text p,
.faq-answer,
.info-box p,
.step p {
    color: var(--text-light);
}

.service-features li::before,
.service-card ul li:before,
.category-card li:before {
    color: var(--accent-color);
}

.portfolio-filters {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    border-color: rgba(197, 160, 89, 0.42);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.58);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.portfolio-image {
    height: 280px;
}

.portfolio-overlay {
    background: rgba(75, 54, 33, 0.9);
}

.legacy {
    padding: var(--section-padding);
    background:
        linear-gradient(180deg, var(--off-white), var(--light-gray));
}

.legacy-timeline {
    position: relative;
    display: grid;
    gap: 3rem;
}

.legacy-timeline::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 50%;
    width: 1px;
    background: rgba(197, 160, 89, 0.52);
}

.legacy-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.legacy-item::before {
    content: '';
    position: absolute;
    left: calc(50% - 7px);
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    border: 4px solid var(--off-white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(75, 54, 33, 0.18);
}

.legacy-item-reverse {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
}

.legacy-item-reverse .legacy-media {
    order: 2;
}

.legacy-media {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 236, 227, 0.78));
}

.legacy-media img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.legacy-media-contain {
    padding: 1.25rem;
}

.legacy-media-contain img {
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.legacy-media-archive,
.legacy-media-object {
    background:
        linear-gradient(135deg, rgba(75, 54, 33, 0.94), rgba(111, 86, 59, 0.86)),
        repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
}

.legacy-media-archive img,
.legacy-media-object img {
    background: transparent;
}

.legacy-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(197, 160, 89, 0.42);
    border-radius: 18px;
    box-shadow: var(--shadow-light);
}

.legacy-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(197, 160, 89, 0.32);
    border-radius: 12px;
    pointer-events: none;
}

.legacy-year {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
}

.legacy-card h3 {
    color: var(--primary-color);
    font-size: 1.65rem;
}

.legacy-card p {
    margin-bottom: 0;
}

.about-highlights .highlight {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(197, 160, 89, 0.18);
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-item i {
    border-radius: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-color: rgba(197, 160, 89, 0.34);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.16);
}

.smart-hero {
    text-align: left;
    padding: 150px 0 90px;
}

.smart-hero-content {
    max-width: 980px;
}

.smart-hero-title {
    font-size: clamp(3rem, 7vw, 5.6rem);
}

.smart-hero-subtitle {
    font-size: clamp(1.35rem, 3vw, 2.4rem);
}

.smart-features {
    margin-left: 0;
}

.smart-feature,
.concept-card,
.benefit {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: var(--border-radius);
}

.smart-feature i {
    color: var(--accent-color);
}

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

.concept-card {
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-light);
}

.concept-card i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.concept-card h3 {
    color: var(--primary-color);
    font-size: 1.45rem;
}

.product-image {
    background: linear-gradient(180deg, var(--light-gray), var(--off-white));
}

.product-image img {
    border-radius: 12px;
}

.product-features span {
    background: var(--light-gray);
    color: var(--primary-color);
}

.process-steps {
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.methodology-highlight {
    background:
        linear-gradient(135deg, rgba(75, 54, 33, 0.96), rgba(111, 86, 59, 0.92));
}

.footer {
    border-top: 4px solid var(--accent-color);
}

.footer-bottom {
    border-top-color: rgba(197, 160, 89, 0.24);
}

/* ========== PREMIUM TYPOGRAPHY SYSTEM ========== */
h1,
h2,
h3,
.hero-title,
.hero-main,
.hero-highlight,
.smart-hero-title,
.smart-hero-subtitle,
.section-title,
.service-title,
.service-card h3,
.category-card h3,
.product-info h3,
.concept-card h3,
.legacy-card h3,
.faq-question,
.detail-text h2,
.detail-text h3,
.cta-content h2,
.nav-brand .logo,
.logo-secondary,
.nav-menu a,
.btn,
.service-cta {
    font-family: var(--font-heading);
}

p,
li,
input,
select,
textarea,
.section-subtitle,
.hero-description,
.smart-hero-description,
.service-description,
.product-info p,
.product-features span,
.legacy-year,
.section-kicker,
.stat-label,
.footer,
.contact-item,
.filter-btn {
    font-family: var(--font-primary);
}

.hero-title,
.hero-main,
.hero-highlight,
.smart-hero-title,
.section-title,
.hero-services .hero-title {
    text-wrap: balance;
}

.hero-title {
    margin-bottom: 2.35rem;
}

.hero-content,
.smart-hero-content {
    padding-top: 1rem;
}

.section-header {
    margin-bottom: 4.6rem;
}

.service-card,
.category-card,
.product-card,
.concept-card,
.legacy-card,
.faq-item,
.step,
.info-box {
    box-shadow: 0 18px 54px rgba(75, 54, 33, 0.075);
}

.service-card,
.category-card {
    text-align: left;
}

.service-icon,
.category-icon {
    margin-left: 0;
    margin-right: 0;
}

.btn-primary,
.service-cta {
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.18);
}

.btn-primary:hover,
.service-cta:hover {
    box-shadow: 0 16px 34px rgba(75, 54, 33, 0.18);
}

.smart-hero {
    padding: 170px 0 112px;
}

.smart-hero .section-kicker {
    color: rgba(197, 160, 89, 0.95);
}

.smart-hero-description {
    margin-left: 0;
}

.smart-feature {
    backdrop-filter: blur(14px);
}

.product-card {
    border-radius: 18px;
}

.product-info {
    padding: 1.75rem;
}

.product-info > .btn {
    border-radius: 999px;
}

.product-features span,
.legacy-year,
.section-kicker {
    font-weight: 600;
}

.detail-text .lead {
    line-height: 1.72;
}

.footer,
.footer p,
.footer li,
.footer a {
    font-weight: 400;
}

@media (max-width: 900px) {
    .legacy-timeline::before,
    .legacy-item::before {
        display: none;
    }

    .legacy-item,
    .legacy-item-reverse {
        grid-template-columns: 1fr;
    }

    .legacy-item-reverse .legacy-media {
        order: 0;
    }

    .legacy-media img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 1rem 20px 1.25rem;
        background: rgba(249, 247, 242, 0.98);
        border-bottom: 1px solid rgba(197, 160, 89, 0.24);
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active li {
        padding: 0.6rem 0;
    }

    .hero {
        min-height: 88vh;
    }

    .hero-background {
        background-position: 58% center;
        opacity: 0.28;
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta,
    .hero-stats {
        justify-content: flex-start;
        align-items: stretch;
    }

    .smart-hero {
        padding-top: 130px;
    }

    .smart-features {
        grid-template-columns: 1fr;
    }

    .hero-main,
    .hero-highlight {
        letter-spacing: -0.05em;
    }

    .smart-hero-title {
        font-size: clamp(3.3rem, 16vw, 5.6rem);
        letter-spacing: -0.065em;
    }

    .smart-hero-subtitle {
        font-size: clamp(1.28rem, 6vw, 2.1rem);
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .service-card,
    .category-card,
    .product-info {
        padding: 1.75rem;
    }
}

/* ========== POST-REFINEMENT VISUAL FIXES ========== */
.hero {
    min-height: 100vh;
    padding-bottom: 7.5rem;
}

.hero-content {
    padding-bottom: 2.5rem;
}

.hero-stats {
    margin-bottom: 2.2rem;
}

.hero-cta {
    margin-bottom: 2.8rem;
}

.hero-scroll {
    bottom: 1.35rem;
    z-index: 3;
    pointer-events: none;
}

.hero-scroll span {
    display: block;
    font-size: 0.86rem;
    line-height: 1.2;
}

.services-grid {
    align-items: stretch;
}

.service-card,
.category-card {
    display: flex;
    flex-direction: column;
}

.service-card {
    min-height: 100%;
}

.service-description,
.category-card > p {
    line-height: 1.58;
}

.service-features,
.service-card ul,
.category-card ul {
    margin-bottom: 1.5rem;
}

.service-features li,
.service-card ul li,
.category-card li {
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
}

.service-cta,
.category-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.smart-concept {
    padding: 72px 0 78px;
}

.smart-concept .section-header {
    margin-bottom: 2.8rem;
}

.smart-concept .section-title {
    margin-bottom: 1.15rem;
}

.concept-grid {
    gap: 1.3rem;
    margin-top: 0;
    align-items: stretch;
}

.concept-card {
    min-height: 100%;
    padding: 1.9rem;
}

.categories-grid {
    align-items: stretch;
}

.category-card {
    min-height: 100%;
}

.category-card .btn {
    border-radius: 14px;
}

.smart-cta .cta-buttons {
    justify-content: center;
}

.smart-cta .btn-primary {
    min-width: 260px;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1.35;
}

.footer-section ul li i {
    flex: 0 0 1rem;
    width: 1rem;
    text-align: center;
}

.footer-section ul li a {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .hero {
        min-height: 100svh;
        padding-bottom: 8rem;
    }

    .hero-scroll {
        bottom: 1rem;
    }

    .smart-concept {
        padding: 56px 0 64px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-bottom: 3rem;
    }

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

    .service-cta,
    .category-card .btn {
        align-self: stretch;
    }

    .footer-section ul li {
        justify-content: center;
    }
}

/* Keep the hero scroll cue visible above the first fold. */
.hero {
    padding-bottom: 4.5rem;
}

.hero-content {
    padding-bottom: 0;
}

.hero-cta {
    margin-bottom: 0;
}

.hero-scroll {
    bottom: 1rem;
}

@media (max-width: 900px) {
    .hero {
        padding-bottom: 5rem;
    }

    .hero-scroll {
        bottom: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        margin-bottom: 1.6rem;
    }

    .hero-description {
        margin-bottom: 2rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
        margin-bottom: 1.45rem;
    }

    .stat-number {
        font-size: 2.35rem;
    }

    .stat-label {
        display: block;
        font-size: 0.74rem;
        line-height: 1.25;
    }
}
