/* ===========================
   Costa Rabello - Main CSS
   Based on Figma Design
   =========================== */

/* CSS Variables / Design Tokens */
:root {
    /* Colors */
    --primary: #210070;
    --neutral-01: #FFFFFF;
    --neutral-02: #F5F5F5;
    --neutral-03: #D9D9D9;
    --neutral-04: #808080;
    --neutral-05: #686868;
    --neutral-06: #3D3D3D;
    --neutral-07: #1A1A1A;
    --light-blue-bg: #F4F7FF;
    --purple-dark: rgba(33, 0, 112, 1);
    --purple-overlay: rgba(33, 0, 112, 0.5);
    --green-whatsapp: #0DBE44;

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
    --font-jakarta: 'Plus Jakarta Sans', sans-serif;
    --font-inter: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1280px;
    --container-padding: 80px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--neutral-06);
    background-color: var(--neutral-01);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.container {
    width: min(var(--container-max), calc(100% - 40px));
    margin: 0 auto;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
    background-color: var(--neutral-01);
    height: 88px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.main-nav .nav-menu {
    display: flex;
    gap: 60px;
    align-items: center;
}

.main-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5em;
    color: var(--neutral-05);
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.header-social a:hover {
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--neutral-06);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(33, 0, 112, 0) 0%, rgba(33, 0, 112, 1) 100%);
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-text {
    max-width: 635px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-text h1 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 56px;
    line-height: 1.21;
    color: var(--neutral-01);
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
}

.hero-text p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: var(--neutral-01);
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
    max-width: 576px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.22;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-outline {
    padding: 16px 44px;
    border: 2px solid var(--neutral-01);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--neutral-01);
}

.btn-outline:hover {
    background: var(--neutral-01);
    color: var(--neutral-07);
}

.btn-primary {
    padding: 16px 44px;
    background: var(--primary);
    color: var(--neutral-01);
    border-radius: 12px;
}

.btn-primary:hover {
    background: #19005a;
}

/* Hero About */
.hero-about {
    max-width: 471px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-about h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.7;
    color: var(--neutral-01);
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
}

.hero-about p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    color: var(--neutral-01);
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
    background-color: var(--primary);
    padding: 40px 0;
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 228px;
}

.stat-number {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 56px;
    line-height: 0.93;
    color: var(--neutral-01);
    text-align: center;
}

.stat-label {
    font-family: var(--font-jakarta);
    font-weight: 600;
    font-size: 24px;
    line-height: 0.83;
    color: var(--neutral-01);
    text-align: center;
}

.stat-divider {
    width: 2px;
    height: 160px;
    background-color: var(--neutral-01);
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
    padding: 100px 0 80px;
    background-color: var(--light-blue-bg);
}

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

.section-header h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 44px;
    line-height: 1.27;
    color: var(--neutral-06);
    margin-bottom: 20px;
}

.section-header p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: var(--neutral-05);
    max-width: 810px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 0;
}

.service-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    z-index: 1;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-overlay);
}

.service-label span {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    color: var(--neutral-01);
    text-align: center;
}

/* Service Portfolio Images */
.service-portfolio-wrapper {
    position: relative;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-portfolio-images {
    display: flex;
    gap: 28px;
    overflow: hidden;
    flex: 1;
    padding: 4px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
}

.service-portfolio-images::-webkit-scrollbar {
    display: none;
}

.service-portfolio-images .portfolio-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 444px;
    flex: 0 0 calc((100% - 56px) / 3);
    min-width: calc((100% - 56px) / 3);
    box-shadow: none;
    scroll-snap-align: start;
}

.service-portfolio-images .portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-portfolio-images .portfolio-img:hover img {
    transform: scale(1.05);
}

/* Client Logo Overlay on Portfolio Images */
.portfolio-img-logo {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 256px;
    max-height: 112px;
}

