/*
Theme Name: Le Pattini Arquitetura
Theme URI: https://pattiniarq.com
Author: Le Pattini Arquitetura
Author URI: https://pattiniarq.com
Description: Tema profissional para Le Pattini Arquitetura - Landing Page de alto padrão
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lepattini
*/

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

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

:root {
  --cream: #F5F0E8;
  --warm: #FAF8F4;
  --gold: #C9A84C;
  --gold-l: #E8D5A3;
  --dark: #1A1612;
  --char: #2A2520;
  --mid: #6B6059;
  --light: #9E9087;
  --border: rgba(201,168,76,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm); color: var(--char); overflow-x: hidden; }

/* NAV */
#site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 60px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,248,244,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: padding .3s; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark { width: 34px; height: 34px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 13px; font-weight: 500; color: var(--gold); letter-spacing: 1px; }
.nav-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 500; color: var(--char); letter-spacing: 2px; text-transform: uppercase; display: block; }
.nav-logo-sub { font-size: 9px; font-weight: 300; color: var(--light); letter-spacing: 3px; text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: #fff !important; padding: 10px 26px !important; transition: background .2s, transform .2s !important; }
.nav-cta:hover { background: var(--char) !important; transform: translateY(-1px); }

/* HERO */
#hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 80px; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px 80px 80px; position: relative; }
.hero-left::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); opacity: .35; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; opacity: 0; animation: fadeUp .8s .2s forwards; }
.hero-tag span { font-size: 10px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.hero-tag::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero-left h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 4.2vw, 64px); font-weight: 300; line-height: 1.12; color: var(--dark); margin-bottom: 28px; opacity: 0; animation: fadeUp .8s .4s forwards; }
.hero-left h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--mid); max-width: 400px; margin-bottom: 44px; opacity: 0; animation: fadeUp .8s .6s forwards; }
.hero-btns { display: flex; align-items: center; gap: 24px; opacity: 0; animation: fadeUp .8s .8s forwards; }
.btn-main { display: inline-flex; align-items: center; gap: 10px; background: var(--char); color: #fff; text-decoration: none; padding: 15px 36px; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: all .25s; position: relative; overflow: hidden; }
.btn-main::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); transition: transform .3s; }
.btn-main:hover::before { transform: translateX(0); }
.btn-main span { position: relative; z-index: 1; }
.btn-ghost { font-size: 11px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--border); opacity: 0; animation: fadeUp .8s 1s forwards; }
.stat-n { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; color: var(--gold); line-height: 1; }
.stat-l { font-size: 9px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--light); }
.hero-right { position: relative; overflow: hidden; }
.hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 36px; background: linear-gradient(to top, rgba(26,22,18,.85), transparent); }
.hero-badge p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.7); letter-spacing: .5px; }

/* TICKER */
.ticker { background: var(--char); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; animation: ticker 28s linear infinite; }
.ticker-item { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); padding: 0 32px; }
.ticker-item::after { content: '✦'; margin-left: 32px; opacity: .4; }

/* SECTIONS */
.section { padding: 110px 80px; }
.section-dark { background: var(--char); }
.section-cream { background: var(--cream); }
.inner { max-width: 1100px; margin: 0 auto; }
.sec-label { font-size: 10px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sec-label::after { content: ''; flex: 1; height: 1px; background: var(--gold); opacity: .25; }
.section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 3.2vw, 52px); font-weight: 300; line-height: 1.15; color: var(--dark); }
.section h2 em { font-style: italic; color: var(--gold); }
h2.light { color: #fff; }
h2.light em { color: var(--gold-l); }

/* DOR */
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.sticky-title { position: sticky; top: 120px; }
.pain-list { display: flex; flex-direction: column; }
.pain-item { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; gap: 20px; transition: transform .2s; }
.pain-item:hover { transform: translateX(8px); }
.pain-n { font-family: 'Cormorant Garamond', serif; font-size: 12px; color: var(--gold); opacity: .55; min-width: 22px; padding-top: 4px; }
.pain-item h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; color: #fff; margin-bottom: 8px; }
.pain-item p { font-size: 13px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,.42); }

/* PROCESSO */
.sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; gap: 40px; }
.sec-desc { font-size: 14px; font-weight: 300; line-height: 1.85; color: var(--mid); max-width: 300px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 0; }
.step { background: var(--cream); padding: 44px 28px; transition: background .3s; }
.step:hover { background: var(--char); }
.step:hover .step-n, .step:hover .step-t, .step:hover .step-d { color: #fff; }
.step:hover .step-n { color: var(--gold); }
.step-n { font-family: 'Cormorant Garamond', serif; font-size: 58px; font-weight: 300; color: var(--gold-l); line-height: 1; margin-bottom: 20px; transition: color .3s; }
.step-t { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: var(--dark); margin-bottom: 10px; transition: color .3s; }
.step-d { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--mid); transition: color .3s; }

