/* 
  Kaique Garcia Construções — Premium Stylesheet v2.0
  Identidade: Verde Musgo #89906E | Alto Padrão | Sofisticado
*/

/* ======================================================
   1. GOOGLE FONTS
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ======================================================
   2. DESIGN TOKENS
   ====================================================== */
:root {
    /* Paleta Principal — Verde Musgo */
    --moss:          #89906E;
    --moss-dark:     #6B7258;
    --moss-deeper:   #545944;
    --moss-light:    #B8BEA3;
    --moss-faint:    #EEF0E8;

    /* Paleta de Apoio */
    --off-white:     #F7F5F0;
    --sand:          #D4C5A9;
    --sand-light:    #EDE4D5;
    --gold:          #C9A96E;
    --gold-light:    #DEC08A;

    /* Escuros e Neutros */
    --charcoal:      #2C2C2C;
    --dark:          #1A1A1A;
    --gray-mid:      #6E6E6E;
    --gray-light:    #A8A8A8;
    --border-light:  #E8E4DC;
    --white:         #FFFFFF;

    /* WhatsApp */
    --whatsapp:      #25D366;
    --whatsapp-dark: #1ebd56;

    /* Tipografia */
    --font-heading:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;

    /* Espaçamentos e Dimensões */
    --max-width:     1240px;
    --header-height: 88px;
    --radius-sm:     4px;
    --radius-md:     8px;

    /* Sombras */
    --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
    --shadow-md:     0 8px 32px rgba(0,0,0,0.09);
    --shadow-lg:     0 20px 60px rgba(0,0,0,0.12);

    /* Transições */
    --ease-smooth:   all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-fast:     all 0.22s ease;
}

/* ======================================================
   3. BASE RESET & DEFAULTS
   ====================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.22;
    color: var(--dark);
    letter-spacing: -0.01em;
}

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

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

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

/* ======================================================
   4. LAYOUT UTILITIES
   ====================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

.section {
    padding: 110px 0;
}

.section-bg-offwhite {
    background-color: var(--off-white);
}

.section-bg-moss {
    background-color: var(--moss-deeper);
    color: var(--white);
}

.section-bg-charcoal {
    background-color: var(--charcoal);
    color: var(--white);
}

.section-bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-bg-moss h1,
.section-bg-moss h2,
.section-bg-moss h3,
.section-bg-charcoal h1,
.section-bg-charcoal h2,
.section-bg-charcoal h3,
.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3 {
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px auto;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 18px;
    position: relative;
    padding: 0 20px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: var(--moss-light);
}

.section-eyebrow::before { right: 100%; margin-right: -20px; }
.section-eyebrow::after  { left: 100%;  margin-left: -20px; }

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 600;
    margin-bottom: 22px;
    color: var(--dark);
}

.section-header h2 em {
    font-style: italic;
    color: var(--moss);
}

.section-header p {
    font-size: 1.08rem;
    color: var(--gray-mid);
    font-weight: 300;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dark section overrides */
.section-bg-moss .section-eyebrow,
.section-bg-charcoal .section-eyebrow,
.section-bg-dark .section-eyebrow {
    color: var(--sand);
}

.section-bg-moss .section-eyebrow::before,
.section-bg-moss .section-eyebrow::after,
.section-bg-charcoal .section-eyebrow::before,
.section-bg-charcoal .section-eyebrow::after,
.section-bg-dark .section-eyebrow::before,
.section-bg-dark .section-eyebrow::after {
    background-color: rgba(255,255,255,0.2);
}

.section-bg-moss .section-header h2,
.section-bg-charcoal .section-header h2,
.section-bg-dark .section-header h2,
.process-section .section-header h2,
.authority-section .section-header h2 {
    color: var(--white);
}

.section-bg-moss .section-header p,
.section-bg-charcoal .section-header p,
.section-bg-dark .section-header p,
.process-section .section-header p,
.authority-section .section-header p {
    color: rgba(255,255,255,0.65);
}

/* ======================================================
   5. TYPOGRAPHY UTILITIES
   ====================================================== */
.font-heading { font-family: var(--font-heading); }
.italic       { font-style: italic; }
.text-moss    { color: var(--moss) !important; }
.text-sand    { color: var(--sand) !important; }
.text-gold    { color: var(--gold) !important; }
.text-white   { color: var(--white) !important; }
.text-gray    { color: var(--gray-mid) !important; }