.portfolio-img-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Portfolio Navigation Arrows */
.portfolio-nav-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--neutral-01);
    border: 1px solid var(--neutral-03);
    box-shadow: 0px 4px 12px 0px rgba(26, 26, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.portfolio-nav-arrow svg,
.testimonial-arrow svg {
    display: block;
    flex-shrink: 0;
}

.portfolio-nav-arrow:hover {
    box-shadow: 0px 4px 20px 0px rgba(26, 26, 26, 0.18);
    background-color: var(--neutral-02);
}

.portfolio-nav-arrow:disabled,
.testimonial-arrow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* Portfolio Dots */
.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.portfolio-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--neutral-03);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.portfolio-dots .dot.active {
    background-color: var(--primary);
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio-section {
    padding: 100px 0 100px;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-blue-bg);
}

.testimonials-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 44px;
    line-height: 1.27;
    color: var(--neutral-06);
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.testimonial-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--neutral-01);
    border: 1px solid var(--neutral-03);
    box-shadow: 0px 4px 12px 0px rgba(26, 26, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.testimonial-arrow:hover {
    box-shadow: 0px 4px 20px 0px rgba(26, 26, 26, 0.18);
    background-color: var(--neutral-02);
}

.testimonial-arrow svg {
    stroke: #3D3D3D;
}

.testimonials-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: visible;
    flex: 1;
    padding: 8px 20px 12px;
    background-color: transparent;
    border-radius: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 280px;
    width: 280px;
    min-height: 344px;
    height: auto;
    background: var(--neutral-01);
    border-radius: 12px;
    border: 1px solid var(--neutral-03);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    scroll-snap-align: start;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--neutral-04);
}

.testimonial-text {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    color: var(--neutral-05);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--neutral-03);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.33;
    color: var(--neutral-06);
}

.author-info span {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.14;
    color: var(--neutral-04);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--neutral-03);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    color: var(--neutral-01);
}

/* Footer Top - White section with logo + contact */
.footer-top {
    background-color: var(--neutral-01);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    max-width: 400px;
    height: auto;
}

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

.footer-contact h3,
.footer-social h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 24px;
    line-height: 0.83;
    color: var(--neutral-06);
    margin-bottom: 32px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-contact-item span {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    color: var(--primary);
}

.footer-contact-item svg {
    flex-shrink: 0;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Footer Bottom - Purple section with menu + copyright */
.footer-purple {
    background-color: var(--primary);
    padding: 40px 0 0;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 40px;
}

.footer-menu li a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25;
    color: var(--neutral-01);
    transition: opacity 0.3s ease;
}

.footer-menu li a:hover {
    opacity: 0.8;
}

.footer-divider {
    padding: 0;
}

.footer-divider hr {
    border: none;
    border-top: 1px solid var(--neutral-01);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-01);
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.home-contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(33, 0, 112, 0.05) 0%, rgba(33, 0, 112, 0.12) 100%);
}

.home-contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.home-contact-details {
    display: flex;
    justify-content: center;
    gap: 20px 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.home-contact-details a,
.home-contact-details span {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--neutral-05);
}

.blog-preview-section {
    padding: 100px 0;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-preview-card {
    background: var(--neutral-01);
    border-radius: 12px;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.06);
    padding: 32px;
}

.blog-preview-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    color: var(--neutral-06);
    margin-bottom: 16px;
}

.blog-preview-card p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin-bottom: 16px;
}

.btn-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: var(--primary);
}

.blog-preview-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--light-blue-bg);
}

.blog-preview-empty h2,
.blog-preview-empty h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    color: var(--neutral-06);
    margin-bottom: 16px;
}

.blog-preview-empty p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
}

/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--whatsapp-offset-bottom, 30px);
    right: var(--whatsapp-offset-right, 12px);
    width: 72px;
    height: 72px;
    background-color: var(--green-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 28px 0px rgba(26, 26, 26, 0.1);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, bottom 0.25s ease, right 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 32px 0px rgba(26, 26, 26, 0.2);
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
}

/* ===========================
   PAGE TEMPLATES
   =========================== */
