/* =========================================================
   RELUZO ENERGIA SOLAR — design system
   Cores da marca (extraídas do logo oficial):
   Amarelo #FECC00 | Azul #0B8FD1 | Cinza wordmark #828080
   ========================================================= */

:root{
  --yellow: #FECC00;
  --yellow-dark: #E0B400;
  --blue: #0B8FD1;
  --blue-dark: #086FA3;
  --gray-word: #828080;

  --dark: #15171B;
  --dark-2: #1E2128;
  --dark-3: #272B33;

  --text: #1C1E22;
  --text-muted: #5B6169;
  --text-on-dark: #F5F6F7;
  --text-on-dark-muted: #B7BCC4;

  --bg: #FFFFFF;
  --bg-alt: #F6F5F1;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(21,23,27,0.10);
  --shadow-sm: 0 4px 14px rgba(21,23,27,0.08);

  --container: 1180px;

  --ff-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1em; }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--dark{ background: var(--dark); color: var(--text-on-dark); }
.section--dark p, .section--dark .muted{ color: var(--text-on-dark-muted); }
.section--alt{ background: var(--bg-alt); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-heading);
  font-weight:600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--dark .eyebrow{ color: var(--yellow); }
.eyebrow::before{
  content:"";
  width: 28px; height: 3px;
  background: currentColor;
  display:inline-block;
  border-radius: 2px;
}

.lead{ font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }
.section--dark .lead{ color: var(--text-on-dark-muted); }
.muted{ color: var(--text-muted); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--ff-heading);
  font-weight:600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn--primary{ background: var(--yellow); color: var(--dark); }
.btn--primary:hover{ background: var(--yellow-dark); box-shadow: var(--shadow-sm); }
.btn--outline{ border-color: currentColor; color: inherit; background: transparent; }
.section--dark .btn--outline{ border-color: rgba(245,246,247,.4); }
.section--dark .btn--outline:hover{ border-color: var(--yellow); color: var(--yellow); }
.btn--outline:hover{ border-color: var(--blue); color: var(--blue); }
.btn--sm{ padding: 10px 18px; font-size: .85rem; }

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(21,23,27,.06);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.brand img{ height: 38px; width:auto; }
.main-nav{ display:flex; align-items:center; gap: 8px; }
.main-nav a{
  font-family: var(--ff-heading);
  font-weight:600;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.is-active{ background: var(--bg-alt); color: var(--blue-dark); }
.header-actions{ display:flex; align-items:center; gap:14px; }
.header-phone{
  display:flex; align-items:center; gap:8px;
  font-family: var(--ff-heading); font-weight:600; font-size:.92rem;
}
.header-phone svg{ width:18px; height:18px; color: var(--blue); }
.nav-toggle{ display:none; }

@media (max-width: 940px){
  .main-nav{
    position: fixed; inset: 84px 0 0 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch;
    padding: 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    border-top: 1px solid rgba(21,23,27,.08);
  }
  .main-nav.is-open{ opacity:1; transform: translateY(0); pointer-events:auto; }
  .main-nav a{ padding: 16px 10px; border-bottom: 1px solid rgba(21,23,27,.06); border-radius:0; }
  .header-phone span{ display:none; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px;
    width: 40px; height:36px; padding:8px;
    background:none; border:none; cursor:pointer;
  }
  .nav-toggle span{ display:block; height:2px; background: var(--text); border-radius:2px; }
}

/* ===================== HERO ===================== */
.hero{
  position:relative;
  color: var(--text-on-dark);
  background: var(--dark);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background-size: cover; background-position: center;
}
.hero__bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(15,16,19,.94) 20%, rgba(15,16,19,.72) 55%, rgba(15,16,19,.55) 100%);
}
.hero__content{ position:relative; padding: 120px 0 96px; max-width: 640px; }
.hero__content .lead{ color: var(--text-on-dark-muted); }
.hero__actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }

.hero-stats{
  position:relative;
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-top: 56px; max-width: 620px;
}
.hero-stats div{ border-left: 2px solid var(--yellow); padding-left: 14px; }
.hero-stats strong{ display:block; font-family: var(--ff-heading); font-size: 1.7rem; color: var(--yellow); }
.hero-stats span{ font-size: .82rem; color: var(--text-on-dark-muted); }

/* Smaller inner-page hero */
.page-hero{
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 72px 0 64px;
  position: relative;
  overflow:hidden;
}
.page-hero .lead{ color: var(--text-on-dark-muted); }

