/* ============================================================
   Lucas Andrade — Fotografia
   ============================================================ */

:root {
    --primary: #c9a961;
    --primary-hover: #b8964a;
    --primary-soft: rgba(201, 169, 97, 0.1);
    --whatsapp: #25D366;

    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #161616;

    --text: #e5e5e5;
    --text-dim: #8a8a8a;
    --text-bright: #ffffff;

    --border: #222222;
    --border-strong: #333333;

    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --radius: 4px;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);

    --t: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; font-weight: 500; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all var(--t);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text strong {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}
.logo-text em {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 10px;
    color: var(--primary);
    letter-spacing: 4px;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 32px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nav a {
    color: var(--text-dim);
    position: relative;
    padding: 4px 0;
    font-weight: 400;
}
.nav a:hover { color: var(--primary); }
.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--t);
}
.nav a:hover::after { width: 100%; }

.btn-header {
    padding: 12px 24px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--t);
    font-weight: 400;
}
.btn-header:hover {
    background: var(--primary);
    color: var(--bg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 1px;
    background: #fff;
    transition: all var(--t);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 32px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 28px;
    font-weight: 400;
    position: relative;
    padding-left: 60px;
}
.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45px;
    height: 1px;
    background: var(--primary);
}
.hero-title {
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.05;
}
.hero-title em {
    font-style: italic;
    color: var(--primary);
}
.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
    font-weight: 300;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all var(--t);
    font-weight: 400;
}
.btn-hero:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
    gap: 20px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.hero-scroll span {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}
.section-header .eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 16px;
}
.section-header h2 em {
    font-style: italic;
    color: var(--primary);
}
.section-header p {
    color: var(--text-dim);
    font-size: 1rem;
    margin-top: 12px;
}

/* ---------- Portfólio ---------- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.filter {
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border-strong);
    transition: all var(--t);
    font-weight: 400;
}
.filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.filter.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    background: var(--bg-card);
    transition: all var(--t);
}
.portfolio-item.is-hidden { display: none; }
.portfolio-item.tall { grid-row: span 2; aspect-ratio: auto; }
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover img {
    transform: scale(1.06);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 28px;
    opacity: 0;
    transition: opacity var(--t);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}
.portfolio-overlay h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: #fff;
    font-weight: 400;
}

/* ---------- Sobre ---------- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
}
.sobre-image { position: relative; }
.sobre-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter var(--t);
}
.sobre-image:hover img { filter: grayscale(0%); }

.sobre-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 28px 32px;
    text-align: center;
}
.sobre-badge strong {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 6px;
}
.sobre-badge span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    display: block;
    color: var(--text-dim);
}

.sobre-text .eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 18px;
}
.sobre-text h2 {
    margin-bottom: 28px;
}
.sobre-text h2 em {
    font-style: italic;
    color: var(--primary);
}
.sobre-text p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
}
.sobre-text strong { color: var(--text); font-weight: 500; }

.sobre-stats {
    display: flex;
    gap: 50px;
    margin: 40px 0 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.sobre-stats > div strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.sobre-stats > div span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    border: 1px solid transparent;
    transition: all var(--t);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; }

/* ---------- Serviços ---------- */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
}
.servico {
    background: var(--bg-alt);
    padding: 50px 36px;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid transparent;
}
.servico:hover {
    background: var(--bg-card);
}
.servico:hover .servico-icon {
    color: var(--primary);
    transform: translateY(-4px);
}
.servico-icon {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
    transition: all var(--t);
}
.servico-icon svg { width: 100%; height: 100%; }
.servico h3 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 400;
}
.servico p {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.7;
    flex-grow: 1;
}
.servico-preco {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--primary);
    font-style: italic;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ---------- Depoimentos ---------- */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.depoimento {
    text-align: center;
    padding: 40px 24px;
}
.depoimento .stars {
    color: var(--primary);
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 24px;
}
.depoimento p {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}
.depoimento strong {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 400;
}

/* ---------- CTA Final ---------- */
.cta-final {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 120px 0;
}
.cta-inner {
    max-width: 720px;
    margin: 0 auto;
}
.cta-final .eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 20px;
}
.cta-final h2 {
    color: #fff;
    margin-bottom: 24px;
}
.cta-final h2 em {
    font-style: italic;
    color: var(--primary);
}
.cta-final p {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: #050505;
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}
.footer-brand p {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-dim);
    max-width: 320px;
    line-height: 1.7;
}
.footer h4 {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 400;
}
.footer ul { list-style: none; }
.footer li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-dim);
}
.footer a:hover { color: var(--primary); }
.logo-footer .logo-mark {
    border-color: var(--primary);
    color: var(--primary);
}
.logo-footer .logo-text strong { color: #fff; }
.footer-bottom {
    padding: 24px 0;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom a { color: var(--primary); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
    z-index: 2;
}
.lightbox-close:hover { color: var(--primary); transform: rotate(90deg); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
    z-index: 2;
}
.lightbox-nav:hover { color: var(--primary); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-content {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    text-align: center;
}
.lightbox-caption strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 4px;
}
.lightbox-caption span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: all var(--t);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* ---------- Demo banner ---------- */
.demo-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    color: #fff;
    padding: 12px 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 90;
}
.demo-banner a {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
}
.demo-banner a:hover { color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .btn-header { display: none; }

    .hero { min-height: 560px; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-item.tall { grid-row: span 1; aspect-ratio: 4 / 5; }

    .sobre-grid { grid-template-columns: 1fr; gap: 80px; }
    .sobre-badge { bottom: -20px; right: 20px; padding: 20px 22px; }
    .sobre-badge strong { font-size: 2.2rem; }

    .depoimentos-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 575px) {
    .container { padding: 0 20px; }
    .section { padding: 70px 0; }

    .hero-content { padding: 0 20px; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }

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

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .lightbox { padding: 20px; }
    .lightbox-nav { width: 44px; height: 44px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }

    .demo-banner { display: none; }
    .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}