.page-hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Máscara/Overlay para legibilidade do texto */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(33, 0, 112, 0.7) 0%, rgba(33, 0, 112, 0.95) 100%);
    z-index: 1;
}

/* Camada adicional de escurecimento */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 56px;
    line-height: 1.2;
    color: var(--neutral-01);
    margin-bottom: 20px;
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
}

.page-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: var(--neutral-01);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0px 4px 16px rgba(26, 26, 26, 0.25);
}

/* Sobre Page */
.about-content {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.about-text h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.3;
    color: var(--neutral-06);
    margin-bottom: 24px;
}

.about-text p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin-bottom: 16px;
}

.about-image {
    display: flex;
    position: relative;
    min-height: 420px;
}

.about-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.1);
    object-fit: cover;
}

/* Carrossel na coluna de imagem do bloco Nossa História
   (fora do fluxo para não interferir na largura/altura da grade) */
.about-image .service-carousel {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.1);
}

.about-image .service-carousel img {
    border-radius: 0;
    box-shadow: none;
}

/* Values */
.values-section {
    padding: 100px 0;
    background-color: var(--light-blue-bg);
}

.values-section h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 44px;
    line-height: 1.27;
    color: var(--neutral-06);
    text-align: center;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--neutral-01);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.06);
}

.value-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--neutral-06);
    margin-bottom: 16px;
}

.value-card p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
}

.about-gallery-section {
    padding: 100px 0;
}

.about-gallery-section h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 44px;
    line-height: 1.27;
    color: var(--neutral-06);
    text-align: center;
    margin-bottom: 60px;
}

.about-carousel {
    width: 100%;
    max-width: 960px;
    max-height: 540px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.1);
}

.about-carousel .service-carousel,
.about-carousel .service-carousel-track,
.about-carousel .service-carousel-slide {
    max-height: 540px;
}

.about-carousel .service-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
}

/* Serviços Page */
.services-detail {
    padding: 100px 0;
}

/* Services Grid - 3 colunas lado a lado */
.services-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-item-card {
    background: var(--neutral-01);
    border-radius: 12px;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 40px rgba(26, 26, 26, 0.15);
}

.service-item-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item-card:hover .service-item-image img {
    transform: scale(1.05);
}

.service-item-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--neutral-06);
    margin: 24px 24px 16px;
}

.service-item-card p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin: 0 24px 24px;
}

.service-item-card .btn {
    margin: 0 24px;
}

/* Layout antigo mantido para compatibilidade */
.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.1);
}

.service-detail-content h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    color: var(--neutral-06);
    margin-bottom: 20px;
}

.service-detail-content p {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin-bottom: 32px;
}

/* Carrossel de fotos (dentro do card de serviço) */
.service-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-carousel-track {
    display: flex;
    gap: 0;
    height: 100%;
    overflow-x: auto;
    overflow-anchor: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
}

.service-carousel-track::-webkit-scrollbar {
    display: none;
}

.service-carousel-slide {
    margin: 0;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}

.service-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--neutral-03);
    box-shadow: 0px 4px 12px 0px rgba(26, 26, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 2;
}

.service-carousel-arrow svg {
    display: block;
}

.service-carousel-arrow:hover {
    background-color: #fff;
    box-shadow: 0px 4px 20px 0px rgba(26, 26, 26, 0.25);
}

.service-carousel-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.service-carousel-prev {
    left: 16px;
}

.service-carousel-next {
    right: 16px;
}

.service-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.service-carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 4px rgba(26, 26, 26, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-carousel-dots .dot.active {
    background-color: #fff;
}

.clients-section {
    padding: 80px 0;
    background-color: var(--light-blue-bg);
    text-align: center;
}

.clients-section h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    color: var(--neutral-06);
    margin-bottom: 48px;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logos img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.client-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--neutral-01);
    box-shadow: 0px 4px 20px rgba(26, 26, 26, 0.08);
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Portfolio Page */
.portfolio-grid-section {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 350px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    transform: translateY(0);
}

