@font-face {
    font-family: 'Neue Machina';
    src: url('fonts/NeueMachina-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* Global Resets & Base Styles */
html {
    scroll-behavior: smooth; /* For smooth scroll via CSS, JS can enhance or provide fallback */
}

:root {
    --bg-color: #101010;
    --text-color: #FFFFFF;
    --heading-color: #FFFFFF;
    --detail-color: #C9C9C9;
    --hover-color: #50515B;
}

body {
    font-family: 'Neue Machina', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 17px;
}

.container {
    width: 90%;
    max-width: 1080px; /* Adjusted for a slightly more constrained feel */
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 300;
    color: var(--heading-color);
    font-family: 'Neue Machina', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1 {
    font-size: 3rem; /* Slightly larger H1 */
}

h2 {
    font-size: 2.6rem;
    margin-bottom: 0.85em;
}

h3 {
    font-size: 2.2rem;
    margin-bottom: 0.7em;
}

h4 {
    font-size: 1.7rem;
}

p {
    margin-bottom: 1.3rem;
    font-size: 1.08rem;
}

a {
    color: #B0B0B0; /* Consistent light Gray for links */
    text-decoration: none;
    transition: color 0.25s ease-in-out;
}

a:hover {
    color: #FFFFFF;
}

ul {
    padding-left: 22px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
header {
    background-color: var(--bg-color);
    width: 100%;
    border-bottom: 1px solid var(--detail-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 300;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

nav ul li {
    display: inline;
    margin-left: 35px; /* More spacing for nav items */
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    padding: 0.5em 0;
    font-size: 1.05rem;
    position: relative; /* For hover effect */
    transition: color 0.3s ease;
    opacity: 0.9;
}

nav ul li a::after { /* Subtle underline hover effect */
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #FFFFFF;
    transition: width 0.3s ease-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--hover-color);
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9), rgba(13, 13, 13, 1)), 
                url('https://images.unsplash.com/photo-1512428559087-560fa5ceab42?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Placeholder - replace with a fitting dark texture or your image */
    background-color: #121212; /* Fallback if image fails */
    background-size: cover;
    background-position: center center;
    padding: 120px 0; 
    text-align: center;
    border-bottom: 1px solid #282828;
    position: relative; /* For potential pseudo-elements */
}

.hero::before { /* Subtle overlay for text pop */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.3);
}

.hero .container { /* Ensure container content is above pseudo-element */
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 45px;
    color: var(--text-color);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-button {
    background-color: var(--heading-color);
    color: var(--bg-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
    font-weight: bold;
    display: inline-block;
    border: none;
    box-shadow: 0px 5px 20px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    background-color: var(--hover-color);
    color: #FFFFFF;
}

/* Video Section */
.video-section {
    text-align: center;
    padding: 90px 20px;
    background-color: #101010; /* Consistent dark shade */
}

.video-section h3 {
    font-size: 2.5rem;
    margin-bottom: 45px;
    color: #FFFFFF;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 880px; 
    margin: 0 auto;
    border-radius: 12px; 
    box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Sections (General Styling) */
.content-section {
    padding: 5rem 0;
    background-color: #141414; /* Slightly off-black for sections */
    border-bottom: 1px solid #282828;
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section.bg-deep-dark {
    background-color: #0D0D0D; /* Match body for some sections */
}

.content-section .container > h3, 
.services-section .container > h3,
.blog-section .container > h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 65px;
    color: #FFFFFF;
    font-weight: 300;
}

.content-section p,
.content-section ul {
    font-size: 1.12rem;
    color: #C0C0C0; 
    margin-bottom: 1.6rem;
    line-height: 1.85;
}

.content-section ul {
    list-style-position: outside;
    padding-left: 25px;
}

.content-section ul li::marker {
    color: #787878; /* Medium Gray for bullets */
}

.content-section strong {
    color: #FFFFFF;
    font-weight: bold;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.services-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-item {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: rgba(201, 201, 201, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid var(--detail-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    font-weight: 400;
    line-height: 1.3;
}

.service-item p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.75;
    margin: 0;
    font-size: 1.1rem;
}

/* "Por que Escolher" Section Specific Styles */
.comparison-section {
    background-color: #141414;
}

.comparison-section .flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 30px;
}

.comparison-section .flex-item {
    flex: 1; 
    min-width: 290px; 
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #333333;
    background-color: #1F1F1F; /* Slightly lighter panel */
}

.comparison-section .flex-item h4 {
    margin-bottom: 18px;
    font-size: 1.6rem;
    color: #FFFFFF;
    font-weight: bold;
}

.comparison-section .before {
    border-left: 5px solid #505050; 
}

.comparison-section .after {
    border-left: 5px solid #B0B0B0; 
}

.comparison-section ul li {
    color: #B0B0B0;
}

.differentiators {
    margin-top: 45px;
}

.differentiators h4 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #FFFFFF;
    font-weight: bold;
}
.differentiators ul li {
    color: #B0B0B0;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background-color: rgba(201, 201, 201, 0.02);
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.blog-card {
    background-color: rgba(201, 201, 201, 0.05);
    border: 1px solid var(--detail-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--detail-color);
}

.blog-category {
    color: var(--heading-color);
    font-weight: 500;
}

.blog-date {
    opacity: 0.8;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--heading-color);
}

.blog-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover svg {
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    background-color: #121212; /* Darker for contact */
    color: #DCDCDC;
    padding: 90px 0;
    text-align: center;
}

.contact-section h2 {
    margin-top: 0;
    font-size: 2.6rem;
    margin-bottom: 28px;
    color: #FFFFFF;
}

.contact-section p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 50px;
    color: #B0B0B0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section form label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-weight: 300; /* Lighter label */
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1rem;
}

.contact-section form input[type="text"],
.contact-section form input[type="email"],
.contact-section form input[type="tel"],
.contact-section form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 28px;
    border: 1px solid var(--detail-color);
    border-radius: 8px;
    background-color: transparent;
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Neue Machina', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contact-section form input::placeholder,
.contact-section form textarea::placeholder {
    color: #606060; /* Darker Gray for placeholders */
}

.contact-section form input:focus,
.contact-section form textarea:focus {
    outline: none;
    border-color: var(--hover-color);
    box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.2);
}

.contact-section form button[type="submit"] {
    background-color: var(--heading-color);
    color: var(--bg-color);
    padding: 18px 38px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    width: 100%; 
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.1);
}

.contact-section form button[type="submit"]:hover {
    background-color: var(--hover-color);
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(255, 255, 255, 0.15);
}

.social-links {
    margin-top: 45px;
    display: flex; /* For aligning icons */
    justify-content: center;
    gap: 25px; /* Space between icons */
}

.social-links a {
    text-decoration: none;
    color: var(--detail-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--hover-color);
    transform: scale(1.15); /* Slight zoom on hover */
}

.social-links svg {
    width: 28px; /* Control icon size */
    height: 28px;
    fill: currentColor; /* SVG inherits color from <a> tag */
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    border-top: 1px solid var(--detail-color);
}

footer p {
    margin-bottom: 0.6rem;
}

footer a {
    color: #787878;
}

footer a:hover {
    color: #B0B0B0;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    z-index: 1000;
    bottom: 35px;
    right: 35px;
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #FFFFFF;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4); /* Sombra esverdeada */
    background-color: #20BA5C; /* Verde um pouco mais escuro no hover */
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

/* Responsive Adjustments - Minor tweaks if needed after general dark theme */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.35rem;
    }
    .content-section .container > h3,
    .services-section .container > h3,
    .blog-section .container > h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    header h1 {
        font-size: 1.9rem;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero {
        padding: 90px 0;
    }
    .hero h2 {
        font-size: 2.6rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .video-section h3,
    .content-section .container > h3,
    .services-section .container > h3,
    .blog-section .container > h2 {
        font-size: 2.2rem;
    }
    .services-grid {
        gap: 1rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-section h2 {
        font-size: 2rem;
    }
    .blog-card h3 {
        font-size: 1.3rem;
    }
    .service-item {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.05rem;
    }
    .cta-button {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    .contact-section form button[type="submit"] {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
    }
}

/* Blog Post Specific Styles */
.blog-post-full .container {
    padding-top: 70px; 
    padding-bottom: 70px;
    max-width: 800px; 
}

.blog-post-full h1.post-title {
    font-size: 3rem; 
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 300;
    line-height: 1.35;
}

.blog-post-full .post-meta {
    font-size: 0.95rem;
    color: #787878; 
    margin-bottom: 45px;
}

.blog-post-full .post-content {
    font-size: 1.18rem; 
    line-height: 1.95; 
    color: #DCDCDC;
}

.blog-post-full .post-content p {
    margin-bottom: 1.9rem;
}

.blog-post-full .post-content h2 {
    font-size: 2.1rem;
    margin-top: 2.8rem;
    margin-bottom: 1.4rem;
    color: #B0B0B0; 
    font-weight: 300;
    border-bottom: 1px solid #383838;
    padding-bottom: 0.6rem;
}

.blog-post-full .post-content ul,
.blog-post-full .post-content ol {
    margin-bottom: 1.9rem;
}

.blog-post-full .post-content ul li::marker {
    color: #787878;
}

.blog-post-full .post-content a {
    color: #B0B0B0; 
    text-decoration: underline;
}

.blog-post-full .post-content a:hover {
    color: #FFFFFF;
}

.blog-post-full .back-to-home {
    display: inline-block;
    margin-top: 55px;
    padding: 14px 28px;
    background-color: #222222;
    color: #DCDCDC !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #404040;
}

.blog-post-full .back-to-home:hover {
    background-color: #B0B0B0;
    color: #0D0D0D !important;
    border-color: #B0B0B0;
}

.header-logo {
    height: 200px;
    width: auto;
    display: block;
    background: transparent;
    object-fit: contain;
}

/* Estilo para o favicon circular */
.favicon-circle {
    width: 32px;
    height: 32px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.favicon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Modal de Agradecimento */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    margin: auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
    border: 1px solid var(--detail-color);
    color: var(--text-color);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    color: var(--heading-color);
    margin-bottom: 20px;
}

.modal-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 10px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--detail-color);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--hover-color);
}

/* Responsividade */
@media (max-width: 1200px) {
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-item {
        min-width: calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .service-item {
        min-width: 100%;
        max-width: 100%;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-item h4 {
        font-size: 1.6rem;
    }
    
    .service-item p {
        font-size: 1rem;
    }
}

.comparison-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.comparison-box {
    flex: 1;
    min-width: 280px;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Box "Antes da SCALEOPS" */
.comparison-box:first-child {
    background: rgba(80, 81, 91, 0.1); /* Usando --hover-color com transparência */
    border: 1px solid #50515B;
}

/* Box "Com a SCALEOPS" */
.comparison-box:last-child {
    background: rgba(142, 142, 142, 0.1); /* Usando --heading-color com transparência */
    border: 1px solid #8E8E8E;
}

.comparison-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-box h4 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.comparison-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-box ul li {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.comparison-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--detail-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .comparison-boxes {
        flex-direction: column;
    }
    
    .comparison-box {
        min-width: 100%;
    }
} 