/*
Theme Name: Gurgel Consultoria
Theme URI: https://gurgelconsultoria.com
Author: Gurgel Consultoria
Author URI: https://gurgelconsultoria.com
Description: Tema profissional para Gurgel Consultoria – Engenharia, Perícias e Geotecnia em Minas Gerais.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gurgel-consultoria
Tags: business, engineering, one-page, responsive
*/

/* ── Variables ── */
:root {
  --green:   #5de87a;
  --green-dk:#3aab57;
  --dark:    #1e1e1e;
  --charcoal:#2c2c2c;
  --mid:     #4a4a4a;
  --silver:  #c8c8c8;
  --light:   #f4f4f2;
  --white:   #ffffff;
  --nav-h:   72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--charcoal); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.1); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand svg { width: 44px; height: 44px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-text strong { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; color: var(--dark); }
.nav-brand-text span { font-size: .68rem; color: var(--mid); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--mid); letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover { color: var(--dark); }
.btn-nav {
  background: var(--green); color: var(--dark) !important; font-weight: 600 !important;
  padding: 9px 22px; border-radius: 6px; font-size: .83rem !important;
  transition: background .2s, transform .15s !important;
}
.btn-nav:hover { background: var(--green-dk); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); padding: 24px 5%;
  flex-direction: column; gap: 20px; z-index: 998;
  border-bottom: 2px solid var(--green);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--dark); }

/* ── HERO ── */
#home {
  min-height: 100vh; padding-top: var(--nav-h);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
}
.hero-left {
  padding: 80px 6% 80px 8%;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--green-dk);
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--green); }
.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700; line-height: 1.15; color: var(--dark);
  margin-bottom: 24px;
}
.hero-left h1 em { font-style: normal; color: var(--green-dk); }
.hero-left p { font-size: 1rem; color: var(--mid); max-width: 480px; margin-bottom: 40px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--dark); color: var(--white);
  padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .15s; letter-spacing: .02em;
}
.btn-primary:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn-secondary {
  border: 2px solid var(--dark); color: var(--dark);
  padding: 13px 28px; border-radius: 6px; font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s, transform .15s;
}
.btn-secondary:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.hero-right { height: 100vh; position: relative; overflow: hidden; background: var(--dark); }
.hero-bg-pattern {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 40%, rgba(93,232,122,.15) 0%, transparent 65%),
              linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(var(--silver) 1px, transparent 1px),
                    linear-gradient(90deg, var(--silver) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-card-stack {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; gap: 16px; width: 80%;
}
.hero-stat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 20px 24px; backdrop-filter: blur(6px);
  animation: floatIn .8s ease both;
}
.hero-stat-card:nth-child(1) { animation-delay: .2s; }
.hero-stat-card:nth-child(2) { animation-delay: .4s; margin-left: 30px; }
.hero-stat-card:nth-child(3) { animation-delay: .6s; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--green); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 4px; letter-spacing: .04em; }
.hero-logo-bg { position: absolute; bottom: -60px; right: -60px; opacity: .05; }

/* ── SECTION COMMONS ── */
section { padding: 96px 8%; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; color: var(--green-dk);
  text-transform: uppercase; margin-bottom: 16px;
}
.section-tag::before { content: ''; display: block; width: 28px; height: 2px; background: var(--green); }
h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--dark); line-height: 1.2;
}
.section-sub { font-size: .95rem; color: var(--mid); max-width: 520px; margin-top: 12px; line-height: 1.7; }