.portfolio-item-overlay h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--neutral-01);
    margin-bottom: 4px;
}

.portfolio-item-overlay p {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--neutral-01);
    opacity: 0.8;
}

.portfolio-item-overlay span {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-primary);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.portfolio-client-nav {
    margin-top: 32px;
}

.portfolio-client-group + .portfolio-client-group {
    margin-top: 56px;
}

/* Contact Page */
.contact-content {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-block h2,
.contact-form-block h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    color: var(--neutral-06);
    margin-bottom: 32px;
}

.contact-info-block > p,
.contact-form-block > p {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin-bottom: 24px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item .contact-icon {
    color: var(--primary);
}

.contact-info-item .contact-icon--whatsapp {
    color: var(--green-whatsapp);
}

.contact-info-item strong {
    display: block;
    font-size: 16px;
    color: var(--neutral-06);
    margin-bottom: 4px;
}

.contact-info-item a {
    font-size: 16px;
    color: var(--primary);
}

.contact-info-item a:hover {
    opacity: 0.8;
}

.contact-highlight-item {
    padding: 24px;
    border-radius: 12px;
    background-color: var(--light-blue-bg);
}

.contact-highlight-item span {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
}

.contact-social h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--neutral-06);
    margin-bottom: 16px;
}

.contact-social-links {
    display: flex;
    gap: 16px;
}

.contact-social-links a {
    color: var(--primary);
    transition: opacity 0.3s ease;
}

.contact-social-links a:hover {
    opacity: 0.8;
}

.contact-social-links svg {
    display: block;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    color: var(--neutral-06);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-primary);
    font-size: 16px;
    padding: 14px 18px;
    border: 1px solid var(--neutral-03);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--neutral-06);
    background: var(--neutral-01);
}

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

.form-group textarea {
    resize: vertical;
}

/* ===========================
   GENERIC PAGE & INDEX
   =========================== */

.page-content .entry-title,
.blog-content .entry-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 40px;
    color: var(--neutral-06);
    margin-bottom: 24px;
}

.page-content .entry-content,
.blog-content .entry-content {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.8;
    color: var(--neutral-05);
}

/* Blog Archive */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--neutral-01);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 40px rgba(26, 26, 26, 0.12);
}

.blog-card-link {
    display: block;
    height: 100%;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-04);
    margin-bottom: 12px;
}

.blog-card-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--neutral-06);
    margin-bottom: 8px;
}

.blog-card-content p {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-05);
    margin-bottom: 16px;
}

.blog-card-content .read-more {
    font-weight: 500;
    font-size: 15px;
    color: var(--primary);
}