/* PORTFÓLIO */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 56px; }
.port-card { position: relative; overflow: hidden; background: var(--char); aspect-ratio: 4/5; cursor: pointer; }
.port-card:first-child { grid-row: span 2; aspect-ratio: auto; }
.port-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.port-card:hover img { transform: scale(1.05); }
.port-over { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,22,18,.88) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; opacity: 0; transition: opacity .3s; }
.port-card:first-child .port-over { opacity: 1; }
.port-card:hover .port-over { opacity: 1; }
.port-tag { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.port-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.port-meta { font-size: 11px; color: rgba(255,255,255,.45); }

/* VALOR */
.val-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.sec-label.centered { justify-content: center; }
.sec-label.centered::before, .sec-label.centered::after { content: ''; width: 40px; height: 1px; background: var(--gold); opacity: .3; }
.val-text { font-size: 17px; font-weight: 300; line-height: 1.95; color: var(--mid); margin-bottom: 60px; }
.val-text strong { color: var(--char); font-weight: 500; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; text-align: left; margin-bottom: 56px; }
.cmp { background: var(--cream); padding: 36px; border: 1px solid var(--border); }
.cmp.hl { background: var(--char); border-color: var(--gold); }
.cmp-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px; color: var(--light); }
.cmp.hl .cmp-label { color: var(--gold); }
.cmp-items { display: flex; flex-direction: column; gap: 11px; }
.cmp-it { font-size: 13px; font-weight: 300; display: flex; align-items: flex-start; gap: 10px; color: var(--mid); }
.cmp.hl .cmp-it { color: rgba(255,255,255,.78); }
.cmp-it::before { content: '×'; color: #C9625A; font-size: 14px; min-width: 14px; }
.cmp.hl .cmp-it::before { content: '✓'; color: var(--gold); }
.vs { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: var(--gold); text-align: center; }

/* SOBRE */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.about-img-wrap::after { content: ''; position: absolute; inset: 16px; border: 1px solid var(--gold); opacity: .25; pointer-events: none; }
.about-tag { position: absolute; bottom: -18px; right: -18px; background: var(--gold); padding: 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.about-tag span:first-child { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; color: #fff; line-height: 1; }
.about-tag span:last-child { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.about-content .sec-label { margin-bottom: 28px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--mid); margin-bottom: 14px; }
.creds { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--border); }
.cred { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; color: var(--mid); }
.cred::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; min-width: 6px; margin-top: 5px; }

/* CTA */
.cta-sec { padding: 110px 80px; background: var(--char); text-align: center; position: relative; overflow: hidden; }
.cta-sec::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,.05) 0%, transparent 70%); }
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; }
.cta-inner .sec-label { justify-content: center; }
.cta-inner .sec-label::before, .cta-inner .sec-label::after { content: ''; width: 36px; height: 1px; background: var(--gold); opacity: .35; }
.cta-inner h2 { color: #fff; margin-bottom: 20px; }
.cta-inner h2 em { color: var(--gold-l); }
.cta-txt { font-size: 15px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.45); margin-bottom: 44px; }
.cta-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: #fff; text-decoration: none; padding: 18px 52px; font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; transition: all .25s; position: relative; overflow: hidden; }
.cta-btn::before { content: ''; position: absolute; inset: 0; background: #fff; transform: translateY(100%); transition: transform .3s; }
.cta-btn:hover::before { transform: translateY(0); }
.cta-btn span { position: relative; z-index: 1; transition: color .3s; }
.cta-btn:hover span { color: var(--char); }
.cta-note { margin-top: 20px; font-size: 11px; font-weight: 300; color: rgba(255,255,255,.2); letter-spacing: .5px; }

/* FOOTER */
#site-footer { padding: 44px 80px; background: var(--dark); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(201,168,76,.08); }
.foot-links { display: flex; gap: 28px; }
.foot-links a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.28); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: var(--gold); }
.foot-copy { font-size: 10px; color: rgba(255,255,255,.18); }

/* WA FLOAT */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); text-decoration: none; animation: pulse 2.5s infinite; }
.wa-float:hover { transform: scale(1.1); animation: none; box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.revealed { opacity: 1; transform: none; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 32px rgba(37,211,102,.7); } }

/* RESPONSIVE */
@media(max-width:1024px) {
  #site-nav { padding: 18px 32px; }
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 70px 32px 56px; }
  .hero-right { height: 380px; }
  .section { padding: 80px 32px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .sticky-title { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .port-card:first-child { grid-row: auto; aspect-ratio: 4/5; }
  .compare { grid-template-columns: 1fr; gap: 20px; }
  .vs { transform: rotate(90deg); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-sec { padding: 80px 32px; }
  #site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 36px 32px; }
  .nav-links { display: none; }
}
@media(max-width:640px) {
  #site-nav { padding: 14px 20px; }
  .hero-left { padding: 56px 20px 44px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 64px 20px; }
  .steps { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .sec-hdr { flex-direction: column; align-items: flex-start; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}