/* ======================================================
   6. BUTTONS
   ====================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 38px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ease-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: 1.5px solid transparent;
}

/* Primary — Musgo sólido */
.btn-primary {
    background-color: var(--moss);
    color: var(--white);
    border-color: var(--moss);
}
.btn-primary:hover {
    background-color: var(--moss-dark);
    border-color: var(--moss-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(137,144,110,0.35);
}

/* Secondary — Outline musgo */
.btn-secondary {
    background-color: transparent;
    color: var(--moss);
    border-color: var(--moss);
}
.btn-secondary:hover {
    background-color: var(--moss);
    color: var(--white);
    transform: translateY(-2px);
}

/* White outline (sobre fundo escuro) */
.btn-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn-white:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    border-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* Ghost dark */
.btn-ghost-dark {
    background-color: transparent;
    color: var(--charcoal);
    border-color: rgba(44,44,44,0.35);
}
.btn-ghost-dark:hover {
    background-color: var(--charcoal);
    color: var(--white);
}

.btn i, .btn svg { font-size: 1.05rem; }

/* ======================================================
   7. HEADER & NAVIGATION
   ====================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(137,144,110,0.12);
    transition: var(--ease-smooth);
}

.site-header.scrolled {
    height: 72px;
    background-color: rgba(255,255,255,0.99);
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    border-bottom-color: transparent;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.logo-symbol {
    height: 46px;
    width: auto;
    transition: var(--ease-smooth);
}

.site-header.scrolled .logo-symbol {
    height: 38px;
}

.logo-divider {
    display: inline-block;
    width: 1px;
    height: 30px;
    background-color: rgba(137,144,110,0.3);
    margin: 0 18px;
    transition: var(--ease-smooth);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.02em;
    transition: var(--ease-smooth);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--moss);
    margin-top: 1px;
    transition: var(--ease-smooth);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--charcoal);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

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

.nav-link:hover { color: var(--moss); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--moss); }

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 12px 24px; font-size: 0.72rem; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    font-size: 1.4rem;
    z-index: 1001;
    padding: 6px;
    transition: color 0.2s;
}
.mobile-toggle:hover { color: var(--moss); }

/* ======================================================
   8. HERO SLIDER
   ====================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 640px;
    background-color: var(--dark);
    overflow: hidden;
}

.slide-list {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s ease, visibility 1.4s ease;
    z-index: 1;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.07);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item.active .slide-bg {
    transform: scale(1);
}

/* Overlay elegante com gradiente diagonal musgo */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(26,26,26,0.82) 0%,
        rgba(84,89,68,0.55) 50%,
        rgba(26,26,26,0.35) 100%
    );
    z-index: 2;
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: var(--header-height);
    padding-bottom: 100px;
}

.slide-content-inner {
    max-width: 820px;
    opacity: 0;
    transform: translateY(36px);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s,
                opacity 1s ease 0.55s;
}

.slide-item.active .slide-content-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Hero label acima do h1 */
.hero-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--moss-light);
    margin-bottom: 20px;
    border-left: 2px solid var(--moss);
    padding-left: 14px;
}

.slide-content-inner h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.15;
}

.slide-content-inner h1 em {
    font-style: italic;
    color: var(--moss-light);
}

.slide-content-inner p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 42px;
    font-weight: 300;
    max-width: 580px;
    line-height: 1.75;
}

.slide-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Hero credential pills */
.hero-credentials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
    border-radius: 100px;
}

.hero-pill i {
    color: var(--moss-light);
    font-size: 0.8rem;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 44px;
    right: 28px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--ease-fast);
}

.slider-btn:hover {
    background-color: var(--moss);
    border-color: var(--moss);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: var(--ease-smooth);
}

.hero-scroll:hover {
    opacity: 0.95;
}

.scroll-indicator {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.75;
}

/* ======================================================
   9. ABOUT SECTION
   ====================================================== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-img-container {
    position: relative;
    flex-shrink: 0;
}

.about-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* Moldura decorativa */
.about-img-container::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 30px;
    bottom: 30px;
    border: 1.5px solid var(--moss-light);
    z-index: 0;
    pointer-events: none;
}

.about-img-container .about-img {
    position: relative;
    z-index: 1;
}

.about-img-offset {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 240px;
    height: 290px;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    z-index: 2;
}