.page-hero .page-subtitle a {
    text-decoration: underline;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 40px;
    }

    .main-nav .nav-menu {
        gap: 30px;
    }

    .main-nav .nav-link {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-about {
        display: none;
    }

    .stats-inner {
        gap: 40px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-portfolio-images .portfolio-img {
        flex-basis: calc((100% - 28px) / 2);
        min-width: calc((100% - 28px) / 2);
    }

    .services-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-card.reverse {
        direction: ltr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        gap: 40px;
    }

    .footer-menu {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background: var(--neutral-01);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        padding: 24px 20px;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-social {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .stats-inner {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 160px;
        height: 2px;
    }

    .section-header h2,
    .testimonials-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-carousel {
        aspect-ratio: 4 / 3;
    }

    .service-item-card h3 {
        font-size: 20px;
        margin: 20px 16px 12px;
    }

    .service-item-card p {
        font-size: 14px;
        margin: 0 16px 20px;
    }

    .service-portfolio-images .portfolio-img {
        flex-basis: 100%;
        min-width: 100%;
    }

    .testimonials-carousel {
        gap: 12px;
        padding-inline: 12px;
        border-radius: 0;
    }

    .testimonial-card {
        min-width: 260px;
        width: 260px;
        padding: 28px 22px;
        min-height: 320px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-grid,
    .values-grid,
    .blog-posts,
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .home-contact-actions,
    .home-contact-details {
        flex-direction: column;
        align-items: center;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .footer-right {
        flex-direction: column;
    }

    .footer-menu {
        justify-content: center;
        gap: 12px 24px;
    }

    .portfolio-nav {
        margin-top: -20px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: var(--whatsapp-offset-bottom, 20px);
        right: var(--whatsapp-offset-right, 10px);
    }

    .whatsapp-float svg {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .btn-outline,
    .btn-primary {
        padding: 14px 32px;
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 16px;
    }

    .testimonial-card {
        min-width: 240px;
        width: 240px;
        padding: 24px 20px;
        min-height: 300px;
    }

    .testimonials-carousel {
        padding-inline: 8px;
        border-radius: 0;
    }
}

/* ===========================
   2026 SITE ADJUSTMENTS
   =========================== */
.services-section {
    padding: 84px 0 72px;
}

.services-grid {
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    border-radius: 24px;
    background: var(--neutral-01);
    border: 1px solid rgba(33, 0, 112, 0.08);
    box-shadow: 0px 12px 36px rgba(26, 26, 26, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
    display: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 18px 42px rgba(26, 26, 26, 0.12);
}

.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(33, 0, 112, 0.08);
    color: var(--primary);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 18px;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    color: var(--neutral-06);
}

.service-card .service-summary {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: var(--primary);
}

.service-card p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.75;
    color: var(--neutral-05);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
}

.service-link::after {
    content: '->';
    font-size: 14px;
}

.section-actions {
    margin-top: 32px;
}

.portfolio-section {
    padding: 84px 0;
}

.service-portfolio-wrapper {
    margin-top: 48px;
}

.service-portfolio-images {
    padding: 6px 2px;
}

.service-portfolio-images .portfolio-img {
    height: auto;
    min-height: 0;
    display: flex;
    justify-content: center;
    border-radius: 24px;
    background: var(--neutral-01);
    border: 1px solid rgba(33, 0, 112, 0.08);
    box-shadow: none;
    padding: 24px 20px;
}

.service-portfolio-images .portfolio-img:hover img {
    transform: none;
}

.client-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.client-logo-media {
    width: min(100%, 240px);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
}

.client-logo-media img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.service-portfolio-images .client-logo-media img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.client-logo-media--large {
    width: min(100%, 280px);
}

.client-logo-fallback {
    display: block;
    max-width: 100%;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    text-align: center;
    color: var(--primary);
}

.client-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.client-card-meta strong,
.client-card-meta h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: var(--neutral-06);
}

.client-card-meta span {
    font-family: var(--font-primary);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
}

.client-card-meta--stacked p {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--neutral-05);
}

.client-card-meta--stacked {
    text-align: left;
}

.portfolio-dots {
    margin-top: 28px;
}

.portfolio-grid-section--summary {
    padding-top: 84px;
    padding-bottom: 48px;
}

.portfolio-grid-section--directory {
    padding-top: 0;
    padding-bottom: 84px;
}

.portfolio-client-nav {
    margin-top: 24px;
}

.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px 0 28px;
}

.portfolio-filter-button {
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(33, 0, 112, 0.16);
    background: var(--neutral-01);
    color: var(--neutral-06);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.portfolio-filter-button:hover,
.portfolio-filter-button.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--neutral-01);
    transform: translateY(-1px);
}

.portfolio-directory-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.portfolio-directory-header h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 34px;
    color: var(--neutral-06);
    margin-bottom: 12px;
}

.portfolio-directory-header p {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-05);
}

.portfolio-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.portfolio-category-header h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 34px;
    color: var(--neutral-06);
}

.portfolio-category-header p {
    font-family: var(--font-primary);
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-04);
}

.portfolio-clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.client-directory-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border-radius: 20px;
    background: var(--neutral-01);
    border: 1px solid var(--neutral-03);
    box-shadow: 0px 8px 32px rgba(26, 26, 26, 0.08);
}

.is-filter-hidden {
    display: none !important;
}

.portfolio-client-group + .portfolio-client-group {
    margin-top: 48px;
}

