/* ===== DEVKING - STYLE.CSS =====
 * Design: "Sovereign Dark" (Brutalismo Régio)
 * Colors: Onyx Black (#0B0B0F), Antique Gold (#C9A84C), Warm White (#FAF8F5)
 * Typography: Cormorant Garamond (display) + Outfit (body)
 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #0B0B0F;
    color: #FAF8F5;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0B0B0F; }
::-webkit-scrollbar-thumb { background: #C9A84C; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #E8D5A3; }

/* ===== TYPOGRAPHY ===== */
.font-display {
    font-family: 'Cormorant Garamond', serif;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #E8D5A3 50%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold { color: #C9A84C; font-weight: 600; }
.text-white-90 { color: rgba(250,248,245,0.9); font-weight: 500; }
.text-center { text-align: center; }

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: #FAF8F5;
}

/* ===== ICON SIZES ===== */
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-gold { color: #C9A84C; }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; max-width: 1280px; } }

/* ===== GOLD SHIMMER BUTTON ===== */
.btn-gold-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-gold-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232,213,163,0.3), transparent);
    transition: left 0.6s ease;
}
.btn-gold-shimmer:hover::before {
    left: 100%;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #C9A84C;
    color: #0B0B0F;
    padding: 16px 32px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-primary:hover {
    background: #E8D5A3;
    box-shadow: 0 0 40px rgba(201,168,76,0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(201,168,76,0.3);
    color: #C9A84C;
    padding: 16px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-secondary:hover {
    border-color: #C9A84C;
    background: rgba(201,168,76,0.05);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-blur.revealed { opacity: 1; filter: blur(0); transform: translateY(0); }

.reveal-rotate {
    opacity: 0;
    transform: rotate(-5deg) translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-rotate.revealed { opacity: 1; transform: rotate(0) translateY(0); }

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 120ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 360ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 480ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 600ms; opacity: 1; transform: translateY(0); }

/* Gold line animation */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    transform: scaleX(0);
    transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
    margin-bottom: 4rem;
}
.gold-line.revealed { transform: scaleX(1); }

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    background: transparent;
}
#header.scrolled {
    background: rgba(11,11,15,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
@media (min-width: 1024px) { .header-inner { padding-top: 1.25rem; padding-bottom: 1.25rem; } }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img { width: 100px; height: 100px; object-fit: contain; transition: transform 0.3s; }
.logo:hover img { transform: rotate(6deg); }
.logo span { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.05em; }

#desktopNav {
    display: none;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 1024px) { #desktopNav { display: flex; } }

#desktopNav a {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(250,248,245,0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}
#desktopNav a:hover { color: #C9A84C; }

.nav-link-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.nav-link-hover:hover::after { width: 100%; }

.desktop-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 1024px) { .desktop-actions { display: flex; } }

.social-icon {
    color: rgba(250,248,245,0.6);
    transition: color 0.3s;
    cursor: pointer;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover { color: #C9A84C; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C9A84C;
    color: #0B0B0F;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-whatsapp:hover { background: #E8D5A3; }

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    color: rgba(250,248,245,0.8);
    cursor: pointer;
    transition: color 0.3s;
}
.mobile-toggle:hover { color: #C9A84C; }
.mobile-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11,11,15,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
    transition: all 0.5s;
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.mobile-nav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(250,248,245,0.8);
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 1px solid rgba(201,168,76,0.05);
}
.mobile-link:hover { color: #C9A84C; }

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.btn-whatsapp-mobile {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #C9A84C;
    color: #0B0B0F;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0B0B0F;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,11,15,0.7), transparent, #0B0B0F);
}
.hero-overlay-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11,11,15,0.9), rgba(11,11,15,0.4), transparent);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle-float {
    position: absolute;
    border-radius: 50%;
    animation: particle-drift linear infinite;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 4rem;
}
@media (min-width: 1024px) { .hero-container { padding-top: 8rem; padding-bottom: 6rem; } }

.hero-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; } }

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}
.gold-line-static {
    width: 48px;
    height: 1px;
    background: #C9A84C;
    animation: gold-line-extend 2s ease-out forwards;
}
.hero-label span {
    color: #C9A84C;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(250,248,245,0.6);
    max-width: 36rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}
@media (min-width: 1024px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}
@media (min-width: 1024px) { .hero-stats { gap: 4rem; } }

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #C9A84C;
}
@media (min-width: 1024px) { .stat-number { font-size: 2.25rem; } }

.stat-label {
    font-size: 0.875rem;
    color: rgba(250,248,245,0.4);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.hero-notebook {
    display: none;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) { .hero-notebook { display: flex; } }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.5), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

/* ===== 3D NOTEBOOK ===== */
.notebook-3d-wrapper {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    perspective: 1200px;
    position: relative;
    opacity: 0;
    transform: translateX(80px) translateY(40px);
    transition: all 1.5s ease-out;
}
.notebook-3d-wrapper.loaded {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.notebook-3d {
    will-change: transform;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    position: relative;
}

.notebook-bezel {
    position: relative;
    background: #1a1a1e;
    border-radius: 8px 8px 0 0;
    padding: 6px;
    box-shadow: 0 0 60px rgba(201,168,76,0.15);
}

.notebook-camera {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

.notebook-display {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #0d0d10;
}
.notebook-display img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.notebook-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 50%, rgba(255,255,255,0.03) 100%);
}