/* About text */
.about-text-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    margin-bottom: 26px;
    color: var(--dark);
}

.about-text-content p {
    color: var(--gray-mid);
    margin-bottom: 24px;
    font-size: 1.02rem;
    line-height: 1.85;
}

/* Diferenciais inline (about) */
.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0;
}

.about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background-color: var(--off-white);
    border-left: 3px solid var(--moss);
    transition: var(--ease-smooth);
}

.about-pillar:hover {
    background-color: var(--moss-faint);
    transform: translateX(4px);
}

.about-pillar-icon {
    color: var(--moss);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-pillar-text strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark);
    margin-bottom: 3px;
}

.about-pillar-text span {
    font-size: 0.85rem;
    color: var(--gray-mid);
    line-height: 1.5;
}

.about-signature {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-signature-badge {
    width: 38px;
    height: 38px;
    background-color: var(--moss);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.about-signature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-signature-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 !important;
}

.about-signature-role {
    font-size: 0.62rem;
    color: var(--moss);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 2px 0 0 0 !important;
}

/* ======================================================
   10. DIFERENCIAIS / VALUES SECTION
   ====================================================== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.diff-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--moss-light);
    padding: 44px 32px;
    transition: var(--ease-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--moss), var(--moss-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: transparent;
}

.diff-card:hover::before {
    transform: scaleX(1);
}

.diff-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--moss-faint);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 28px;
    transition: var(--ease-smooth);
}

.diff-card:hover .diff-number {
    color: var(--moss-light);
}

.diff-card-icon {
    font-size: 1.6rem;
    color: var(--moss);
    margin-bottom: 20px;
}

.diff-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--dark);
}

.diff-card p {
    color: var(--gray-mid);
    font-size: 0.93rem;
    line-height: 1.75;
}

/* ======================================================
   11. SERVICES SECTION
   ====================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    transition: var(--ease-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--moss), var(--moss-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card-header {
    padding: 36px 32px 28px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-icon-wrap {
    width: 54px;
    height: 54px;
    background-color: var(--moss-faint);
    border: 1px solid var(--moss-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--ease-smooth);
}

.service-card:hover .service-icon-wrap {
    background-color: var(--moss);
    border-color: var(--moss);
}

.service-icon {
    font-size: 1.4rem;
    color: var(--moss);
    transition: var(--ease-smooth);
}

.service-card:hover .service-icon-wrap .service-icon {
    color: var(--white);
}

.service-card-header h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-top: 4px;
    line-height: 1.3;
}

.service-card-content {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-content p {
    color: var(--gray-mid);
    font-size: 0.94rem;
    margin-bottom: 28px;
    flex-grow: 1;
    line-height: 1.8;
}

.service-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--moss);
    transition: var(--ease-fast);
}

.service-card-link:hover {
    gap: 14px;
    color: var(--moss-dark);
}

/* ======================================================
   12. PORTFOLIO SECTION
   ====================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-item {
    position: relative;
    background-color: var(--dark);
    overflow: hidden;
    height: 400px;
    transition: var(--ease-smooth);
    display: block;
}

.portfolio-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.portfolio-item:hover .portfolio-item-img {
    transform: scale(1.06);
    opacity: 0.45;
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.portfolio-item-category {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--moss-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-item-title {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.5s ease 0.06s, opacity 0.5s ease 0.06s;
}

.portfolio-item:hover .portfolio-item-category,
.portfolio-item:hover .portfolio-item-title {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item-status {
    position: absolute;
    top: 22px;
    right: 22px;
    background-color: rgba(255,255,255,0.9);
    color: var(--dark);
    padding: 5px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

.portfolio-item-status.andamento {
    background-color: var(--moss);
    color: var(--white);
}

/* Portfolio Empty State */
.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
}

.portfolio-empty-icon {
    width: 80px;
    height: 80px;
    background-color: var(--moss-faint);
    border: 2px solid var(--moss-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: var(--moss);
}

.portfolio-empty h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.portfolio-empty p {
    color: var(--gray-mid);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 32px;
}

/* Portfolio placeholder cards */
.portfolio-placeholder-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
    opacity: 1;
}

.portfolio-placeholder-card {
    height: 320px;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    border-radius: 4px;
    transition: var(--ease-smooth);
}

.portfolio-placeholder-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(40,44,30,0.3) 0%, rgba(15,17,12,0.8) 100%);
    transition: var(--ease-smooth);
    z-index: 1;
}

