/* ===================================================
   Vila do Contorno / ES+ Construções — site styles
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Lato:wght@300;400;700;900&display=swap');

:root{
  --dark: #143820;
  --dark2: #0a1f11;
  --dark3: #1d5230;
  --sage: #c7cdbf;
  --sage2: #eef0e9;
  --pink: #ec008b;
  --blue: #00adef;
  --cream: #faf8f2;
  --ink: #17211a;
  --max: 1200px;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(10,30,17,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; margin: 0; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* -------- reveal on scroll -------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* -------- buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 50px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: none; transition: transform .25s ease, box-shadow .25s ease;
  letter-spacing: .2px;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 12px 30px rgba(236,0,139,.35); }
.btn-primary:hover { box-shadow: 0 16px 36px rgba(236,0,139,.45); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { box-shadow: 0 14px 30px rgba(20,56,32,.35); }

.eyebrow {
  color: var(--pink); font-weight: 800; letter-spacing: 3px; font-size: 14px;
  text-transform: uppercase; margin-bottom: 12px; display: block;
}

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px; transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled { background: rgba(10,26,15,.92); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.2); padding: 12px 40px; }
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { height: 40px; width: auto; }
.nav .brand-condo { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .3px; opacity: .88;
  transition: opacity .2s ease;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 110; }
.nav-burger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }

.mobile-menu {
  position: fixed; inset: 0; background: var(--dark2); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transform: translateY(-100%); transition: transform .4s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { color: #fff; font-size: 24px; font-family: 'Poppins'; font-weight: 600; }

/* ================= HERO (index) ================= */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 720px; overflow: hidden;
  background: #06140b;
}
.hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 38%; }
.hero .green-fade {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(6,20,11,.96) 0%, rgba(7,24,13,.92) 28%, rgba(8,27,15,.7) 46%, rgba(8,27,15,.28) 64%, rgba(8,27,15,0) 80%);
}
.hero .bottom-fade { position: absolute; left:0; right:0; bottom:0; height: 40%; background: linear-gradient(0deg, rgba(4,14,8,.85), rgba(4,14,8,0)); }
.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px; padding: 0 40px 0 64px;
}
.hero-loc { color: rgba(255,255,255,.85); font-weight: 700; letter-spacing: 3px; font-size: 14px; text-transform: uppercase; margin-bottom: 26px; }
.hero-logo { height: 130px; width: auto; margin-bottom: 30px; }
.hero h1 { font-size: 40px; font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: 38px; }
.hero h1 .hl-pink { color: var(--pink); font-size: 46px; font-weight: 700; }
.hero h1 .hl-blue { color: var(--blue); font-size: 46px; font-weight: 700; }
.hero-ctas { display: flex; gap: 18px; margin-bottom: 46px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 15px; }
.hero-meta svg { width: 20px; height: 20px; flex: none; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,.8), transparent); animation: scrollpulse 1.8s infinite; }
@keyframes scrollpulse { 0%{opacity:.2} 50%{opacity:1} 100%{opacity:.2} }

