/* =============================================
   RENAN TALEVI ENGENHARIA — Global Styles
   ============================================= */

:root {
  --dark:       #111111;
  --dark-2:     #181818;
  --dark-3:     #202020;
  --gold:       #C8973E;
  --gold-light: #DAAB58;
  --gold-dim:   rgba(200,151,62,.15);
  --white:      #ffffff;
  --off-white:  #F6F5F1;
  --gray-100:   #ECEAE5;
  --gray-200:   #D6D4CE;
  --gray-500:   #9A9890;
  --gray-600:   #6D6B63;
  --gray-800:   #2E2D2A;
  --text:       #1C1B18;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', 'Segoe UI', sans-serif;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.12);
  --shadow-md:  0 4px 20px rgba(0,0,0,.20);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.28);
  --radius:     6px;
  --radius-lg:  14px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { line-height: 1.75; }

.gold-text { color: var(--gold); }
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
}

/* ── Layout helpers ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5.5rem 0; }
.section--dark    { background: var(--dark-2); }
.section--darker  { background: var(--dark); }
.section--light   { background: var(--off-white); }

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

.section-heading { text-align: center; margin-bottom: 3.5rem; }
.section-heading p {
  max-width: 560px;
  margin: .85rem auto 0;
  color: var(--gray-600);
}
.section-heading--light h2 { color: var(--white); }
.section-heading--light p  { color: rgba(255,255,255,.55); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,151,62,.45);
}
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.btn-pulse {
  animation: pulse-gold 2.8s infinite;
}
.btn-pulse:hover { animation: none; }

.btn-header { padding: .55rem 1.3rem; font-size: .85rem; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 18px rgba(200,151,62,.4); }
  50%       { box-shadow: 0 4px 32px rgba(200,151,62,.75); }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.logo-icon {
  height: 44px;
  width: auto;
  filter: invert(1);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .22rem;
}
.logo-name {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--white);
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: .48rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-icon { height: 34px; filter: invert(1); opacity: .7; }
.footer-logo-name { font-size: .82rem; color: rgba(255,255,255,.75); }
.footer .logo-sub { color: rgba(200,151,62,.65); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2.25rem; }
.nav-link {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  position: relative;
  padding: .25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  padding: 1rem 1.5rem 1.5rem;
  gap: .2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  background: var(--dark);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200,151,62,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,151,62,.045) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 50%, rgba(200,151,62,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  background: rgba(200,151,62,.12);
  border: 1px solid rgba(200,151,62,.35);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,.68);
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  margin-top: .3rem;
  letter-spacing: .04em;
}

/* Hero visual — geometric R mark */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mark-frame {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200,151,62,.2);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(4px);
  transition: box-shadow .4s ease, border-color .4s ease;
}
.hero-mark-frame:hover {
  border-color: rgba(200,151,62,.45);
  box-shadow: 0 0 60px rgba(200,151,62,.12), inset 0 0 40px rgba(200,151,62,.04);
}
.hero-mark-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200,151,62,.1);
  border-radius: 8px;
  pointer-events: none;
}
.hero-mark {
  width: 260px;
  height: auto;
  filter: invert(1);
  opacity: .88;
  transition: transform .5s ease, opacity .4s ease;
}
.hero-mark-frame:hover .hero-mark {
  transform: scale(1.04);
  opacity: 1;
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}
.about-credentials {
  position: relative;
}
.cred-frame {
  background: var(--dark);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow:
    0 16px 56px rgba(0,0,0,.35),
    0 0 40px rgba(200,151,62,.1),
    inset 0 1px 0 rgba(200,151,62,.15);
  position: relative;
  overflow: hidden;
}
.cred-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cred-logo-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-logo-completa {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}
.cred-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,151,62,.4), transparent);
}
.cred-detail { display: flex; flex-direction: column; gap: .3rem; }
.cred-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.cred-value {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

.about-content { }
.about-content h2 { margin-bottom: 1rem; }
.about-content p  { color: var(--gray-600); margin-bottom: 1rem; }
.about-content strong { color: var(--gray-800); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.tag {
  background: var(--dark);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .35rem .9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-grid .service-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}

.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,.45);
  border-color: rgba(200,151,62,.45);
}
.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(200,151,62,.1);
  border: 1px solid rgba(200,151,62,.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  background: rgba(200,151,62,.18);
  border-color: rgba(200,151,62,.45);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.service-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.3;
}
.service-card p {
  color: rgba(255,255,255,.52);
  font-size: .875rem;
  line-height: 1.7;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: gap var(--transition), opacity var(--transition);
}
.service-link:hover { gap: .7rem; }
.service-link--gold {
  color: var(--gold-light);
}

/* Featured card */
.service-card--featured {
  border-color: rgba(200,151,62,.3);
  background: linear-gradient(135deg, var(--dark-3) 0%, rgba(200,151,62,.06) 100%);
}
.service-card--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 56px rgba(0,0,0,.45), 0 0 32px rgba(200,151,62,.12);
}

/* ── Diferenciais ── */
.diferencial-item {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.05);
  transition: border-color var(--transition), background var(--transition);
}
.diferencial-item:hover {
  border-color: rgba(200,151,62,.25);
  background: rgba(200,151,62,.04);
}
.diferencial-icon {
  width: 60px;
  height: 60px;
  background: rgba(200,151,62,.1);
  border: 1px solid rgba(200,151,62,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin: 0 auto 1.25rem;
}
.diferencial-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}
.diferencial-item h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.diferencial-item p  { color: rgba(255,255,255,.5); font-size: .85rem; line-height: 1.7; }

/* ── Contact ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 46px; height: 46px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
}
.contact-item-text a {
  color: var(--gray-800);
  font-weight: 600;
  font-size: .95rem;
}
.contact-item-text a:hover { color: var(--dark); }

.social-row { display: flex; gap: .75rem; margin-top: 2rem; }
.social-link {
  width: 44px; height: 44px;
  background: var(--dark);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}
.social-link--wpp { background: #25d366; }
.social-link--wpp:hover { background: #1ebe5d; color: #fff; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  animation: pulse-wpp 2.8s infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,.65);
  animation: none;
}
@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,.75); }
}

/* ── Footer ── */
.site-footer {
  background: #080808;
  color: rgba(255,255,255,.55);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: .85rem; }
.footer-desc {
  font-size: .83rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: .85rem;
}
.footer-crea {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-link {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  font-size: .78rem;
  text-align: center;
  color: rgba(255,255,255,.3);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual  { display: none; }
  .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .grid-4       { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section      { padding: 3.5rem 0; }
  .main-nav     { display: none; }
  .hamburger    { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .grid-4       { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats   { gap: 1.5rem; }
  .hero-cta     { flex-direction: column; align-items: flex-start; }
  .hero         { min-height: auto; }
  .hero-inner   { padding: 2.5rem 0; }
}
