/* ================================================================
   SANDRO MONTADOR DE MÓVEIS — Curitiba & Araucária
   style.css — Main Stylesheet
   ================================================================ */

/* ============ VARIABLES ============ */
:root {
    --amber: #D4A24C;
    --amber-light: #E4BC72;
    --amber-dark: #B8862E;
    --amber-glow: rgba(212, 162, 76, 0.15);
    --amber-glow-strong: rgba(212, 162, 76, 0.3);

    --bg-primary: #0C0B09;
    --bg-secondary: #13120F;
    --bg-card: #1A1915;
    --bg-card-hover: #211F1A;
    --border-subtle: #2A2720;
    --border-hover: #3D3828;

    --text-primary: #F2EDE4;
    --text-secondary: #A69E8E;
    --text-muted: #756E60;

    --blue-accent: #4A9FE5;
    --blue-glow: rgba(74, 159, 229, 0.2);

    --green-wa: #25D366;
    --green-wa-hover: #1EBD5A;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(212, 162, 76, 0.12);

    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.15;
}

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

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

::selection {
    background: var(--amber);
    color: var(--bg-primary);
}

/* ============ UTILITY ============ */
.text-amber {
    color: var(--amber) !important;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.2rem;
}

.section-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--amber);
}

.section-heading {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.75;
}

.section-desc.center {
    margin-left: auto;
    margin-right: auto;
}

/* ============ GRAIN OVERLAY ============ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
}

/* ============ NAVBAR ============ */
.navbar {
    background: rgba(12, 11, 9, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
    transition: all var(--transition-smooth);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(12, 11, 9, 0.96);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    letter-spacing: 0.5px;
}

.navbar-brand span {
    color: var(--amber);
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--amber);
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-nav-cta {
    background: var(--green-wa);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.4rem !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}

.btn-nav-cta:hover {
    background: var(--green-wa-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    color: #fff;
}

.navbar-toggler {
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4A24C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 80px;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(212, 162, 76, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 85% 30%, rgba(212, 162, 76, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(212, 162, 76, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-geometric {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(212, 162, 76, 0.06);
    border-radius: 50%;
    pointer-events: none;
    animation: heroRotate 60s linear infinite;
}

.hero-geometric::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    bottom: 15%;
    border: 1px solid rgba(212, 162, 76, 0.04);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 162, 76, 0.2);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 2rem;
}

.hero-badge i {
    font-size: 0.85rem;
    color: var(--blue-accent);
}

.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: italic;
    color: var(--amber);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-primary-amber {
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary-amber:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 162, 76, 0.35);
    color: var(--bg-primary);
}

.btn-ghost-amber {
    background: transparent;
    color: var(--amber);
    border: 1px solid rgba(212, 162, 76, 0.4);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-ghost-amber:hover {
    background: var(--amber-glow);
    border-color: var(--amber);
    color: var(--amber-light);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-metrics {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

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

.hero-metric-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero Images */
.hero-gallery {
    position: relative;
    z-index: 2;
}

.hero-img-main {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-subtle);
    object-fit: cover;
}

.hero-img-accent {
    position: absolute;
    width: 220px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--bg-primary);
    bottom: -20px;
    left: -30px;
    animation: accentFloat 5s ease-in-out infinite;
}

/* ============ SERVICES ============ */
.services {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--amber) 50%, transparent 95%);
    opacity: 0.25;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--amber-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
}

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

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--amber-glow);
    border: 1px solid rgba(212, 162, 76, 0.15);
    color: var(--amber);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--amber-glow-strong);
    transform: scale(1.08);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============ PORTFOLIO ============ */
.portfolio {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 10px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.span-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 11, 9, 0.9) 0%, rgba(12, 11, 9, 0.2) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

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

.portfolio-caption h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.portfolio-caption span {
    font-size: 0.78rem;
    color: var(--amber);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============ HIGHLIGHT CITIES ============ */
.city-highlight {
    color: var(--amber);
    font-weight: 600;
    position: relative;
}

.city-highlight::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), transparent);
    border-radius: 2px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    height: 100%;
    position: relative;
    transition: all var(--transition-smooth);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--amber);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-medium), var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--amber);
    font-size: 0.85rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 162, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.testimonial-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ============ WHY US ============ */
.why-us {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.why-card:hover {
    background: var(--bg-card);
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--amber-glow);
    border: 1px solid rgba(212, 162, 76, 0.15);
    color: var(--amber);
    font-size: 1.5rem;
    transition: all var(--transition-spring);
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--amber-glow-strong);
    box-shadow: var(--shadow-glow);
}

.why-card h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ============ AREAS ============ */
.areas {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.area-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.area-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.area-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-medium);
}

.area-card:hover::after {
    opacity: 1;
}

.area-card .bi-geo-alt-fill {
    font-size: 2.5rem;
    color: var(--amber);
    margin-bottom: 1rem;
    display: block;
}

.area-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.area-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============ CTA ============ */
.cta {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 30% 50%, rgba(212, 162, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 70% at 70% 50%, rgba(212, 162, 76, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid rgba(212, 162, 76, 0.2);
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.btn-whatsapp-lg {
    background: var(--green-wa);
    color: #fff;
    border: none;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-whatsapp-lg:hover {
    background: var(--green-wa-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-lg i {
    font-size: 1.3rem;
}

.cta-phone {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.cta-phone i {
    color: var(--amber);
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 0 1.5rem;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    display: block;
}

.footer-brand span {
    color: var(--amber);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    max-width: 320px;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.3rem;
}

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

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-row i {
    color: var(--amber);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 9000;
    transition: all var(--transition-fast);
    animation: waPulse 2.5s infinite;
}

.wa-float:hover {
    transform: scale(1.12);
    color: #fff;
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 9, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox.active {
    display: flex;
    animation: lbFadeIn 0.3s ease forwards;
}

.lightbox img {
    max-width: 90%;
    max-height: 88vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 2;
}

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

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }

/* ============ ANIMATIONS ============ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes accentFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes heroRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-anim-1 { animation: heroFadeUp 0.9s ease forwards; }
.hero-anim-2 { animation: heroFadeUp 0.9s ease 0.12s forwards; opacity: 0; }
.hero-anim-3 { animation: heroFadeUp 0.9s ease 0.24s forwards; opacity: 0; }
.hero-anim-4 { animation: heroFadeUp 0.9s ease 0.36s forwards; opacity: 0; }
.hero-anim-5 { animation: heroFadeUp 0.9s ease 0.48s forwards; opacity: 0; }
.hero-anim-gallery { animation: heroFadeRight 1s ease 0.3s forwards; opacity: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-gallery {
        margin-top: 3rem;
        text-align: center;
    }

    .hero-img-accent {
        display: none;
    }

    .hero-geometric {
        display: none;
    }

    .hero-metrics {
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .portfolio-item.span-2 {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-auto-rows: 200px;
    }

    .hero-metrics {
        gap: 1.5rem;
    }

    .hero-metric-value {
        font-size: 1.8rem;
    }

    section {
        padding: 5rem 0;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .btn-primary-amber,
    .btn-ghost-amber {
        width: 100%;
        justify-content: center;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.2rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .portfolio-item.span-2 {
        grid-column: span 1;
    }
}