/* ================= SECTION HEADERS ================= */
.sec-head { max-width: 700px; margin-bottom: 56px; }
.sec-head h2 { font-size: 38px; color: var(--dark); font-weight: 700; }
.sec-head p { font-size: 18px; color: #4b564d; margin-top: 14px; line-height: 1.6; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-pad { padding: 120px 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-dark { background: linear-gradient(150deg, var(--dark2) 0%, var(--dark) 55%, var(--dark3) 100%); color: #fff; }

/* ================= STATS / FICHA ================= */
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-bottom: 46px; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow);
  border-top: 5px solid var(--dark); text-align: left;
}
.stat-card:nth-child(6n+2) { border-top-color: var(--pink); }
.stat-card:nth-child(6n+3) { border-top-color: var(--blue); }
.stat-card .num { font-size: 34px; font-weight: 800; color: var(--dark); }
.stat-card .num small { font-size: 15px; font-weight: 400; color: #888; }
.stat-card .lbl { font-size: 13px; color: #666; margin-top: 6px; text-transform: uppercase; letter-spacing: .4px; }

.desc-callout {
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: 30px 36px; font-size: 19px; line-height: 1.6;
  margin-bottom: 60px;
}
.desc-callout b { color: var(--blue); }

.plant-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.plant-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.room-list { display: flex; flex-direction: column; gap: 14px; }
.room-row {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 22px;
  background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(20,56,32,.06);
}
.room-row span:first-child { color: var(--ink); font-weight: 600; }
.room-row span:last-child { color: var(--dark); font-weight: 800; }

/* ================= AMBIENTES / GALLERY ================= */
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gallery-2 figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-2 img { width: 100%; height: 480px; object-fit: cover; transition: transform .6s ease; }
.gallery-2 figure:hover img { transform: scale(1.05); }
.gallery-2 figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px;
  background: linear-gradient(0deg, rgba(6,18,10,.88), rgba(6,18,10,0));
  color: #fff; font-weight: 700; font-size: 18px;
}
.disclaimer { text-align: right; color: #888; font-size: 14px; margin-top: 20px; font-style: italic; }

/* ================= LOCALIZAÇÃO ================= */
.map-block { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-block img { width: 100%; display: block; }
.loc-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.loc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.loc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #333; line-height: 1.4; }
.loc-list li::before { content: ""; min-width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin-top: 7px; }
.addr-card { background: var(--dark); color: #fff; border-radius: 14px; padding: 24px 26px; margin-top: 28px; }
.addr-card .k { color: var(--blue); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.addr-card .v { font-size: 16px; line-height: 1.5; }

/* ================= FAMÍLIA ================= */
.family-section { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.family-section img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.family-section .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,26,15,.93) 0%, rgba(9,26,15,.55) 45%, rgba(9,26,15,.08) 72%); }
.family-content { position: relative; z-index: 2; max-width: 620px; padding: 100px 40px 100px 64px; }
.family-content .quote { font-size: 90px; color: var(--pink); font-family: 'Poppins'; line-height: .5; margin-bottom: 14px; }
.family-content h2 { color: #fff; font-size: 42px; line-height: 1.25; margin-bottom: 22px; }
.family-content h2 span { color: var(--pink); }
.family-content p { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.6; }

/* ================= ÁREAS TABLE ================= */
table.areas { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.areas thead tr { background: var(--dark); color: #fff; }
table.areas th { padding: 20px 22px; text-align: left; font-size: 15px; font-weight: 600; }
table.areas th:not(:first-child), table.areas td:not(:first-child) { text-align: center; }
table.areas td { padding: 18px 22px; font-size: 17px; border-bottom: 1px solid #ece9e0; }
table.areas tbody tr:nth-child(even) { background: #f7f6f0; }
table.areas td.unit { font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 10px; }
table.areas .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.notes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; }
.note-card { background: #fff; border-left: 5px solid var(--blue); border-radius: 10px; padding: 22px 26px; box-shadow: 0 6px 20px rgba(20,56,32,.06); }
.note-card b { display: block; color: var(--dark); font-size: 18px; margin-bottom: 6px; }
.note-card p { color: #555; font-size: 15px; line-height: 1.5; }

/* ================= CONDIÇÕES / CTA ================= */
.cond-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 50px 0 60px; }
.cond-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 32px 28px; }
.cond-card .k { color: var(--blue); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.cond-card .v { font-size: 27px; font-weight: 700; color: #fff; line-height: 1.3; }
.cond-card .v b { color: var(--pink); }
.cond-card .foot { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.4; }
.cta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 40px; }
.cta-row h3 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-row p { color: var(--sage); font-size: 16px; }

/* ================= FOOTER ================= */
footer { background: var(--dark2); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 60px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.social-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 10px 18px; border-radius: 30px; font-size: 14px; color: #fff; transition: background .2s ease; }
.social-badge:hover { background: rgba(255,255,255,.16); }

/* ================= EMPRESA PAGE SPECIFIC ================= */
.company-hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background: linear-gradient(150deg, var(--dark2) 0%, var(--dark) 55%, var(--dark3) 100%);
  overflow: hidden;
}
.company-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 20% 20%, #fff 1px, transparent 1px);
  background-size: 34px 34px;
}
.company-hero-inner { position: relative; z-index: 2; max-width: 780px; padding: 140px 40px 80px 64px; }
.company-hero .badge-logo { height: 150px; width: auto; margin-bottom: 34px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
.company-hero h1 { color: #fff; font-size: 44px; line-height: 1.28; margin-bottom: 22px; font-weight: 600; }
.company-hero h1 b { color: var(--blue); font-weight: 700; }
.company-hero p.lead { color: rgba(255,255,255,.85); font-size: 19px; line-height: 1.6; max-width: 640px; }
.founded-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 10px 20px; border-radius: 30px;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .3px;
}
.founded-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 34px 26px; box-shadow: var(--shadow); text-align: left; }
.value-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--dark); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card .ic svg { width: 26px; height: 26px; stroke: #fff; }
.value-card:nth-child(4n+2) .ic { background: var(--pink); }
.value-card:nth-child(4n+3) .ic { background: var(--blue); }
.value-card:nth-child(4n+4) .ic { background: #3c7350; }
.value-card h4 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: #5a655c; line-height: 1.55; }

.quote-block {
  background: var(--dark); color: #fff; border-radius: 24px; padding: 60px; text-align: center; position: relative;
}
.quote-block .mark { font-size: 80px; color: var(--pink); font-family: 'Poppins'; line-height: .5; margin-bottom: 18px; }
.quote-block p.verse { font-size: 24px; font-style: italic; max-width: 720px; margin: 0 auto 18px; line-height: 1.5; font-family: 'Poppins'; font-weight: 300; }
.quote-block .cite { color: var(--sage); font-size: 15px; letter-spacing: 1px; }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card .img-wrap { position: relative; height: 320px; overflow: hidden; }
.project-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .img-wrap img { transform: scale(1.06); }
.project-status {
  position: absolute; top: 18px; left: 18px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700;
  padding: 7px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}
.project-status.status-blue { background: var(--blue); }
.project-body { padding: 26px 28px 30px; }
.project-body h4 { font-size: 21px; color: var(--dark); margin-bottom: 8px; }
.project-body p { font-size: 15px; color: #5a655c; line-height: 1.5; }
.project-body .tag-row { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.project-body .tag { background: var(--sage2); color: var(--dark); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 20px; }

.ig-block {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background: linear-gradient(120deg, #fdf2f8, #eef8fc); border-radius: 24px; padding: 50px 56px;
}
.ig-block .left { display: flex; align-items: center; gap: 24px; }
.ig-block .avatar {
  width: 96px; height: 96px; border-radius: 50%; padding: 4px;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.ig-block .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.ig-block h4 { font-size: 22px; color: var(--dark); margin-bottom: 4px; }
.ig-block .handle { color: #888; font-size: 15px; margin-bottom: 10px; }
.ig-block .stat-row { display: flex; gap: 22px; font-size: 14px; color: #444; }
.ig-block .stat-row b { color: var(--dark); }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline .t-item { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid #e7e5db; }
.timeline .t-item:last-child { border-bottom: none; }
.timeline .year { font-family: 'Poppins'; font-weight: 800; font-size: 26px; color: var(--pink); }
.timeline .t-body h4 { font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.timeline .t-body p { font-size: 15px; color: #5a655c; line-height: 1.5; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px){
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .plant-grid { grid-template-columns: 1fr; }
  .loc-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-content { padding: 0 24px; max-width: 100%; }
  .hero h1 { font-size: 30px; }
  .hero h1 .hl-pink, .hero h1 .hl-blue { font-size: 34px; }
  .hero-logo { height: 92px; }
  .section-pad { padding: 74px 0; }
  .sec-head h2 { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-2 { grid-template-columns: 1fr; }
  .gallery-2 img { height: 320px; }
  .cond-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .family-content { padding: 70px 24px; }
  .family-content h2 { font-size: 30px; }
  .company-hero-inner { padding: 130px 24px 60px; }
  .company-hero h1 { font-size: 30px; }
  .ig-block { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
  .quote-block { padding: 40px 26px; }
  .quote-block p.verse { font-size: 19px; }
  .timeline .t-item { grid-template-columns: 1fr; gap: 8px; }
  table.areas { font-size: 13px; }
  table.areas th, table.areas td { padding: 12px 10px; }
  .notes-row { grid-template-columns: 1fr; }
}