/* ===================== CARDS / GRIDS ===================== */
.grid{ display:grid; gap: 28px; }
.grid--2{ grid-template-columns: repeat(2, 1fr); }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid--2, .grid--3, .grid--4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(21,23,27,.06);
}
.card--dark{ background: var(--dark-2); border-color: rgba(255,255,255,.06); }
.card .icon{
  width: 52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: rgba(11,143,209,.1);
  color: var(--blue);
  margin-bottom: 18px;
}
.card .icon svg{ width:26px; height:26px; }

.icon-yellow{ background: rgba(254,204,0,.16); color: var(--yellow-dark); }

.feature-row{ display:flex; gap:18px; align-items:flex-start; margin-bottom: 26px; }
.feature-row .icon{ flex: none; }
.feature-row h4{ margin-bottom:.3em; }

/* Media + text split sections */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap: 32px; } }
.split img{ border-radius: var(--radius); box-shadow: var(--shadow); width:100%; height:100%; object-fit:cover; }
.split-media{ position:relative; }
.split-media__badge{
  position:absolute; bottom:-22px; left:-22px;
  background: var(--yellow); color: var(--dark);
  padding: 16px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--ff-heading); font-weight:700;
}
@media (max-width: 640px){ .split-media__badge{ left:12px; bottom:-16px; padding:12px 16px; } }

/* Values / checklist */
.check-list li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 10px 0;
}
.check-list svg{ flex:none; width:20px; height:20px; color: var(--blue); margin-top:2px; }

/* Numbered process */
.process{ counter-reset: step; display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 900px){ .process{ grid-template-columns: 1fr; } }
.process li{ counter-increment: step; position:relative; padding-top: 8px; }
.process li::before{
  content: counter(step);
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px;
  background: var(--yellow); color: var(--dark);
  font-family: var(--ff-heading); font-weight:700; font-size:1.1rem;
  margin-bottom: 16px;
}

/* Testimonial / quote */
.quote{
  border-left: 4px solid var(--yellow);
  padding-left: 24px;
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight:500;
}

/* CTA band */
.cta-band{
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff; border-radius: var(--radius);
  padding: 48px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-band h3{ margin-bottom:.25em; }
.cta-band p{ margin:0; color: rgba(255,255,255,.85); }

/* ===================== FOOTER ===================== */
.site-footer{ background: var(--dark); color: var(--text-on-dark-muted); padding: 64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid img{ height: 34px; margin-bottom: 16px; }
.footer-grid h4{ color: var(--text-on-dark); font-size: .85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom: 16px; }
.footer-grid li{ margin-bottom: 10px; font-size: .93rem; }
.footer-grid a:hover{ color: var(--yellow); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size: .82rem;
}
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.06);
}
.social-row a:hover{ background: var(--yellow); color: var(--dark); }
.social-row svg{ width:18px; height:18px; }

/* ===================== BLOG ===================== */
.post-card{ display:flex; flex-direction:column; height:100%; }
.post-card img{ border-radius: var(--radius); aspect-ratio: 16/10; object-fit:cover; margin-bottom: 18px; }
.post-card .tag{
  display:inline-block; font-family: var(--ff-heading); font-weight:600;
  font-size:.72rem; letter-spacing:.06em; text-transform:uppercase;
  color: var(--blue); background: rgba(11,143,209,.1);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; width:fit-content;
}
.post-card time{ font-size:.82rem; color: var(--text-muted); }
.post-card h3{ margin: 8px 0 10px; }
.post-card p{ color: var(--text-muted); font-size: .95rem; }

.post-body{ max-width: 760px; margin: 0 auto; }
.post-body h2{ margin-top: 1.6em; }
.post-body p, .post-body li{ font-size: 1.05rem; color: var(--text); }
.post-body img{ border-radius: var(--radius); margin: 28px 0; }
.post-hero-meta{ display:flex; gap:16px; align-items:center; color: var(--text-on-dark-muted); font-size:.9rem; }

/* ===================== FORMS ===================== */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:.85rem; font-weight:600; font-family: var(--ff-heading); }
.field input, .field select, .field textarea{
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(21,23,27,.14);
  background: #fff;
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--blue);
}
.field--full{ grid-column: 1 / -1; }

/* Contact info list */
.contact-info li{ display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-info .icon{ margin-bottom:0; }

/* Utility */
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 20px; }
.pill{
  font-family: var(--ff-heading); font-weight:600; font-size:.78rem;
  padding: 7px 14px; border-radius:999px; background: var(--bg-alt); color: var(--text-muted);
}
.breadcrumb{ font-size:.85rem; color: var(--text-on-dark-muted); }
.breadcrumb a:hover{ color: var(--yellow); }
