/*
Theme Name: DDS ECO — Limpeza Solar
Theme URI: https://servicos-de-limpeza-de-placas-fotovoltaicas.ddsservicos.com.br/
Author: DDS Serviços ECO
Author URI: https://ddsservicos.com.br/
Description: Landing page leve e responsiva para limpeza profissional de painéis solares.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dds-eco-solar
*/

:root {
  --navy: #071b36;
  --navy-2: #0c2d56;
  --blue: #0b4f8a;
  --orange: #f6a800;
  --gold: #ffc845;
  --green: #25d366;
  --ink: #102034;
  --muted: #5b6877;
  --line: #dde5ec;
  --paper: #f4f7fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
img { max-width: 100%; }

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

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 88px;
  padding: 0 clamp(22px, 5vw, 76px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(7, 27, 54, .08);
  backdrop-filter: blur(12px);
}

.brand { margin-right: auto; }
.headerLogo img {
  display: block;
  width: 165px;
  max-width: 100%;
  height: 74px;
  object-fit: contain;
  border-radius: 50%;
}
.siteHeader nav { display: flex; gap: 24px; }
.siteHeader nav a { color: #27405c; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #172338;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(246, 168, 0, .22);
  transition: .2s;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(246, 168, 0, .3); }
.buttonSmall { min-height: 44px; padding: 0 18px; font-size: 13px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(122deg, var(--navy), var(--navy-2));
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 27, 54, .99) 0%, rgba(7, 27, 54, .9) 46%, rgba(7, 27, 54, .12) 73%);
  pointer-events: none;
}
.heroGlow { position: absolute; z-index: 0; top: -150px; left: 30%; width: 520px; height: 520px; border-radius: 50%; background: #087fb3; filter: blur(110px); opacity: .22; }
.heroCopy { position: relative; z-index: 3; align-self: center; padding: 92px 4vw 72px 8vw; }
.eyebrow,
.sectionIndex { display: flex; align-items: center; gap: 12px; color: #c57d00; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: #ffd36a; }
.eyebrow::before,
.sectionIndex::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.sectionIndex.light { color: #ffd36a; }
h1 { max-width: 780px; margin: 24px 0; font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -.045em; }
.heroLead { max-width: 680px; color: #dbe8f5; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; }
.heroActions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.textLink { padding: 10px 0; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .45); text-decoration: none; font-weight: 700; }
.trustLine { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 36px; color: #bdd1e5; font-size: 13px; }
.trustLine span::before { content: "✓"; margin-right: 7px; color: #62cc78; font-weight: 700; }
.heroVisual { position: relative; min-height: 680px; background: url('assets/hero-yellow-rotary-brush.webp') 62% center / cover no-repeat; }
.visualTag,
.equipmentTag { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 3px; padding: 17px 20px; background: rgba(255, 255, 255, .95); color: var(--ink); border-left: 4px solid var(--orange); border-radius: 14px; box-shadow: 0 18px 45px rgba(0, 0, 0, .24); }
.visualTag { right: 5vw; bottom: 42px; }
.visualTag small,
.equipmentTag small { color: var(--muted); }

.authority { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: -31px auto 0; overflow: hidden; background: var(--white); border-radius: 18px; box-shadow: 0 20px 55px rgba(10, 39, 69, .14); }
.authority article { display: flex; flex-direction: column; gap: 6px; padding: 25px 28px; border-right: 1px solid var(--line); }
.authority article:last-child { border-right: 0; }
.authority b { color: var(--navy-2); font-size: 17px; }
.authority span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.section { padding: 110px max(5vw, 24px); }
.sectionHead { max-width: 1160px; margin: 0 auto 55px; }
.sectionHead h2,
.equipment h2,
.process h2,
.audience h2,
.quote h2,
.finalCta h2 { margin: 20px 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
.sectionHead h2 { max-width: 760px; }
.sectionHead.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.sectionHead.split p { margin: 0 0 5px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.problem { padding-top: 135px; }
.problemGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; max-width: 1160px; margin: auto; }
.problemCopy p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.problemCopy .largeText { color: #263b52; font-size: 22px; line-height: 1.55; }
.inlineCta { display: inline-flex; gap: 12px; margin-top: 10px; padding: 12px 0; color: var(--blue); border-bottom: 2px solid var(--orange); text-decoration: none; font-weight: 800; }
.issueList { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.issueList > div { display: flex; gap: 14px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.issueList i { color: #d78d00; font-size: 24px; font-style: normal; }
.issueList span { display: flex; flex-direction: column; gap: 7px; }
.issueList small { color: var(--muted); line-height: 1.45; }

.equipment { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 680px; background: var(--navy); color: var(--white); }
.equipmentImage { position: relative; min-height: 620px; overflow: hidden; }
.equipmentImage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.equipmentTag { right: 28px; bottom: 28px; max-width: 255px; }
.equipmentCopy { align-self: center; padding: 90px clamp(30px, 6vw, 95px); }
.equipmentCopy p { color: #c7d7e6; font-size: 17px; line-height: 1.75; }
.equipmentCopy ul { margin: 30px 0 0; padding: 0; list-style: none; }
.equipmentCopy li { display: flex; flex-direction: column; gap: 5px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.equipmentCopy li b::before { content: "✓"; margin-right: 10px; color: #6fda88; }
.equipmentCopy li span { padding-left: 25px; color: #aabfd2; font-size: 13px; }

.services { background: var(--paper); }
.serviceGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1160px; margin: auto; }
.serviceGrid article { min-height: 230px; padding: 28px; background: var(--white); border: 1px solid #e8edf1; border-radius: 18px; transition: .2s; }
.serviceGrid article:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(10, 39, 69, .09); }
.serviceGrid article > span { color: #c78500; font-size: 13px; font-weight: 800; }
.serviceGrid h3 { margin: 35px 0 10px; font-size: 21px; }
.serviceGrid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.centerCta { margin-top: 42px; text-align: center; }

.beforeAfter { background: var(--white); }
.beforeAfter figure { position: relative; max-width: 1160px; margin: auto; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 60px rgba(5, 31, 56, .16); }
.beforeAfter figure img { display: block; width: 100%; }
.beforeLabel,
.afterLabel { position: absolute; top: 24px; padding: 11px 16px; background: rgba(7, 27, 54, .9); color: var(--white); border-radius: 10px; font-weight: 800; }
.beforeLabel { left: 24px; }
.afterLabel { right: 24px; background: rgba(246, 168, 0, .94); color: var(--ink); }
.disclaimer { margin-top: 20px; color: var(--muted); font-size: 13px; text-align: center; }

.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding: 110px max(5vw, 24px); background: linear-gradient(125deg, #08213f, #0b4777); color: var(--white); }
.processIntro { max-width: 480px; }
.processIntro p { color: #c4d6e6; font-size: 17px; line-height: 1.7; }
.process ol { margin: 0; padding: 0; list-style: none; }
.process li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.process li > span { display: grid; place-items: center; width: 52px; height: 52px; color: #ffd36a; border: 1px solid rgba(255, 200, 69, .65); border-radius: 50%; font-weight: 800; }
.process li b { font-size: 20px; }
.process li p { margin: 7px 0 0; color: #bcd0e1; line-height: 1.55; }

.safety { background: #f5f8fa; }
.safetyCard { max-width: 1160px; margin: auto; padding: 60px; background: var(--white); border-left: 6px solid var(--orange); border-radius: 24px; box-shadow: 0 20px 60px rgba(10, 39, 69, .08); }
.safetyCard h2 { max-width: 820px; margin: 22px 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.03em; }
.safetyCard > p { max-width: 900px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.pillGrid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pillGrid span,
.audienceTags span { padding: 11px 15px; background: #eef3f6; color: #29435e; border-radius: 999px; font-size: 13px; font-weight: 700; }

.audience { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 650px; background: #0a2442; color: var(--white); }
.businessImage { min-height: 650px; margin: 0; overflow: hidden; }
.businessImage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.audienceContent { align-self: center; padding: 80px clamp(28px, 6vw, 90px); }
.audienceContent p { color: #bbcee0; font-size: 17px; line-height: 1.7; }
.audienceTags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.audienceTags span { padding: 14px 18px; background: rgba(255, 255, 255, .09); color: #f0f6fb; border: 1px solid rgba(255, 255, 255, .16); }

.answers { background: var(--white); }
.answerGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1160px; margin: auto; }
.answerGrid article { padding: 28px; background: #f7f9fb; border-top: 4px solid var(--orange); border-radius: 0 0 16px 16px; }
.answerGrid b { font-size: 19px; }
.answerGrid p { color: var(--muted); line-height: 1.7; }

.faq { background: var(--paper); }
.faqList { max-width: 980px; margin: auto; }
.faqList details { margin-bottom: 10px; padding: 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faqList summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; font-weight: 800; cursor: pointer; }
.faqList summary::-webkit-details-marker { display: none; }
.faqList summary span { color: #c47f00; font-size: 22px; }
.faqList details p { margin: 0; padding: 0 30px 22px 0; color: var(--muted); line-height: 1.7; }

.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding: 105px max(6vw, 28px); background: var(--white); }
.quoteCopy > p { max-width: 580px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contactFacts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.contactFacts span { display: flex; flex-direction: column; gap: 5px; }
.contactFacts small { color: var(--muted); }
.contactFacts b { color: var(--navy-2); }
form { padding: 34px; background: var(--paper); border-radius: 22px; box-shadow: 0 22px 65px rgba(10, 39, 69, .1); }
form label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; color: #2e4359; font-size: 13px; font-weight: 800; }
.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input,
select { width: 100%; height: 50px; padding: 0 14px; background: var(--white); color: var(--ink); border: 1px solid #d5dee6; border-radius: 10px; outline: none; font-size: 15px; }
input:focus,
select:focus { border-color: #d59412; box-shadow: 0 0 0 3px rgba(246, 168, 0, .12); }
.formButton { width: 100%; margin-top: 6px; }
.quote form > small { display: block; margin-top: 14px; color: var(--muted); text-align: center; }

.finalCta { padding: 100px 24px; background: linear-gradient(135deg, #f3a200, #ffd064); color: var(--ink); text-align: center; }
.finalCta > span { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.finalCta h2 { max-width: 800px; margin: 22px auto; }
.finalCta p { max-width: 700px; margin: 0 auto 28px; font-size: 18px; line-height: 1.6; }
.finalCta .button { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px rgba(7, 27, 54, .2); }
.finalCta small { display: block; margin-top: 18px; }

footer { display: grid; grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 40px; padding: 60px max(5vw, 24px) 25px; background: #06172d; color: var(--white); }
footer > div { display: flex; flex-direction: column; gap: 10px; }
footer b { margin-bottom: 5px; color: #ffd065; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
footer a,
footer span,
footer p { color: #aebed0; font-size: 13px; line-height: 1.65; text-decoration: none; }
.footerBrand strong { color: var(--white); font-size: 16px; }
.footerLogo { display: flex; align-items: center; justify-content: flex-start; width: 150px; margin-bottom: 8px; overflow: hidden; border-radius: 50%; }
.footerLogo img { display: block; width: 150px; max-width: 100%; height: auto; object-fit: contain; }
.copyright { grid-column: 1 / -1; margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }

.floatWa { position: fixed; right: 22px; bottom: 22px; z-index: 9999; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; background: var(--green); color: var(--white); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); text-decoration: none; }
.floatWa svg { display: block; width: 34px; height: 34px; fill: currentColor; }

@media (max-width: 1050px) {
  .siteHeader nav { display: none; }
  .heroCopy { padding-left: 5vw; }
  .problemGrid,
  .quote { gap: 50px; }
  .equipmentCopy { padding: 65px 45px; }
  .serviceGrid { grid-template-columns: 1fr 1fr; }
  .process { gap: 50px; }
  .sectionHead.split { gap: 40px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .siteHeader { height: 76px; }
  .headerLogo img { width: 125px; height: 62px; }
  .buttonSmall { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 760px; background: linear-gradient(180deg, rgba(7, 27, 54, .55), rgba(7, 27, 54, .98)), url('assets/hero-yellow-rotary-brush.webp') 66% center / cover no-repeat; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 27, 54, .35), rgba(7, 27, 54, .97)); }
  .heroVisual { display: none; }
  .heroCopy { align-self: end; padding: 105px 24px 65px; }
  .authority { grid-template-columns: 1fr 1fr; margin: 0; border-radius: 0; }
  .authority article { border-bottom: 1px solid var(--line); }
  .section { padding: 82px 24px; }
  .sectionHead.split,
  .problemGrid,
  .equipment,
  .process,
  .audience,
  .quote { grid-template-columns: 1fr; }
  .problemGrid { gap: 35px; }
  .equipmentImage,
  .businessImage { min-height: 430px; }
  .equipmentCopy,
  .audienceContent { padding: 70px 28px; }
  .process,
  .quote { gap: 45px; padding: 82px 24px; }
  .answerGrid { grid-template-columns: 1fr; }
  .safetyCard { padding: 36px 28px; }
  .sectionHead.split { gap: 20px; }
  .sectionHead { margin-bottom: 38px; }
  .footerLogo { width: 130px; }
  .footerLogo img { width: 130px; }
}

@media (max-width: 560px) {
  .siteHeader { height: 72px; padding: 0 18px; }
  h1 { font-size: 42px; }
  .heroActions { align-items: stretch; flex-direction: column; }
  .heroActions .button { width: 100%; }
  .trustLine { flex-direction: column; gap: 9px; }
  .authority,
  .issueList,
  .serviceGrid,
  .formRow,
  .contactFacts,
  footer { grid-template-columns: 1fr; }
  .authority article { padding: 20px 24px; }
  .sectionHead h2,
  .equipment h2,
  .process h2,
  .audience h2,
  .quote h2,
  .finalCta h2 { font-size: 36px; }
  .beforeLabel,
  .afterLabel { top: 12px; padding: 8px 10px; font-size: 11px; }
  .beforeLabel { left: 12px; }
  .afterLabel { right: 12px; }
  .safetyCard { border-top: 5px solid var(--orange); border-left: 0; }
  form { padding: 24px 18px; }
  .copyright { grid-column: 1; }
  .floatWa { right: 15px; bottom: 15px; width: 56px; height: 56px; }
  .floatWa svg { width: 30px; height: 30px; }
}