/* ── SERVICES ── */
#servicos { background: var(--light); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.service-img { height: 200px; overflow: hidden; position: relative; }
.service-img-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.si-pericia { background: linear-gradient(135deg, #1e1e1e, #3a3a3a); }
.si-imovel  { background: linear-gradient(135deg, #1c3a2a, #2a5a3e); }
.si-geotech { background: linear-gradient(135deg, #1a2c3a, #2a4a5a); }
.si-direito { background: linear-gradient(135deg, #2a1a3a, #4a2a6a); }
.service-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
}
.service-body { padding: 24px; }
.service-number { font-family: 'Cormorant Garamond', serif; font-size: .8rem; color: var(--silver); font-weight: 600; letter-spacing: .1em; margin-bottom: 8px; }
.service-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.service-body p { font-size: .87rem; color: var(--mid); line-height: 1.7; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.service-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(93,232,122,.12); color: var(--green-dk); border: 1px solid rgba(93,232,122,.3);
}
.service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .83rem; font-weight: 600; color: var(--dark);
  border-bottom: 1.5px solid var(--green); padding-bottom: 2px;
  transition: gap .2s, color .2s;
}
.service-cta:hover { gap: 14px; color: var(--green-dk); }
.service-cta::after { content: '→'; }

/* ── ABOUT ── */
#sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-left { position: relative; }
.about-photo-frame {
  width: 100%; aspect-ratio: 4/5; border-radius: 16px;
  background: linear-gradient(135deg, #2c2c2c, #1a3a2a);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; position: relative; overflow: hidden;
}
.about-photo-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(93,232,122,.12), transparent 60%);
}
.about-photo-content { text-align: center; z-index: 1; padding: 32px; }
.about-initials {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green); color: var(--dark);
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.about-photo-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--white); font-weight: 700; }
.about-photo-content p { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 6px; letter-spacing: .04em; }
.about-crea {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; padding: 10px 20px; text-align: center; z-index: 1;
  backdrop-filter: blur(6px); white-space: nowrap;
}
.about-crea span { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .1em; display: block; }
.about-crea strong { font-size: .85rem; color: var(--green); letter-spacing: .06em; }
.about-badge {
  position: absolute; top: 24px; right: -20px;
  background: var(--green); color: var(--dark);
  border-radius: 10px; padding: 12px 16px;
  font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.3;
  box-shadow: 0 4px 20px rgba(93,232,122,.4);
}
.about-right p { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-top: 16px; }
.about-credentials { margin: 32px 0; display: flex; flex-direction: column; gap: 16px; }
.credential-item { display: flex; align-items: flex-start; gap: 14px; }
.credential-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 6px; flex-shrink: 0; }
.credential-text strong { display: block; font-size: .9rem; color: var(--dark); font-weight: 600; }
.credential-text span { font-size: .82rem; color: var(--mid); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.about-stat { border-left: 3px solid var(--green); padding-left: 16px; }
.about-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--dark); line-height: 1; }
.about-stat .lbl { font-size: .75rem; color: var(--mid); margin-top: 4px; line-height: 1.4; }

/* ── CLIENTS ── */
#clientes { background: var(--dark); padding: 72px 8%; }
#clientes .section-tag { color: var(--green); }
#clientes h2.section-title { color: var(--white); }
.clients-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.clients-sub { font-size: .9rem; color: rgba(255,255,255,.5); max-width: 400px; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.client-pill {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 14px 18px;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7);
  letter-spacing: .03em; text-align: center;
  transition: background .2s, border-color .2s, color .2s;
}
.client-pill:hover { background: rgba(93,232,122,.1); border-color: rgba(93,232,122,.4); color: var(--green); }

/* ── METODOLOGIA ── */
#metodologia { background: var(--light); }
.met-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.met-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.met-card { position: relative; padding: 32px 24px; border-radius: 12px; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.met-num { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 700; color: rgba(93,232,122,.2); line-height: 1; position: absolute; top: 16px; right: 20px; }
.met-icon { font-size: 1.8rem; margin-bottom: 16px; }
.met-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.met-card p { font-size: .83rem; color: var(--mid); line-height: 1.65; }

/* ── CONTACT ── */
#contato { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-left p { font-size: .95rem; color: var(--mid); line-height: 1.8; margin-top: 16px; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(93,232,122,.12); border: 1px solid rgba(93,232,122,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info strong { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.contact-info a, .contact-info span { font-size: .88rem; color: var(--mid); }
.contact-info a:hover { color: var(--green-dk); }
.contact-right { background: var(--light); border-radius: 16px; padding: 36px; }
.contact-right h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #ddd; font-family: 'DM Sans', sans-serif; font-size: .9rem;
  color: var(--dark); background: var(--white); transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green); }
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; padding: 14px; background: var(--dark); color: var(--white);
  border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--charcoal); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 56px 8% 32px;
  border-top: 3px solid var(--green);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-brand .cnpj { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 12px; letter-spacing: .06em; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ── WHATSAPP ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  animation: pulse 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 36px rgba(37,211,102,.7); }
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .met-grid { grid-template-columns: 1fr 1fr; }
  #sobre { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; }
  #contato { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 5%; }
  #home { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 5%; }
  .hero-right { height: 320px; }
  .services-grid { grid-template-columns: 1fr; }
  .met-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