.services-support-section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.services-support-copy {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    max-width: 1040px;
    margin: 32px auto 0;
}

.services-support-copy p {
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--neutral-01);
    box-shadow: 0px 8px 24px rgba(26, 26, 26, 0.06);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-05);
}

.service-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(33, 0, 112, 0.08);
    color: var(--primary);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.service-detail-points {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.service-detail-points li {
    position: relative;
    padding-left: 24px;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-05);
}

.service-detail-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-whatsapp);
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-preview-section {
    padding: 84px 0;
}

.blog-preview-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.blog-preview-card {
    padding: 28px;
    border: 1px solid var(--neutral-03);
    box-shadow: none;
}

.blog-preview-card h3 {
    margin-top: 8px;
}

.home-contact-section {
    padding: 80px 0;
}

.home-contact-actions--left {
    justify-content: flex-start;
}

.page-hero--compact {
    padding: 72px 0;
}

.contact-content--compact {
    padding: 72px 0 84px;
}

.contact-grid {
    align-items: start;
    gap: 48px;
}

.contact-info-block > p,
.contact-form-block > p {
    font-size: 17px;
    margin-bottom: 20px;
}

.contact-info-block .home-contact-actions {
    margin-bottom: 40px;
}

.contact-info-items {
    gap: 20px;
    margin-bottom: 32px;
}

.contact-form-card {
    padding: 32px;
    border: 1px solid var(--neutral-03);
    border-radius: 20px;
    background: var(--neutral-01);
    box-shadow: 0px 12px 40px rgba(26, 26, 26, 0.08);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
}

.form-group select,
.form-group input[type="file"] {
    width: 100%;
    font-family: var(--font-primary);
    font-size: 16px;
    padding: 14px 18px;
    border: 1px solid var(--neutral-03);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--neutral-06);
    background: var(--neutral-01);
}

.form-group select:focus,
.form-group input[type="file"]:focus {
    border-color: var(--primary);
}

.form-note {
    margin-top: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutral-04);
}

.form-notice {
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--light-blue-bg);
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--neutral-05);
}

.btn-disabled,
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.blog-archive-shell {
    padding-top: 40px;
    padding-bottom: 64px;
}

.blog-posts--compact {
    gap: 24px;
}

.blog-card-image {
    height: 180px;
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content p {
    margin-bottom: 12px;
}

.blog-pagination-wrap {
    text-align: center;
    margin-top: 32px;
}

.footer-top {
    padding: 48px 0 32px;
}

.footer-inner {
    gap: 48px;
}

.footer-brand {
    max-width: 560px;
}

.footer-description {
    margin-top: 20px;
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.7;
    color: var(--neutral-05);
}

.footer-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.footer-service-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--light-blue-bg);
    color: var(--primary);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
}

.footer-right {
    gap: 48px;
    align-items: flex-start;
}

.footer-contact h3,
.footer-social h3 {
    margin-bottom: 24px;
}

.footer-contact-items {
    gap: 16px;
}

.footer-contact-item {
    padding: 10px 0;
}

.footer-contact-item span {
    font-size: 16px;
    line-height: 1.5;
}

.footer-contact-item--whatsapp span {
    color: var(--green-whatsapp);
}

.footer-purple {
    padding: 28px 0 0;
}

.footer-menu {
    justify-content: center;
    gap: 14px 28px;
    margin-bottom: 24px;
}