.portfolio-placeholder-card .card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--white);
    text-align: center;
}

.portfolio-placeholder-card i {
    font-size: 2.5rem;
    color: var(--moss-light);
    transition: var(--ease-smooth);
    opacity: 1;
}

.portfolio-placeholder-card span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--white);
    transition: var(--ease-smooth);
}

.portfolio-placeholder-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(40,44,30,0.15) 0%, rgba(15,17,12,0.7) 100%);
}

.portfolio-placeholder-card:hover i {
    color: var(--white);
    transform: translateY(-4px);
}

.portfolio-placeholder-card:hover span {
    color: var(--moss-light);
}

/* ======================================================
   13. PROCESS / TIMELINE SECTION
   ====================================================== */
.process-section {
    padding: 110px 0;
    background: linear-gradient(145deg, var(--moss-deeper) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(137,144,110,0.08);
    pointer-events: none;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 20px;
    position: relative;
}

/* Linha conectora */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(10% + 16px);
    right: calc(10% + 16px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,210,175,0.4), transparent);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.process-step-num {
    width: 68px;
    height: 68px;
    border: 1.5px solid rgba(200,210,175,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background-color: rgba(137,144,110,0.15);
    transition: var(--ease-smooth);
    flex-shrink: 0;
}

.process-step:hover .process-step-num {
    background-color: var(--moss);
    border-color: var(--moss);
    transform: scale(1.08);
}

.process-step-num i {
    font-size: 1.3rem;
    color: var(--moss-light);
    transition: var(--ease-smooth);
}

.process-step:hover .process-step-num i {
    color: var(--white);
}

.process-step-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--moss-light);
    margin-bottom: 10px;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.process-step p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

/* ======================================================
   14. AUTHORITY / TRUST STRIP
   ====================================================== */
.authority-section {
    padding: 90px 0;
    background-color: var(--charcoal);
    color: var(--white);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    divide: 1px;
}

.authority-item {
    text-align: center;
    padding: 36px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: var(--ease-smooth);
}

.authority-item:last-child {
    border-right: none;
}

.authority-item:hover {
    background-color: rgba(137,144,110,0.12);
}

.authority-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(137,144,110,0.18);
    border: 1px solid rgba(137,144,110,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.15rem;
    color: var(--moss-light);
    transition: var(--ease-smooth);
}

.authority-item:hover .authority-icon {
    background-color: var(--moss);
    border-color: var(--moss);
    color: var(--white);
    transform: scale(1.1);
}

.authority-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 8px;
}

.authority-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* ======================================================
   15. TESTIMONIALS SECTION
   ====================================================== */
.testimonials-slider {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 40px;
    text-align: center;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 52px 56px;
    position: relative;
    transition: var(--ease-smooth);
}

.testimonial-card:hover {
    background-color: rgba(255,255,255,0.07);
    border-color: rgba(137,144,110,0.3);
}

.testimonial-quote-icon {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.5;
    color: var(--moss);
    opacity: 0.4;
    display: block;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin-bottom: 36px;
    font-weight: 300;
    font-style: italic;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-body);
}

.testimonial-role {
    font-size: 0.72rem;
    color: var(--moss-light);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 44px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--ease-fast);
}

.dot.active {
    background-color: var(--moss-light);
    width: 28px;
    border-radius: 4px;
}

/* ======================================================
   16. CTA SECTION
   ====================================================== */
.cta-section {
    padding: 130px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(84,89,68,0.92) 0%,
        rgba(26,26,26,0.88) 100%
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-content .section-eyebrow {
    color: var(--moss-light);
    margin-bottom: 24px;
}

.cta-content .section-eyebrow::before,
.cta-content .section-eyebrow::after {
    background-color: rgba(200,210,175,0.3);
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 48px;
    font-weight: 300;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ======================================================
   17. BLOG SECTION
   ====================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: var(--ease-smooth);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: transparent;
}

.blog-card-img {
    height: 230px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.72rem;
    color: var(--moss);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    font-weight: 600;
    display: flex;
    gap: 14px;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--gray-mid);
    font-size: 0.94rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.75;
}

.blog-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--moss);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--ease-fast);
}

.blog-card-link:hover {
    gap: 14px;
    color: var(--moss-dark);
}

