/*
Theme Name: EvoluTrend Energia
Theme URI: https://evolutrend.com.br
Author: EvoluTrend Soluções Energéticas Inteligentes
Author URI: https://evolutrend.com.br
Description: Tema institucional oficial da EvoluTrend, com página de orçamento integrada.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: evolutrend
*/

@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --ink: #0d2b1e;
  --green: #14532d;
  --lime: #7cff00;
  --cream: #f5f4ed;
  --muted: #68766f;
  --line: #d9dfda;
  --white: #fff;
  --font-poppins: "Poppins";
  --font-geist-mono: "Geist Mono";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-poppins), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
body.admin-bar .site-header { top: 32px; }

.site-header {
  height: 84px; padding: 0 clamp(24px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(9,36,29,.12); background: rgba(245,244,237,.9); backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 19px; letter-spacing: -.04em; }
.brand-copy small { font-size: 8.5px; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; color: var(--muted); }
.desktop-nav { display: flex; gap: 32px; font-size: 13px; font-weight: 600; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--green); }
.header-cta { display: flex; gap: 12px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.hero { min-height: 690px; padding: 90px clamp(24px, 7vw, 110px) 74px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; overflow: hidden; }
.hero-content { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .16em; font-family: var(--font-geist-mono), monospace; font-size: 10px; font-weight: 600; }
.eyebrow > span { width: 26px; height: 2px; background: var(--green); display: inline-block; }
.eyebrow.light { color: #b9cbc5; }
.eyebrow.light > span { background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-size: clamp(54px, 6.2vw, 96px); line-height: .91; letter-spacing: -.07em; font-weight: 570; margin: 0 0 32px; }
em { color: var(--green); font-style: normal; }
.hero-lead { max-width: 610px; font-size: 18px; line-height: 1.65; color: #52635c; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 20px; min-width: 210px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary span { color: var(--lime); font-size: 18px; }
.text-link { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: flex; gap: 12px; }

.project-visual { position: relative; min-height: 510px; overflow: hidden; background: var(--ink); box-shadow: 0 28px 70px rgba(13,43,30,.16); }
.project-visual > img { width: 100%; height: 510px; object-fit: cover; object-position: center; display: block; }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,24,16,.72) 100%); pointer-events: none; }
.project-badge { position: absolute; top: 28px; left: 28px; z-index: 2; background: rgba(13,43,30,.94); color: white; padding: 18px 20px; min-width: 190px; }
.project-badge span { display: block; color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font: 9px var(--font-geist-mono); margin-bottom: 8px; }
.project-badge strong { font-size: 17px; line-height: 1.2; }
.project-note { position: absolute; z-index: 2; bottom: 24px; left: 24px; right: 24px; color: white; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.38); padding-top: 14px; }
.project-note small { text-transform: uppercase; letter-spacing: .1em; font: 9px var(--font-geist-mono); }
.project-note span { color: var(--lime); }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 74px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 55px); padding: 18px 24px; color: #607169; text-transform: uppercase; font: 10px var(--font-geist-mono); letter-spacing: .13em; }
.principles i { width: 4px; height: 4px; background: var(--green); border-radius: 50%; }

