/* Solar Brasilis — Design system */
:root {
  --ink: #3c3c3c;
  --gold: #a98811;
  --gold-hover: #8f720e;
  --navy: #1e2846;
  --fog: #ececec;
  --white: #ffffff;
  --border: #e0e0e0;
  --container: 1100px;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(30, 40, 70, 0.08);
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --wa: #25d366;
  --wa-hover: #1ebe57;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 4rem 0;
}

.section--fog {
  background: var(--fog);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section__lead {
  max-width: 640px;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__wa {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn i {
  font-size: 1.05em;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gold-hover);
  color: var(--white);
}

.btn--whatsapp {
  background: var(--wa);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: var(--wa-hover);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.cta-note a {
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__logo {
  margin-bottom: 1.25rem;
}

.hero__logo img {
  height: 56px;
  width: auto;
}

.hero__sub {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36ch;
}

/* Credibility bar */
. cred {
  padding: 1.75rem 0;
  background: var(--fog);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cred__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cred__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.cred__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.cred__value {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.cred__label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
}

/* Location */
.loc__list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.loc__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.loc__list i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.loc__media {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.loc__media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Plants */
.plants__table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.plants__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.plants__table th,
.plants__table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.plants__table th {
  background: var(--fog);
  color: var(--navy);
  font-weight: 600;
}

.plants__table tr:last-child td {
  border-bottom: none;
}

.plants__finish {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 2rem;
}

.plants__finish li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.plants__finish i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.plants__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plants__gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.plants__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--fog);
  padding: 0.5rem;
}

.plants__gallery figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
  border-top: 1px solid var(--border);
}

/* Leisure grid — signature */
.leisure__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.leisure__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  min-height: 64px;
}

.leisure__item i {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
}

/* Gallery */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.15rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq__body {
  padding: 0 1.1rem 1.1rem;
  color: var(--ink);
}

/* CTA / Form */
.cta-final {
  background: var(--fog);
}

.cta-final__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cta-final__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
}

.form-group input::placeholder {
  color: #9a9a9a;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b6b6b;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer__logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__logos img {
  height: 36px;
  width: auto;
}

.site-footer__logos .logo-dkp {
  height: 28px;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin: 0;
}

/* Sticky WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-size: 1.6rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wa-float:hover {
  background: var(--wa-hover);
  color: var(--white);
  transform: translateY(-2px);
}

/* Reveal helpers for GSAP */
.reveal {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .cta-final__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .cred__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leisure__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plants__gallery,
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3rem 0;
  }

  .site-header__wa {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .cred__grid,
  .leisure__grid,
  .plants__gallery,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }

  .loc__media img {
    aspect-ratio: 16 / 9;
  }
}
