/* ===========================================================
   Planalto Solar — Energia solar na Serra da Ibiapaba e região
   =========================================================== */

:root {
  /* Paleta */
  --green-900: #0e3526;
  --green-800: #14442f;
  --green-700: #1b5639;
  --green-600: #237049;
  --gold: #f4c64a;
  --gold-deep: #e7b431;
  --gold-soft: #f8dd87;
  --cream: #f7f4ec;
  --cream-2: #efe9da;
  --paper: #fffdf8;
  --ink: #2c3845;
  --text: #20302a;
  --muted: #5e6f64;
  --line: #e3ddcd;

  /* Tipografia */
  --display: "Sora", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px -28px rgba(14, 53, 38, 0.35);
  --shadow-soft: 0 14px 40px -22px rgba(14, 53, 38, 0.28);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; font-weight: 700; color: var(--green-900); letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--max), 92%); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold-deep);
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }
.eyebrow.center { justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(231,180,49,.7); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--green-900); }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--green-900);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold-deep);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--display); font-weight: 600; color: var(--green-900); font-size: 0.95rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ===========================================================
   Hero
   =========================================================== */
.hero { padding: 30px 0 60px; }
.hero-card {
  position: relative;
  background: linear-gradient(150deg, var(--green-800) 0%, var(--green-900) 65%);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -120px; right: 38%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(244,198,74,.5), transparent 62%);
  filter: blur(10px);
}
.hero-copy { padding: 64px 56px; position: relative; z-index: 2; }
.hero-copy h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.hero-copy h1 .sun { color: var(--gold); position: relative; white-space: nowrap; }
.hero-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  margin: 22px 0 30px;
  max-width: 30ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green-900) 0%, transparent 32%);
}
.hero-badge {
  position: absolute;
  z-index: 3;
  bottom: 28px; right: 28px;
  background: var(--gold);
  color: var(--green-900);
  border-radius: 18px;
  padding: 16px 20px;
  font-family: var(--display);
  box-shadow: 0 16px 30px -14px rgba(0,0,0,.4);
}
.hero-badge strong { display: block; font-size: 1.7rem; line-height: 1; }
.hero-badge span { font-size: 0.78rem; font-weight: 600; }

/* faixa de selos */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.strip-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.strip-item .ic {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-800);
  color: var(--gold);
}
.strip-item h4 { font-size: 1rem; color: var(--green-900); }
.strip-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ===========================================================
   Seções genéricas
   =========================================================== */
section { padding: 84px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Split — poder do sol */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 480px; object-fit: cover; }
.split-media .float-card {
  position: absolute;
  left: -22px; bottom: 36px;
  background: var(--green-800);
  color: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.split-media .float-card strong { font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.split-media .float-card span { font-size: 0.85rem; color: rgba(255,255,255,.8); }
.split-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 16px 0 18px; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.benefit-list { list-style: none; display: grid; gap: 18px; margin-bottom: 30px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-list .check {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-900);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800;
  margin-top: 2px;
}
.benefit-list li b { display: block; font-family: var(--display); color: var(--green-900); font-size: 1.02rem; }
.benefit-list li span { color: var(--muted); font-size: 0.92rem; }

/* ===========================================================
   Banner verde — salve o planeta
   =========================================================== */
.eco-banner {
  background: linear-gradient(120deg, var(--green-700), var(--green-900));
  border-radius: var(--radius);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.eco-banner::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(244,198,74,.35), transparent 65%);
}
.eco-banner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 16ch; }
.eco-banner p { color: rgba(255,255,255,.8); margin-top: 12px; max-width: 40ch; }
.eco-banner .eco-cta { position: relative; z-index: 2; }

/* ===========================================================
   Cards de benefícios / serviços
   =========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ic-circle {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--cream-2);
  color: var(--green-700);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card:hover .ic-circle { background: var(--gold); color: var(--green-900); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 0.85rem; color: var(--green-700); }

/* ===========================================================
   Showcase com vídeo / imagem painéis
   =========================================================== */
.showcase { position: relative; }
.showcase-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow);
}
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(14,53,38,.55)); }
.play-btn {
  position: absolute;
  z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--gold);
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--green-900);
  box-shadow: 0 0 0 0 rgba(244,198,74,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,198,74,.55); }
  70% { box-shadow: 0 0 0 26px rgba(244,198,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,198,74,0); }
}
.showcase-caption {
  position: absolute; z-index: 3;
  left: 36px; bottom: 32px;
  color: #fff;
}
.showcase-caption h3 { color: #fff; font-size: 1.6rem; max-width: 18ch; }

/* ===========================================================
   Equipe / energia verde
   =========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.team-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.team-card img { width: 100%; height: 300px; object-fit: cover; transition: transform .5s ease; }
.team-card:hover img { transform: scale(1.06); }
.team-card .info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(14,53,38,.92));
  color: #fff;
}
.team-card .info strong { font-family: var(--display); display: block; }
.team-card .info span { font-size: 0.82rem; color: var(--gold-soft); }

/* ===========================================================
   Stats — fundo verde
   =========================================================== */
.stats {
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  color: #fff;
}
.stats .section-head h2 { color: #fff; }
.stats .section-head p { color: rgba(255,255,255,.78); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.stat {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 32px 26px;
  background: rgba(255,255,255,.03);
}
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat .lbl { display: block; margin-top: 10px; color: rgba(255,255,255,.82); font-size: 0.95rem; }

/* ===========================================================
   Contato
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.contact-item .ic {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--green-800); color: var(--gold);
  display: grid; place-items: center;
}
.contact-item b { font-family: var(--display); display: block; color: var(--green-900); }
.contact-item span { color: var(--muted); font-size: 0.92rem; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--green-900); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ===========================================================
   CTA final
   =========================================================== */
.final-cta { padding-bottom: 0; }
.final-card {
  background: linear-gradient(120deg, var(--green-700), var(--green-900));
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.final-card::before, .final-card::after {
  content: ""; position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,198,74,.3), transparent 65%);
}
.final-card::before { top: -100px; left: -60px; }
.final-card::after { bottom: -120px; right: -40px; }
.final-card .inner { position: relative; z-index: 2; }
.final-card h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); max-width: 18ch; margin: 16px auto 18px; }
.final-card p { color: rgba(255,255,255,.82); max-width: 50ch; margin: 0 auto 30px; }
.final-card .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding: 70px 0 30px; margin-top: 84px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--green-900); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.85rem; flex-wrap: wrap; gap: 10px;
}

/* ===========================================================
   Reveal animação
   =========================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Responsivo
   =========================================================== */
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-media { height: 280px; position: relative; }
  .hero-media::after { background: linear-gradient(0deg, var(--green-900), transparent 60%); }
  .hero-copy { padding: 44px 32px; }
  .hero-strip { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media img { height: 360px; }
  .cards, .team-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .cards, .team-grid, .stats-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 24px; }
  .eco-banner, .final-card, .contact-form { padding: 36px 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