/* ======================================================
   18. CONTACT SECTION
   ====================================================== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.contact-list { list-style: none; margin-bottom: 44px; }

.contact-list-item {
    display: flex;
    margin-bottom: 26px;
    align-items: flex-start;
}

.contact-list-icon {
    font-size: 1.1rem;
    color: var(--moss);
    width: 44px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list-text h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    color: var(--gray-mid);
}

.contact-list-text p { font-size: 1rem; color: var(--dark); }

.contact-socials { display: flex; gap: 14px; }

.social-btn {
    border: 1.5px solid var(--border-light);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--charcoal);
    transition: var(--ease-smooth);
}

.social-btn:hover {
    background-color: var(--moss);
    color: var(--white);
    border-color: var(--moss);
    transform: translateY(-3px);
}

.contact-form-panel {
    background-color: var(--off-white);
    padding: 52px;
    border: 1px solid var(--border-light);
}

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

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-input {
    width: 100%;
    background-color: var(--white);
    border: 1.5px solid var(--border-light);
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--ease-fast);
    color: var(--dark);
    outline: none;
}

.form-input:focus {
    border-color: var(--moss);
    box-shadow: 0 0 0 3px rgba(137,144,110,0.1);
}

/* ======================================================
   19. MAP
   ====================================================== */
.map-container { height: 450px; width: 100%; border: none; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ======================================================
   20. FOOTER
   ====================================================== */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 90px 0 0 0;
    border-top: 3px solid var(--moss);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 60px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Footer Brand */
.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-logo-symbol {
    height: 42px;
    width: auto;
    opacity: 0.85;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-main {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.footer-logo-sub {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--moss-light);
    margin-top: 1px;
}

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 300px;
}

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

.footer-social-btn {
    border: 1px solid rgba(255,255,255,0.15);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    transition: var(--ease-smooth);
}

.footer-social-btn:hover {
    background-color: var(--moss);
    border-color: var(--moss);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer Columns */
.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(137,144,110,0.3);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.48);
    font-size: 0.88rem;
    transition: var(--ease-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background-color: var(--moss-light);
    transition: width 0.25s ease;
    vertical-align: middle;
}

.footer-links a:hover {
    color: var(--moss-light);
    padding-left: 8px;
}

.footer-links a:hover::before { width: 10px; }

/* Footer Contact Items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.48);
    font-size: 0.87rem;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--moss-light);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.48);
    transition: var(--ease-fast);
}

.footer-contact-item a:hover { color: var(--moss-light); }

/* Footer Bottom */
.footer-bottom {
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.28);
    font-size: 0.78rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--moss-light); }

/* ======================================================
   21. WHATSAPP FLOAT
   ====================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 62px;
    height: 62px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    z-index: 998;
    transition: var(--ease-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 10px 30px rgba(37,211,102,0.45);
}

/* ======================================================
   22. INNER PAGE BANNER
   ====================================================== */
.page-banner {
    height: 360px;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: var(--header-height);
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(84,89,68,0.85) 0%,
        rgba(26,26,26,0.75) 100%
    );
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 14px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--moss-light);
}

.breadcrumbs a { color: rgba(255,255,255,0.65); }
.breadcrumbs span { color: var(--moss-light); }

/* ======================================================
   23. PROJECT SINGLE
   ====================================================== */
.project-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
}

.project-meta-box {
    background-color: var(--off-white);
    padding: 40px;
    border-left: 3px solid var(--moss);
}

.project-meta-list { list-style: none; }

.project-meta-item {
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.project-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.project-meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-mid);
    margin-bottom: 4px;
}

.project-meta-value {
    font-size: 1.05rem;
    color: var(--dark);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ease-smooth);
}

.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content { max-width: 90%; max-height: 80%; }
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ======================================================
   24. BLOG SINGLE POST
   ====================================================== */
.post-layout { max-width: 820px; margin: 0 auto; }

.post-header { margin-bottom: 44px; text-align: center; }

.post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--moss);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 22px;
}

.post-meta { font-size: 0.88rem; color: var(--gray-mid); }

.post-featured-img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 52px;
}

.post-content {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--charcoal);
}

.post-content p { margin-bottom: 32px; }

.post-content h2, .post-content h3 { margin: 52px 0 22px; }

.post-content blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    border-left: 3px solid var(--moss);
    padding-left: 32px;
    margin: 44px 0;
    color: var(--gray-mid);
}