.notebook-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(201,168,76,0.01) 2px, rgba(201,168,76,0.01) 4px);
    animation: scanline-move 8s linear infinite;
}

.notebook-base-3d {
    transform: rotateX(-90deg);
    transform-origin: top center;
    height: 12px;
}
.notebook-base-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #2a2a2e, #1a1a1e);
    border-radius: 0 0 8px 8px;
    position: relative;
}
.notebook-trackpad {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 9999px;
    background: #333;
}

.notebook-shadow {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 70%);
    filter: blur(8px);
}

.notebook-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 60%);
    animation: notebook-glow 4s ease-in-out infinite alternate;
}

/* ===== SECTIONS ===== */
.section-dark {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #0B0B0F;
}
@media (min-width: 1024px) { .section-dark { padding: 8rem 0; } }

.section-charcoal {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #0E0E12;
}
@media (min-width: 1024px) { .section-charcoal { padding: 8rem 0; } }

.section-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: rgba(201,168,76,0.04);
    position: absolute;
    top: -2rem;
    right: 2rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}
.section-label span {
    color: #C9A84C;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.section-label-text {
    color: #C9A84C;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(250,248,245,0.6);
    line-height: 1.7;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    color: #C9A84C;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.about-link:hover { color: #E8D5A3; }
.about-link:hover svg { transform: translateX(4px); }
.about-link svg { transition: transform 0.3s; }

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    max-width: 28rem;
    margin: 0 auto;
}
@media (min-width: 1024px) { .about-image-wrapper { max-width: none; } }
.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-border-1 {
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(201,168,76,0.1);
    pointer-events: none;
}
.about-border-2 {
    position: absolute;
    inset: -24px;
    border: 1px solid rgba(201,168,76,0.05);
    pointer-events: none;
}

.about-border-animate {
    animation: border-breathe 4s ease-in-out infinite;
}

/* ===== SERVICES SECTION ===== */
.services-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}
@media (min-width: 1024px) {
    .services-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.services-desc {
    color: rgba(250,248,245,0.5);
    max-width: 28rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.service-card {
    position: relative;
    background: #161618;
    padding: 2rem;
    overflow: hidden;
}
@media (min-width: 1024px) { .service-card { padding: 2.5rem; } }

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201,168,76,0.05);
    transition: color 0.5s;
}
.service-card:hover .card-number { color: rgba(201,168,76,0.1); }

.card-icon {
    color: #C9A84C;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}
.card-icon svg { width: 28px; height: 28px; }
.service-card:hover .card-icon { transform: scale(1.1) rotate(3deg); }

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: 1rem;
}

.card-desc {
    color: rgba(250,248,245,0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C9A84C;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s;
}
.service-card:hover .card-link,
.service-card:focus-within .card-link { opacity: 1; transform: translateY(0); }

.card-hover-gradient {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    background: linear-gradient(to bottom right, rgba(201,168,76,0.02), transparent);
}
.service-card:hover .card-hover-gradient { opacity: 1; }

/* ===== CARD EFFECTS ===== */
.card-glow {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease, border-color 0.5s ease;
    border: 1px solid transparent;
}
.card-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(201,168,76,0.12), 0 0 0 1px rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.25);
}

.card-tilt { transition: transform 0.3s ease; }

/* ===== DIFFERENTIALS ===== */
.diff-header { margin-bottom: 4rem; }

.diff-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }

.diff-card {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(201,168,76,0.05);
    background: rgba(14,14,18,0.5);
    transition: all 0.5s;
}
@media (min-width: 1024px) { .diff-card { padding: 2rem; } }
.diff-card:hover { border-color: rgba(201,168,76,0.2); }

.diff-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.diff-line {
    height: 1px;
    flex: 1;
    background: rgba(201,168,76,0.1);
    transition: background 0.5s;
}
.diff-card:hover .diff-line { background: rgba(201,168,76,0.3); }

.diff-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: 0.75rem;
}

.diff-desc {
    color: rgba(250,248,245,0.4);
    font-size: 0.875rem;
    line-height: 1.7;
}

.diff-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #C9A84C, transparent);
    transform: scaleX(0);
    transition: transform 0.5s;
}
.diff-card:hover .diff-accent { transform: scaleX(1); }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.portfolio-card {
    position: relative;
    overflow: hidden;
    background: #161618;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}
.portfolio-card:hover .portfolio-image img { transform: scale(1.1); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #161618, transparent, transparent);
}
.portfolio-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(201,168,76,0);
    transition: background 0.5s;
}
.portfolio-card:hover .portfolio-hover-overlay { background: rgba(201,168,76,0.05); }

.portfolio-content { padding: 1.5rem; }
@media (min-width: 1024px) { .portfolio-content { padding: 2rem; } }

