/* MENDES SOLAR - Pages projets */
:root{
  --orange:#fa941b;--orange-l:#ffb24d;--orange-d:#d77606;
  --blue:#07327d;--blue-l:#1a4ea8;--blue-d:#041e4d;--blue-night:#020a1f;
  --white:#fff;--cream:#faf6ef;--off:#f5f2ec;
  --gray:#6b7589;--gray-l:#e8ebf1;
  --ff-d:'Fraunces',serif;--ff-b:'Manrope',sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--ff-b);font-weight:400;color:var(--blue);background:var(--white);line-height:1.55;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
::selection{background:var(--orange);color:var(--white)}

h1,h2,h3,h4{font-family:var(--ff-d);font-weight:400;letter-spacing:-.02em;line-height:1.05;color:var(--blue)}
h1{font-size:clamp(2.4rem,6vw,5rem)}
h2{font-size:clamp(1.8rem,3.6vw,2.8rem)}
h3{font-size:clamp(1.2rem,2vw,1.6rem)}
p{font-size:1.0625rem;line-height:1.75;color:var(--gray)}
.lead{font-size:clamp(1.1rem,1.4vw,1.3rem);line-height:1.55;color:var(--gray);font-weight:300}
em{font-style:italic;font-family:var(--ff-d);color:var(--orange);font-weight:400}
.container{width:100%;max-width:1320px;margin:0 auto;padding:0 2rem}
.eyebrow{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.22em;color:var(--orange);display:inline-flex;align-items:center;gap:.7rem;margin-bottom:1.4rem}
.eyebrow::before{content:'';width:32px;height:1px;background:var(--orange)}
.eyebrow.light{color:var(--orange-l)}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem 0;background:rgba(255,255,255,.94);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid rgba(7,50,125,.08)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:2rem;max-width:1560px;margin:0 auto;padding:0 2rem}
.nav-logo img{height:40px;width:auto;transition:transform .4s var(--ease)}
.nav-logo:hover img{transform:scale(1.05) rotate(-3deg)}
.nav-back{display:inline-flex;align-items:center;gap:.6rem;font-size:.9rem;font-weight:500;color:var(--blue);transition:color .3s ease}
.nav-back:hover{color:var(--orange)}
.nav-cta{background:var(--orange);color:var(--white);padding:.7rem 1.3rem;border-radius:100px;font-weight:600;font-size:.85rem;transition:all .3s var(--ease);box-shadow:0 6px 20px rgba(250,148,27,.3)}
.nav-cta:hover{background:var(--blue);transform:translateY(-2px)}
@media(max-width:760px){.nav-back{display:none}}

/* HERO */
.proj-hero{position:relative;min-height:88vh;overflow:hidden;display:flex;align-items:flex-end;padding:9rem 0 4rem;color:var(--white)}
.proj-hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.proj-hero-bg img,.proj-hero-bg video{width:100%;height:100%;object-fit:cover;animation:zoom 14s var(--ease) forwards}
@keyframes zoom{from{transform:scale(1.15)}to{transform:scale(1.02)}}
.proj-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,10,31,.4) 0%,rgba(2,10,31,.55) 50%,rgba(2,10,31,.95) 100%);z-index:1}
.proj-hero-in{position:relative;z-index:2;width:100%;max-width:1560px;margin:0 auto;padding:0 2rem}
.proj-breadcrumb{display:flex;align-items:center;gap:.6rem;font-size:.78rem;color:rgba(255,255,255,.7);margin-bottom:1.6rem;letter-spacing:.05em;flex-wrap:wrap}
.proj-breadcrumb a:hover{color:var(--orange)}
.proj-breadcrumb .sep{color:rgba(255,255,255,.4)}
.proj-hero h1{color:var(--white);font-weight:300;max-width:900px;margin-bottom:1.2rem}
.proj-hero h1 em{color:var(--orange)}
.proj-hero .loc{font-family:var(--ff-d);font-size:1.4rem;font-style:italic;color:rgba(255,255,255,.85);font-weight:400}
.proj-hero .tags{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:2rem}
.proj-hero .tags span{padding:.5rem 1rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:100px;font-size:.78rem;font-weight:500;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}