.project-proof { padding: 90px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: center; background: white; }
.project-proof-copy { max-width: 470px; }
.project-proof-copy h2 { font-size: clamp(38px, 4vw, 62px); line-height: 1; letter-spacing: -.055em; font-weight: 560; margin: 0 0 25px; }
.project-proof-copy > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.75; }
.field-photo { margin: 0; position: relative; }
.field-photo img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; object-position: center 31%; display: block; }
.field-photo figcaption { background: var(--ink); color: white; padding: 14px 18px; display: flex; gap: 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.field-photo figcaption span { color: var(--lime); font-family: var(--font-geist-mono); }

.section { padding: 120px clamp(24px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1fr 1.4fr .9fr; align-items: end; gap: 55px; margin-bottom: 68px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .investor-main h2, .about-copy h2, .final-cta h2, .business-copy h2 { font-size: clamp(40px, 4.5vw, 70px); line-height: .98; letter-spacing: -.055em; font-weight: 560; margin: 0; }
.section-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.solution-card { min-height: 290px; padding: 24px 24px 28px; border-right: 1px solid var(--line); position: relative; transition: background .25s ease, transform .25s ease; }
.solution-card:last-child { border-right: none; }
.solution-card:hover { background: white; transform: translateY(-5px); }
.card-top { display: flex; justify-content: space-between; color: var(--green); font: 10px var(--font-geist-mono); }
.card-arrow { font-size: 18px; }
.solution-card h3 { font-size: 23px; line-height: 1.05; letter-spacing: -.035em; max-width: 210px; margin: 90px 0 16px; }
.solution-card p { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }

.business-section { background: var(--ink); color: white; padding: 110px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; }
.business-copy > p:not(.eyebrow) { max-width: 610px; margin: 30px 0 35px; color: #b9cbc5; line-height: 1.7; }
.business-copy h2 em { color: var(--lime); }
.button-light { background: var(--lime); color: var(--ink); }
.business-points { border-top: 1px solid #315148; }
.business-points > div { display: grid; grid-template-columns: 42px 150px 1fr; gap: 14px; border-bottom: 1px solid #315148; padding: 25px 0; align-items: start; }
.business-points span { color: var(--lime); font: 9px var(--font-geist-mono); }
.business-points strong { font-size: 14px; }
.business-points p { color: #94aaa3; font-size: 11px; line-height: 1.6; margin: 0; }

.investor-section { padding: 0 clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .45fr 1.15fr .8fr; gap: 6vw; min-height: 630px; align-items: center; background: linear-gradient(120deg, #eef2e5 0%, var(--cream) 48%, #f4f7ef 100%); }
.investor-label { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; letter-spacing: .16em; font: 10px var(--font-geist-mono); color: var(--muted); height: 250px; border-left: 1px solid var(--line); padding-left: 18px; }
.investor-main > p:not(.eyebrow) { color: var(--muted); max-width: 620px; line-height: 1.7; margin: 28px 0 32px; }
.investor-list { border-top: 1px solid var(--line); }
.investor-list p { display: flex; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0; font-size: 12px; font-weight: 650; }
.investor-list span { color: var(--green); font: 9px var(--font-geist-mono); }

.section-heading.compact { grid-template-columns: .6fr 1.4fr; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--cream); min-height: 235px; padding: 24px; }
.step > span { color: var(--green); font: 9px var(--font-geist-mono); }
.step h3 { font-size: 22px; letter-spacing: -.035em; margin: 80px 0 12px; }
.step p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }

.about-section { background: #e7eadf; padding: 110px clamp(24px, 9vw, 145px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; align-items: center; }
.about-photo { max-width: 420px; position: relative; box-shadow: 0 26px 60px rgba(13,43,30,.14); }
.about-photo > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 38%; display: block; }
.about-photo > div { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(13,43,30,.94); color: white; padding: 15px 17px; }
.about-photo span { display: block; color: var(--lime); text-transform: uppercase; letter-spacing: .12em; font: 8px var(--font-geist-mono); margin-bottom: 6px; }
.about-photo strong { font-size: 13px; }
.about-copy { max-width: 720px; }
.about-role { color: var(--green); text-transform: uppercase; font: 10px var(--font-geist-mono); letter-spacing: .1em; margin: 12px 0 38px; }
.about-copy blockquote { font-size: clamp(22px, 2.5vw, 35px); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 28px; }
.about-copy > p:last-child { color: var(--muted); line-height: 1.7; font-size: 14px; }

.final-cta { padding: 110px clamp(24px, 7vw, 110px); background: #071c17; color: white; }
.final-cta h2 em { color: var(--lime); }
.final-cta > p:not(.eyebrow) { color: #9bb0a9; max-width: 620px; line-height: 1.7; margin: 28px 0 45px; }
.cta-paths { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #29473f; border-bottom: 1px solid #29473f; }
.cta-paths a { padding: 28px 24px; border-right: 1px solid #29473f; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 650; transition: background .2s ease; }
.cta-paths a:last-child { border-right: none; }
.cta-paths a:hover { background: #0f3128; }
.cta-paths a > span:last-child { color: var(--lime); font-size: 20px; }
.whatsapp-direct { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: #c4d2cd; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.whatsapp-direct strong { color: white; }
.whatsapp-direct > span { color: var(--lime); font-size: 18px; }

.social-strip { padding: 70px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .5fr 1.5fr; gap: 4vw; align-items: end; border-bottom: 1px solid var(--line); background: white; }
.social-strip h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1; letter-spacing: -.05em; font-weight: 560; margin: 0; }
.social-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.social-links a { min-height: 124px; padding: 20px 14px; border-right: 1px solid var(--line); display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; transition: background .2s ease, color .2s ease; }
.social-links a:last-child { border-right: none; }
.social-links a:hover { background: #f3f7ed; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; transition: transform .2s ease; }
.social-icon svg { width: 18px; height: 18px; }
.social-links a:hover .social-icon { transform: translateY(-2px); }
.social-copy { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.social-copy small { color: var(--muted); font: 9px var(--font-geist-mono); text-transform: uppercase; letter-spacing: .11em; }
.social-copy strong { font-size: 12px; line-height: 1.25; white-space: nowrap; }
.social-links a > span:last-child { color: var(--green); font-size: 18px; }

footer { padding: 42px clamp(24px, 5vw, 78px); display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 30px; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
footer p { margin: 0; line-height: 1.6; }
footer p:last-child { text-align: right; }
footer a[href^="mailto:"] { color: var(--green); font-weight: 700; text-transform: none; }

.budget-page { min-height: 100vh; background: var(--cream); }
.budget-header { height: 94px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.budget-back { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.budget-hero { min-height: calc(100vh - 94px); display: grid; grid-template-columns: 1.02fr .98fr; }
.budget-copy { padding: clamp(64px, 8vw, 120px) clamp(24px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.budget-copy h1 { font-size: clamp(54px, 6.4vw, 96px); line-height: .91; letter-spacing: -.07em; font-weight: 570; margin: 0 0 30px; max-width: 850px; }
.budget-lead { max-width: 650px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.budget-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.budget-note { margin: 22px 0 0; max-width: 620px; color: #75827c; font-size: 11px; line-height: 1.6; }
.budget-visual { position: relative; min-height: 650px; overflow: hidden; background: var(--ink); }
.budget-visual > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.budget-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,27,19,.05), rgba(5,27,19,.74)); }
.budget-visual-card { position: absolute; z-index: 2; left: clamp(24px, 5vw, 70px); right: clamp(24px, 5vw, 70px); bottom: clamp(28px, 5vw, 70px); color: white; border-top: 1px solid rgba(255,255,255,.45); padding-top: 22px; }
.budget-visual-card > span { color: var(--lime); text-transform: uppercase; letter-spacing: .15em; font: 9px var(--font-geist-mono); }
.budget-visual-card strong { display: block; max-width: 480px; font-size: clamp(25px, 3vw, 42px); line-height: 1.08; letter-spacing: -.045em; margin-top: 10px; }
.budget-flow { padding: 95px clamp(24px, 7vw, 110px); background: white; }
.budget-flow-heading { max-width: 720px; margin-bottom: 52px; }
.budget-flow-heading h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: .97; letter-spacing: -.055em; font-weight: 560; margin: 0; }
.budget-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.budget-step { min-height: 230px; padding: 24px 30px 30px; border-right: 1px solid var(--line); }
.budget-step:last-child { border-right: 0; }
.budget-step > span { color: var(--green); font: 9px var(--font-geist-mono); }
.budget-step h3 { margin: 74px 0 12px; font-size: 22px; letter-spacing: -.035em; }
.budget-step p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; max-width: 350px; }
.budget-bottom { padding: 90px clamp(24px, 7vw, 110px); background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.budget-bottom h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1; letter-spacing: -.05em; font-weight: 560; margin: 0; max-width: 760px; }
.budget-bottom h2 em { color: var(--lime); }
.budget-bottom .button { background: var(--lime); color: var(--ink); flex: 0 0 auto; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-content { max-width: 850px; }
  .project-visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .project-proof { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr 1.6fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card { border-bottom: 1px solid var(--line); }
  .business-section { grid-template-columns: 1fr; }
  .investor-section { grid-template-columns: 80px 1fr; padding-top: 80px; padding-bottom: 80px; }
  .investor-list { grid-column: 2; }
  .social-strip { grid-template-columns: 1fr; align-items: start; }
  .social-links { grid-template-columns: repeat(2, 1fr); }
  .social-links a:nth-child(2) { border-right: none; }
  .social-links a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .budget-hero { grid-template-columns: 1fr; }
  .budget-visual { min-height: 560px; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-copy small { display: none; }
  .header-cta { font-size: 0; border: 0; padding: 0; }
  .header-cta span { font-size: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
  .hero { min-height: auto; padding-top: 64px; gap: 36px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .project-visual, .project-visual > img { min-height: 360px; height: 360px; }
  .project-note { left: 16px; right: 16px; }
  .project-badge { top: 16px; left: 16px; }
  .principles { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 22px; margin-bottom: 45px; }
  .section-heading > p:last-child { grid-column: 1; }
  .solution-grid, .steps { grid-template-columns: 1fr; }
  .solution-card { min-height: 220px; border-right: none; }
  .solution-card h3 { margin-top: 55px; }
  .business-section { padding-top: 80px; padding-bottom: 80px; }
  .business-points > div { grid-template-columns: 32px 1fr; }
  .business-points p { grid-column: 2; }
  .investor-section { grid-template-columns: 1fr; gap: 35px; padding-top: 75px; padding-bottom: 75px; }
  .investor-label { writing-mode: horizontal-tb; transform: none; height: auto; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
  .investor-list { grid-column: 1; }
  .about-section { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }
  .about-photo { width: min(82vw, 420px); }
  .cta-paths { grid-template-columns: 1fr; }
  .cta-paths a { border-right: 0; border-bottom: 1px solid #29473f; }
  .social-strip { grid-template-columns: 1fr; align-items: start; }
  .social-links { grid-template-columns: 1fr; }
  .social-links a { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
  .budget-header { height: 78px; }
  .budget-header .brand-logo { width: 50px; height: 50px; }
  .budget-header .brand-copy { display: none; }
  .budget-back { font-size: 9px; }
  .budget-hero { min-height: 0; }
  .budget-copy { padding-top: 70px; padding-bottom: 70px; }
  .budget-copy h1 { font-size: clamp(49px, 15.5vw, 70px); }
  .budget-actions { align-items: flex-start; flex-direction: column; }
  .budget-visual { min-height: 430px; }
  .budget-flow { padding-top: 75px; padding-bottom: 75px; }
  .budget-steps { grid-template-columns: 1fr; }
  .budget-step { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .budget-step:last-child { border-bottom: 0; }
  .budget-step h3 { margin-top: 48px; }
  .budget-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