/* ======================================================
   25. FORM FEEDBACK
   ====================================================== */
.form-msg {
    padding: 16px 20px;
    font-size: 0.93rem;
    margin-bottom: 26px;
    border-radius: var(--radius-sm);
}

.form-msg-success {
    background-color: rgba(137,144,110,0.1);
    color: var(--moss-dark);
    border: 1px solid var(--moss-light);
}

.form-msg-error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* ======================================================
   26. PORTFOLIO FILTER (portfolio.php)
   ====================================================== */
.portfolio-filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.filter-btn {
    background-color: var(--off-white);
    border: 1.5px solid var(--border-light);
    padding: 10px 26px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--ease-fast);
    color: var(--charcoal);
    font-family: var(--font-body);
}

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

/* ======================================================
   27. SCROLL REVEAL UTILITY
   ====================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ======================================================
   28. RESPONSIVE — TABLET (max 1024px)
   ====================================================== */
@media (max-width: 1024px) {
    :root { --header-height: 80px; }

    .section { padding: 88px 0; }

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

    .about-split { gap: 52px; }
    .about-img { height: 460px; }
    .about-pillars { grid-template-columns: 1fr; }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 52px;
    }
    .process-timeline::before { display: none; }

    .authority-grid { grid-template-columns: repeat(3, 1fr); }
    .authority-item:nth-child(3) { border-right: none; }
    .authority-item:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.08); }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }

    .contact-split { gap: 52px; }
}

/* ======================================================
   29. RESPONSIVE — MOBILE (max 768px)
   ====================================================== */
@media (max-width: 768px) {
    :root { --header-height: 68px; }

    .container { padding: 0 20px; }
    .section { padding: 72px 0; }

    /* Header Mobile */
    .logo-symbol { height: 32px !important; }
    .logo-divider { height: 22px !important; margin: 0 12px !important; }
    .logo-main { font-size: 0.95rem !important; }
    .logo-sub { font-size: 0.55rem !important; letter-spacing: 2.5px !important; }

    .mobile-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        border-right: none;
    }

    .nav-menu.active { left: 0; }

    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 18px 24px;
        border-bottom: 1px solid var(--border-light);
        letter-spacing: 1.5px;
    }

    .nav-link::after { display: none; }

    .nav-link.active {
        background-color: var(--moss-faint);
        color: var(--moss-dark);
        border-left: 3px solid var(--moss);
        padding-left: 21px;
    }

    .nav-cta {
        width: 100%;
        padding: 24px;
        margin-top: 0;
        border-top: none;
    }

    .nav-cta .btn { width: 100%; padding: 17px; font-size: 0.78rem; }

    /* Hero Mobile */
    .hero-slider { height: 100svh; min-height: 580px; }

    .slide-content-inner h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .slide-content-inner p { font-size: 0.97rem; margin-bottom: 32px; }
    .slide-buttons { flex-direction: column; }
    .slide-buttons .btn { width: 100%; max-width: 340px; }

    .hero-credentials { gap: 8px; }
    .hero-pill { font-size: 0.68rem; padding: 6px 12px; }

    .hero-label { font-size: 0.6rem; }

    .hero-scroll { display: none; }
    .slider-nav { display: none; }

    /* About Mobile */
    .about-split {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .about-img-container::before { display: none; }
    .about-img { height: 320px; }
    .about-img-offset {
        display: block;
        bottom: -24px;
        right: 16px;
        width: 150px;
        height: 185px;
        border: 4px solid var(--white);
    }

    .about-pillars { grid-template-columns: 1fr; gap: 12px; }

    /* Diff Mobile */
    .diff-grid { grid-template-columns: 1fr; }
    .diff-card { padding: 32px 24px; }

    /* Services Mobile */
    .services-grid { grid-template-columns: 1fr; }

    /* Portfolio Mobile */
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item { height: 300px; }
    .portfolio-item-category,
    .portfolio-item-title { opacity: 1; transform: translateY(0); }

    .portfolio-placeholder-grid { grid-template-columns: 1fr; }
    .portfolio-placeholder-card { height: 200px; }

    /* Process Mobile */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 22px;
        padding: 0 4px;
    }

    .process-step-num { margin-bottom: 0; flex-shrink: 0; }

    /* Authority Mobile */
    .authority-grid {
        grid-template-columns: 1fr 1fr;
    }
    .authority-item {
        border-right: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 28px 18px;
    }
    .authority-item:nth-child(even) { border-right: none; }

    /* Testimonials Mobile */
    .testimonial-slide { padding: 0 4px; }
    .testimonial-card { padding: 36px 28px; }
    .testimonial-quote { font-size: 1.2rem; }

    /* CTA Mobile */
    .cta-section { padding: 90px 0; background-attachment: scroll; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 340px; }

    /* Blog Mobile */
    .blog-grid { grid-template-columns: 1fr; }

    /* Contact Mobile */
    .contact-split { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-panel { padding: 32px 24px; }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 52px;
    }

    .footer-brand { padding-right: 0; }
    .footer-brand p { max-width: 100%; }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 24px 0;
    }

    /* Project Detail Mobile */
    .project-detail-layout { grid-template-columns: 1fr; gap: 44px; }
    .project-gallery-grid { grid-template-columns: 1fr; }

    /* Post Mobile */
    .post-header h1 { font-size: 2rem; }
    .post-featured-img { height: 280px; }
    .post-content blockquote { font-size: 1.2rem; padding-left: 22px; }
}