/* META BAR */
.meta-bar{background:var(--blue-night);color:var(--white);padding:0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.meta-bar-in{display:grid;grid-template-columns:repeat(5,1fr);max-width:1560px;margin:0 auto}
@media(max-width:880px){.meta-bar-in{grid-template-columns:repeat(2,1fr)}}
.meta-it{padding:2rem 1.6rem;border-right:1px solid rgba(255,255,255,.08);position:relative}
.meta-it:last-child{border-right:none}
@media(max-width:880px){.meta-it{border-bottom:1px solid rgba(255,255,255,.08)}.meta-it:nth-child(2n){border-right:none}}
.meta-it .lbl{font-size:.7rem;color:rgba(255,255,255,.55);letter-spacing:.18em;text-transform:uppercase;font-weight:600;margin-bottom:.5rem}
.meta-it .val{font-family:var(--ff-d);font-size:1.4rem;color:var(--white);font-weight:500;line-height:1.1}
.meta-it .val em{color:var(--orange);font-style:italic}

/* CONTENT */
.proj-body{padding:6rem 0}
.proj-grid{display:grid;grid-template-columns:1fr .4fr;gap:5rem;align-items:start}
@media(max-width:980px){.proj-grid{grid-template-columns:1fr;gap:3rem}}
.proj-content > * + *{margin-top:2rem}
.proj-content h2{margin-top:3rem;margin-bottom:1rem}
.proj-content h2:first-child{margin-top:0}
.proj-content p{margin-bottom:1rem}
.proj-content .pull{font-family:var(--ff-d);font-size:1.6rem;font-weight:400;line-height:1.3;color:var(--blue);padding:2rem 0;border-top:1px solid var(--gray-l);border-bottom:1px solid var(--gray-l);margin:2.5rem 0}
.proj-content .pull em{color:var(--orange)}

.proj-side{position:sticky;top:120px;background:var(--cream);border-radius:20px;padding:2rem;border:1px solid var(--gray-l)}
.proj-side h4{font-size:1.1rem;margin-bottom:1.4rem;color:var(--blue)}
.proj-side ul{list-style:none;display:flex;flex-direction:column;gap:0;margin-bottom:1.6rem}
.proj-side ul li{display:flex;align-items:flex-start;gap:.7rem;font-size:.92rem;color:var(--gray);padding:.8rem 0;border-bottom:1px solid var(--gray-l)}
.proj-side ul li:last-child{border:none}
.proj-side ul li .ck{width:20px;height:20px;border-radius:50%;background:var(--orange);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;margin-top:1px}
.proj-side .btn-side{display:flex;align-items:center;justify-content:center;gap:.6rem;background:var(--orange);color:var(--white);padding:.95rem 1.4rem;border-radius:100px;font-weight:600;font-size:.9rem;width:100%;transition:all .3s var(--ease);box-shadow:0 8px 24px rgba(250,148,27,.32)}
.proj-side .btn-side:hover{background:var(--blue);transform:translateY(-2px)}

/* GALLERY */
.proj-gallery{background:var(--cream);padding:6rem 0}
.proj-gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;grid-auto-rows:240px}
@media(max-width:780px){.proj-gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:240px}}
.gal{position:relative;border-radius:14px;overflow:hidden;background:var(--blue-d)}
.gal img,.gal video{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.gal:hover img,.gal:hover video{transform:scale(1.04)}
.gal.span-3{grid-column:span 3;grid-row:span 2}
.gal.span-2{grid-column:span 2}
.gal.span-4{grid-column:span 4}
.gal.span-6{grid-column:span 6}
@media(max-width:780px){.gal.span-3,.gal.span-2,.gal.span-4,.gal.span-6{grid-column:span 2;grid-row:span 1}.gal.span-3{grid-row:span 2}}

/* CTA */
.proj-cta{background:linear-gradient(135deg,var(--blue) 0%,var(--blue-d) 100%);color:var(--white);padding:6rem 0;text-align:center;position:relative;overflow:hidden}
.proj-cta::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(250,148,27,.18),transparent 60%)}
.proj-cta .container{position:relative;z-index:2}
.proj-cta h2{color:var(--white);font-weight:300;margin-bottom:1rem;max-width:680px;margin-left:auto;margin-right:auto}
.proj-cta h2 em{color:var(--orange)}
.proj-cta p{color:rgba(255,255,255,.75);max-width:520px;margin:0 auto 2rem}
.btn-w{display:inline-flex;align-items:center;gap:.7rem;background:var(--orange);color:var(--white);padding:1rem 1.7rem;border-radius:100px;font-weight:600;font-size:.95rem;transition:all .3s var(--ease);box-shadow:0 10px 30px rgba(250,148,27,.3)}
.btn-w:hover{background:#fff;color:var(--blue);transform:translateY(-2px)}

/* RELATED */
.related{background:var(--white);padding:6rem 0}
.related-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap;margin-bottom:3rem}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media(max-width:880px){.related-grid{grid-template-columns:1fr}}
.related-card{position:relative;border-radius:18px;overflow:hidden;height:340px;display:block}
.related-card img,.related-card video{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.related-card:hover img,.related-card:hover video{transform:scale(1.06)}
.related-card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(2,10,31,.85) 100%)}
.related-info{position:absolute;bottom:0;left:0;right:0;padding:1.4rem;color:var(--white);z-index:2}
.related-info .cat{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--orange);font-weight:600;margin-bottom:.4rem}
.related-info h3{color:var(--white);font-size:1.15rem;font-weight:500}

/* FOOTER */
.footer{background:var(--blue-night);color:var(--white);padding:4rem 0 2rem;border-top:1px solid rgba(255,255,255,.08)}
.foot-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:2rem;flex-wrap:wrap;gap:1.4rem}
.foot-logo{height:40px;filter:brightness(0) invert(1)}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.82rem;color:rgba(255,255,255,.4)}
.foot-bottom a:hover{color:var(--orange)}
.foot-bottom-links{display:flex;gap:1.5rem}