.portfolio-category {
    color: #C9A84C;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FAF8F5;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
.portfolio-desc {
    color: rgba(250,248,245,0.4);
    font-size: 0.875rem;
    line-height: 1.7;
}

.portfolio-cta { margin-top: 3rem; }

.gold-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #C9A84C;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}
.gold-link:hover { color: #E8D5A3; }
.gold-link:hover svg { transform: translateX(4px); }
.gold-link svg { transition: transform 0.3s; }

/* ===== TESTIMONIALS ===== */
.testimonials-header { margin-bottom: 4rem; }

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.testimonial-card {
    position: relative;
    background: #161618;
    padding: 2rem;
}
@media (min-width: 1024px) { .testimonial-card { padding: 2.5rem; } }

.quote-icon {
    width: 32px;
    height: 32px;
    color: #C9A84C;
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}
.star {
    width: 16px;
    height: 16px;
    color: #C9A84C;
}

.testimonial-text {
    color: rgba(250,248,245,0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(201,168,76,0.1);
    padding-top: 1.5rem;
}
.author-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #FAF8F5;
}
.author-role {
    color: #C9A84C;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section { position: relative; }

.cta-content {
    position: relative;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-crown {
    width: 48px;
    height: 48px;
    color: #C9A84C;
    margin: 0 auto 2rem;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.cta-desc {
    color: rgba(250,248,245,0.5);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
    background: #0B0B0F;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(201,168,76,0.1);
    margin-bottom: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
@media (min-width: 1024px) {
    .footer-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.footer-brand { text-align: center; }
@media (min-width: 1024px) { .footer-brand { text-align: left; } }

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}
@media (min-width: 1024px) { .footer-logo { justify-content: flex-start; } }
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-logo span { font-size: 1.5rem; font-weight: 700; }

.footer-desc {
    color: rgba(250,248,245,0.4);
    font-size: 0.875rem;
    max-width: 20rem;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.footer-nav a {
    font-size: 0.875rem;
    color: rgba(250,248,245,0.5);
    transition: color 0.3s;
    letter-spacing: 0.05em;
}
.footer-nav a:hover { color: #C9A84C; }

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,168,76,0.2);
    color: rgba(250,248,245,0.6);
    transition: all 0.3s;
}
.social-box:hover {
    color: #C9A84C;
    border-color: rgba(201,168,76,0.5);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201,168,76,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

.footer-bottom p {
    color: rgba(250,248,245,0.3);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.footer-tagline {
    color: rgba(250,248,245,0.2) !important;
    font-style: italic;
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: all 0.5s;
    opacity: 0;
    transform: translateY(32px);
}
.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0);
    animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37,211,102,0.4);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #C9A84C;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
}
.custom-cursor.hovering {
    transform: scale(2);
    background: rgba(201,168,76,0.15);
}

/* ===== KEYFRAMES ===== */
@keyframes particle-drift {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px) scale(0.5); opacity: 0; }
}

@keyframes gold-line-extend {
    0% { width: 0; }
    100% { width: 48px; }
}

@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

@keyframes notebook-glow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes crown-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(2deg); }
    75% { transform: translateY(4px) rotate(-2deg); }
}

.crown-float { animation: crown-bob 3s ease-in-out infinite; }

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; height: 32px; }
    50% { opacity: 0.8; height: 48px; }
}

@keyframes border-breathe {
    0%, 100% { border-color: rgba(201,168,76,0.08); }
    50% { border-color: rgba(201,168,76,0.2); }
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .reveal-rotate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .particle-float, .crown-float, .scroll-indicator-line, .about-border-animate, .notebook-scanline {
        animation: none !important;
    }
}

/* Copy comercial: leitura confortável e links sempre acessíveis no toque. */
.card-link:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .about-link:focus-visible, .gold-link:focus-visible { outline: 2px solid #E8D5A3; outline-offset: 4px; }
@media (max-width: 639px) { .hero-stats { gap: 1.25rem; margin-top: 3rem; } .stat-number { font-size: 1.45rem; } .stat-label { font-size: 0.75rem; } .card-link { font-size: 0.75rem; } }


/* ===== PREMIUM ACESSIVEL / PERFORMANCE ===== */
.hero-bg img { opacity: 0.24; }
.hero-subtitle { color: rgba(250,248,245,0.72); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 1.5rem; color: rgba(250,248,245,0.52); font-size: 0.82rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #C9A84C; box-shadow: 0 0 10px rgba(201,168,76,0.55); }
.testimonials-grid .stars { display: none; }
.testimonial-text { font-style: normal; color: rgba(250,248,245,0.72); }
@media (min-width: 640px) { .hero-proof { margin-top: 1.75rem; } }
@media (max-width: 1023px) { .logo img { width: 56px; height: 56px; } }
@media (min-width: 1024px) { .logo img { width: 64px; height: 64px; } }
@media (prefers-reduced-motion: reduce) { .notebook-3d, .custom-cursor { transition: none !important; } }