/* ======================================================
   30. RESPONSIVE — SMALL MOBILE (max 480px)
   ====================================================== */
@media (max-width: 480px) {
    .section-eyebrow::before,
    .section-eyebrow::after { display: none; }

    .section-header h2 { font-size: 1.75rem; }

    .btn { padding: 15px 28px; font-size: 0.72rem; letter-spacing: 1.5px; }

    .about-pillars { grid-template-columns: 1fr; }

    .authority-grid { grid-template-columns: 1fr; }
    .authority-item { border-right: none !important; }

    .diff-number { font-size: 3rem; }

    .cta-content h2 { font-size: 1.8rem; }

    .footer-bottom { font-size: 0.72rem; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; font-size: 1.6rem; }
}

/* ======================================================
   31. PREVENT HORIZONTAL OVERFLOW
   ====================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: min(var(--max-width), 100vw);
}

/* Garantir que nada quebre a largura */
img, video, iframe, embed, object {
    max-width: 100%;
}

/* ======================================================
   32. ACCESSIBILITY
   ====================================================== */
:focus-visible {
    outline: 2px solid var(--moss);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ======================================================
   33. BACKWARD COMPATIBILITY — Classes legadas PHP
   ====================================================== */

/* Cores da versão anterior mapeadas para o novo sistema */
:root {
    --color-primary:   var(--dark);
    --color-secondary: var(--white);
    --color-dark:      var(--charcoal);
    --color-gray:      var(--gray-mid);
    --color-light:     var(--off-white);
    --color-sand:      var(--sand);
    --color-olive:     var(--moss);
    --color-whatsapp:  var(--whatsapp);
    --font-heading-old: var(--font-heading);
    --font-body-old:    var(--font-body);
}

/* Alias da seção de fundo claro */
.section-bg-light {
    background-color: var(--off-white);
}

/* Alias tipografia serif-italic */
.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
}

/* Alias text-sand (já existe no novo CSS, redundante mas seguro) */
.text-sand { color: var(--sand) !important; }
.text-moss  { color: var(--moss) !important; }

/* Service icon standalone (usado em sobre.php) */
.service-icon {
    font-size: 1.4rem;
    color: var(--moss);
    transition: var(--ease-smooth);
}

/* Correção de inline color vars antigos nos estilos PHP inline */
/* (color-gray em style inline viram var(--gray-mid) automaticamente via :root alias) */

/* service-card sem wrapper header (sobre.php) */
.service-card > .service-card-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card > .service-card-content .service-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
}

/* Botão secundário com border musgo */
.btn-secondary {
    background-color: transparent;
    color: var(--moss);
    border-color: var(--moss);
}

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

/* ======================================================
   34. GALLERY PAGE (galeria.php)
   ====================================================== */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 290px;
    background-color: var(--off-white);
    border: 1px solid var(--border-light);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--ease-smooth);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--moss-light);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Hover overlay with zoom icon */
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(137, 144, 110, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--moss-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transform: scale(0.8);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-icon {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.94);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 2.8rem;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--moss-light);
}

@media (max-width: 768px) {
    .gallery-grid-masonry {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 16px;
    }
    
    .gallery-card {
        height: 240px;
    }
}


