/* ============================================================
   Alberto Luiz De Carvalho Ltda — Global Stylesheet
   ============================================================ */

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

:root {
  --green:   #1a6b3c;
  --green-d: #134f2d;
  --gold:    #c8a84b;
  --light:   #f7f5f0;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --muted:   #666666;
  --border:  #e0d9cc;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
header {
  background: var(--green-d);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}

.logo-sub {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav a {
  color: #ddd;
  margin-left: 2rem;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .2s;
}

nav a:hover, nav a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-d) 0%, var(--green) 60%, #2d8a55 100%);
  color: var(--white);
  padding: 110px 2rem 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background image overlay slot — will be activated when user provides hero bg */
.hero.has-bg {
  background-image: linear-gradient(rgba(19,79,45,.82), rgba(19,79,45,.82)), var(--hero-img);
  background-size: cover;
  background-position: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,168,75,.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 1.2rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 2.4rem;
}

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

.btn-gold { background: var(--gold); color: var(--green-d); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  margin-left: 1rem;
}

/* ── SECTIONS ── */
section { padding: 80px 2rem; }

.section-label {
  text-align: center;
  font-size: .75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .6rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--green-d);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: .97rem;
}

.container { max-width: 1200px; margin: auto; }

/* ── WHY US CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--gold);
}

.why-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-d);
  margin-bottom: .4rem;
}

.why-card p { font-size: .88rem; color: var(--muted); }

/* ── BG SECTIONS ── */
.bg-light { background: var(--light); }

/* Generic section with a background image (for future bg photos) */
.bg-section {
  background-color: var(--green-d);
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19,79,45,.78);
}

.bg-section > * { position: relative; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,0,0,.14);
}

/* Real image container */
.product-img {
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.product-card:hover .product-img img { transform: scale(1.05); }

.product-body { padding: 1.4rem; }

.product-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-d);
  margin-bottom: .4rem;
}

.product-body p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.product-tag {
  display: inline-block;
  margin-top: .8rem;
  background: #e6f2ea;
  color: var(--green);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-d);
  margin-bottom: 1.4rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item .ci-text strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: .15rem;
}

.contact-item .ci-text span { font-size: .95rem; color: var(--text); }

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

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-d);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  background: var(--green);
  color: var(--white);
  border: none;
  width: 100%;
  padding: .95rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .5px;
  transition: background .2s, transform .15s;
}

.btn-submit:hover { background: var(--green-d); transform: translateY(-1px); }

/* ── MAP ── */
.map-box {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.map-box iframe {
  width: 100%;
  height: 240px;
  display: block;
  border: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--green-d);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: .88rem;
}

footer strong { color: var(--white); }

footer .footer-links { margin-top: .6rem; }

footer .footer-links a {
  color: var(--gold);
  margin: 0 .6rem;
  font-size: .85rem;
}

footer .footer-links a:hover { text-decoration: underline; }

/* ── PAGE BANNER ── */
.page-banner {
  background: linear-gradient(135deg, var(--green-d), var(--green));
  color: var(--white);
  padding: 70px 2rem 60px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Overlay for when bg image is added */
.page-banner.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19,79,45,.75);
}

.page-banner > * { position: relative; }

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .6rem;
}

.page-banner p {
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: auto;
  font-size: 1rem;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--green);
  color: #fff;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.cta-section.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19,79,45,.80);
}

.cta-section > div { position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .btn-outline { display: none; }
}