.footer-bottom {
    padding: 16px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 14px;
    line-height: 1.5;
}

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

    .service-portfolio-images .portfolio-img {
        flex-basis: calc((100% - 28px) / 2);
        min-width: calc((100% - 28px) / 2);
    }

    .portfolio-clients-grid,
    .services-support-copy {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .blog-preview-grid--compact,
    .portfolio-clients-grid,
    .services-support-copy {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 28px;
    }

    .service-portfolio-images .portfolio-img {
        flex-basis: 100%;
        min-width: 100%;
        padding: 24px 20px;
    }

    .portfolio-filter-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-bottom: 24px;
    }

    .portfolio-filter-button {
        white-space: nowrap;
    }

    .client-logo-media,
    .client-logo-media--large {
        width: min(100%, 200px);
    }

    .portfolio-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero--compact {
        padding: 56px 0;
    }

    .contact-content--compact,
    .blog-archive-shell {
        padding-top: 32px;
        padding-bottom: 56px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .footer-service-tag {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-card h3 {
        font-size: 24px;
    }

    .client-logo-fallback {
        font-size: 22px;
    }

    .footer-description {
        font-size: 16px;
    }
}

/* ===========================
   CONTACT FORM FEEDBACK
   =========================== */

.form-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.form-recaptcha {
    gap: 0;
}

.form-recaptcha .g-recaptcha {
    max-width: 100%;
    overflow-x: auto;
}

.form-feedback {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.5;
}

.form-feedback[hidden] {
    display: none;
}

.form-feedback.is-loading {
    background: var(--light-blue-bg);
    border-color: var(--neutral-03);
    color: var(--neutral-05);
}

.form-feedback.is-success {
    background: #e8f6ee;
    border-color: #b8e0c9;
    color: #1b6b40;
}

.form-feedback.is-error {
    background: #fdecec;
    border-color: #f4c2c2;
    color: #9b2020;
}

.form-notice--warning {
    background: #fff6e5;
    color: #8a5b00;
}

.contact-form-submit {
    border: none;
}

.contact-form-submit.is-loading {
    opacity: 0.7;
    cursor: progress;
}

.contact-form-submit:disabled {
    cursor: not-allowed;
}

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

.btn-outline--dark:hover {
    background: var(--primary);
    color: var(--neutral-01);
}

/* ===========================
   LEGAL PAGES (Política de Privacidade)
   =========================== */
.legal-content {
    padding: 72px 0 90px;
    background-color: var(--neutral-01);
}

.legal-body {
    max-width: 900px;
    margin: 0 auto;
    background: var(--neutral-01);
    border-radius: 12px;
    box-shadow: 0px 4px 28px rgba(26, 26, 26, 0.06);
    padding: 56px 60px;
}

.legal-body h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.35;
    color: var(--primary);
    margin: 48px 0 18px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    color: var(--neutral-06);
    margin: 32px 0 14px;
}

.legal-body p {
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.8;
    color: var(--neutral-05);
    margin-bottom: 18px;
}

.legal-body p:last-child {
    margin-bottom: 0;
}

.legal-body strong {
    color: var(--neutral-06);
    font-weight: 600;
}

.legal-body a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-body a:hover {
    opacity: 0.75;
}

.legal-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.legal-list li {
    position: relative;
    padding-left: 28px;
    font-family: var(--font-primary);
    font-size: 17px;
    line-height: 1.8;
    color: var(--neutral-05);
    margin-bottom: 12px;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

.legal-list--plain li {
    padding-left: 0;
}

.legal-list--plain li::before {
    display: none;
}

.legal-contact-card {
    background-color: var(--light-blue-bg);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 32px 36px;
    margin: 36px 0 12px;
}

.legal-contact-card h3 {
    margin: 0 0 20px;
}

.legal-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 36px;
}

.legal-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.legal-contact-item:hover {
    opacity: 0.8;
}

.legal-contact-item--whatsapp {
    color: var(--green-whatsapp);
}

.footer-legal-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.footer-legal-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 48px 0 64px;
    }

    .legal-body {
        padding: 32px 24px;
        box-shadow: none;
        border-radius: 0;
    }

    .legal-body h2 {
        font-size: 24px;
        margin-top: 36px;
    }

    .legal-body h3 {
        font-size: 18px;
    }

    .legal-body p,
    .legal-list li {
        font-size: 16px;
        line-height: 1.7;
    }

    .legal-contact-card {
        padding: 24px 20px;
    }

    .legal-contact-items {
        flex-direction: column;
        gap: 14px;
    }
}
