/* =====================================================
   GRUPO GLOFLACK COMERCIAL — CSS Completo
   Cores: Azul #1A3A6B | Dourado #C9A84C | Verde #1E6B3C
   ===================================================== */

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

:root {
  --blue:       #1A3A6B;
  --blue-dark:  #0F2547;
  --blue-mid:   #2653A0;
  --gold:       #C9A84C;
  --gold-dk:    #A88630;
  --green:      #1E6B3C;
  --white:      #FFFFFF;
  --offwhite:   #F5F7FA;
  --gray:       #EEF1F5;
  --gray-mid:   #8A9BB0;
  --text:       #1C2B3A;
  --text-mid:   #4A5E75;
  --serif:      'Roboto Condensed', Arial Narrow, sans-serif;
  --sans:       'Open Sans', Arial, sans-serif;
  --shadow:     0 4px 20px rgba(26,58,107,0.1);
  --shadow-lg:  0 8px 40px rgba(26,58,107,0.18);
  --radius:     4px;
  --tr:         0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); overflow-x: hidden; background: var(--white); }
a { text-decoration: none; color: inherit; transition: color var(--tr); }
img { max-width: 100%; display: block; }
p { line-height: 1.8; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.two-col    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.section    { padding: 90px 0; background: var(--white); }
.section.alt { background: var(--offwhite); }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }

/* ---- Typography ---- */
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; font-family: var(--serif); }
h2 { font-family: var(--serif); font-size: clamp(26px,3vw,40px); font-weight: 300; color: var(--blue-dark); line-height: 1.2; margin-bottom: 6px; }
h2 strong { font-weight: 700; color: var(--blue); }
h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
h4 { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.sec-lead { font-size: 15px; color: var(--text-mid); max-width: 680px; line-height: 1.85; margin: 12px auto 0; }
.white-h2  { color: var(--white) !important; }
.white-h2 strong { color: var(--gold) !important; }
.white-ey  { color: var(--gold); }

/* ---- Dividers ---- */
.divider-blue  { width: 50px; height: 3px; background: var(--blue); margin: 16px 0 28px; }
.divider-gold  { width: 50px; height: 3px; background: var(--gold); margin: 16px 0 28px; }
.center-div    { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn-main    { display: inline-block; background: var(--blue); color: var(--white); padding: 13px 32px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; font-family: var(--serif); border: none; cursor: pointer; border-radius: var(--radius); transition: background var(--tr); }
.btn-main:hover { background: var(--blue-mid); }
.btn-outline { display: inline-block; background: transparent; color: var(--white); padding: 13px 32px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; font-family: var(--serif); border: 2px solid rgba(255,255,255,0.65); cursor: pointer; border-radius: var(--radius); transition: all var(--tr); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; }
.full { width: 100%; text-align: center; }

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar { background: var(--blue-dark); padding: 7px 0; font-size: 12px; color: rgba(255,255,255,0.65); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.lang-switch a { color: rgba(255,255,255,0.65); margin: 0 3px; }
.lang-switch a:hover { color: var(--gold); }

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar { position: sticky; top: 0; z-index: 999; background: var(--white); border-bottom: 3px solid var(--gold); box-shadow: 0 2px 10px rgba(26,58,107,0.07); transition: box-shadow var(--tr); }
#navbar.scrolled { box-shadow: 0 4px 24px rgba(26,58,107,0.18); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-img { height: 58px; width: auto; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 26px 15px; font-family: var(--serif); font-size: 13px; text-transform: uppercase; font-weight: 700; color: var(--blue-dark); letter-spacing: 0.4px; transition: color var(--tr); }
.nav-links > li > a:hover { color: var(--gold); }
.nav-links > li > a::after { content:''; display:block; height:3px; background:var(--gold); transform:scaleX(0); transition:transform var(--tr); margin-top:-3px; }
.nav-links > li > a:hover::after { transform:scaleX(1); }
/* dropdown */
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 240px; border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); list-style: none; z-index: 200; }
.dropdown li a { display: block; padding: 11px 20px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--gray); font-family: var(--sans); transition: all var(--tr); }
.dropdown li a:hover { background: rgba(201,168,76,0.1); color: var(--blue); padding-left: 26px; }
.has-dropdown:hover .dropdown { display: block; }
.nav-toggle { display: none; background: none; border: none; color: var(--blue); font-size: 26px; cursor: pointer; }

/* =====================================================
   HERO
   ===================================================== */
.hero { position: relative; min-height: 600px; background: linear-gradient(135deg, var(--blue-dark) 0%, #1A3A6B 60%, #0d3052 100%); display: flex; flex-direction: column; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="30" r="40" fill="rgba(201,168,76,0.04)"/><circle cx="20" cy="70" r="30" fill="rgba(30,107,60,0.05)"/></svg>') no-repeat center; background-size: cover; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 100px 40px 200px; }
.hero-tag { display: inline-block; background: var(--gold); color: var(--blue-dark); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; padding: 5px 14px; margin-bottom: 22px; border-radius: 2px; font-family: var(--serif); }
.hero-content h1 { font-family: var(--serif); font-size: clamp(30px,4.5vw,56px); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero-content h1 span { font-weight: 700; color: var(--gold); }
.hero-content p { font-size: 15px; color: rgba(255,255,255,0.78); max-width: 560px; line-height: 1.8; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats-bar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: rgba(10,25,60,0.93); border-top: 3px solid var(--gold); display: flex; }
.hstat { flex: 1; display: flex; align-items: center; justify-content: center; padding: 18px 12px; border-right: 1px solid rgba(255,255,255,0.07); }
.hstat:last-child { border-right: none; }
.hstat div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hbig { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1; }
.hstat span:last-child { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; text-align: center; }

/* =====================================================
   QUEM SOMOS
   ===================================================== */
.col-text p { font-size: 14px; color: var(--text-mid); }
.col-text p strong { color: var(--blue-dark); }
.col-text p em { color: var(--blue); font-style: italic; }
.info-card { background: var(--blue-dark); padding: 24px; border-radius: var(--radius); margin-top: 28px; }
.ic-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 13px; color: rgba(255,255,255,0.8); }
.ic-row:last-child { border-bottom: none; }
.ic-label { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; min-width: 56px; padding-top: 2px; }

.mvv-card { padding: 24px; border-left: 4px solid var(--blue); background: var(--offwhite); margin-bottom: 3px; transition: all var(--tr); }
.mvv-card.border-blue  { border-left-color: var(--blue); }
.mvv-card.border-gold  { border-left-color: var(--gold); }
.mvv-card.border-green { border-left-color: var(--green); }
.mvv-card:hover { background: var(--gray); }
.mvv-icon { font-size: 26px; margin-bottom: 10px; }
.mvv-card h4 { color: var(--blue-dark); margin-bottom: 8px; }
.mvv-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 0; }
.val-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.val-list li { font-size: 13px; color: var(--text-mid); padding-left: 14px; position: relative; }
.val-list li::before { content:'▸'; position:absolute; left:0; color:var(--gold); font-size:9px; top:3px; }

.pilares { margin-top: 20px; background: var(--blue-dark); padding: 20px; border-radius: var(--radius); }
.pilares-title { font-family: var(--serif); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pilar { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; color: rgba(255,255,255,0.8); }
.pilar:last-child { border-bottom: none; }
.pnum { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1; min-width: 28px; }

/* =====================================================
   SECTORES
   ===================================================== */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector-card { background: var(--white); border: 1px solid var(--gray); padding: 36px 26px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: all 0.35s; }
.sector-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(to right, var(--blue), var(--gold)); transform:scaleX(0); transition:transform 0.35s; }
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sector-card:hover::before { transform: scaleX(1); }
.sector-icon { font-size: 32px; margin-bottom: 10px; }
.sector-num { position: absolute; top: 16px; right: 18px; font-family: var(--serif); font-size: 42px; font-weight: 700; color: rgba(201,168,76,0.13); line-height: 1; }
.sector-card h3 { font-size: 17px; margin-bottom: 10px; }
.sector-card p { font-size: 13px; color: var(--text-mid); margin-bottom: 16px; }
.sector-bar { width: 32px; height: 2px; background: var(--gold); }

/* =====================================================
   PROJECTOS
   ===================================================== */
.proj-list { display: flex; flex-direction: column; gap: 3px; }
.proj-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: start; background: var(--white); border: 1px solid var(--gray); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); transition: all var(--tr); }
.proj-item:hover { border-color: rgba(201,168,76,0.4); box-shadow: var(--shadow-lg); }
.proj-badge { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; font-family: var(--serif); padding: 6px 10px; color: var(--white); text-align: center; border-radius: 2px; margin-top: 4px; }
.proj-badge.blue      { background: var(--blue); }
.proj-badge.green     { background: var(--green); }
.proj-badge.lightblue { background: var(--blue-mid); }
.proj-badge.brown     { background: #7B5230; }
.proj-body h3 { margin-bottom: 10px; font-size: 18px; }
.proj-body p  { font-size: 13px; color: var(--text-mid); margin-bottom: 12px; }
.proj-details { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.proj-details li { font-size: 12px; color: var(--text-mid); }
.proj-details li span { font-weight: 700; color: var(--blue-dark); margin-right: 4px; }
.proj-stats { display: flex; flex-direction: column; gap: 14px; min-width: 160px; }
.ps { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.ps strong { font-family: var(--serif); font-size: 17px; color: var(--blue); font-weight: 700; }
.ps span   { font-size: 10px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 0.5px; }

/* =====================================================
   GLOFACK NO MUNDO
   ===================================================== */
.world-section { background: var(--blue-dark); }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.world-text p { font-size: 14px; color: rgba(255,255,255,0.7); }
.world-text p strong { color: var(--gold); }
.world-countries { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ctag { padding: 13px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); font-size: 13px; color: rgba(255,255,255,0.8); transition: all var(--tr); }
.ctag:hover { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.3); color: var(--gold); }

/* =====================================================
   PARTICIPAÇÕES
   ===================================================== */
.part-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.part-card { background: var(--white); border-top: 4px solid var(--gold); padding: 28px 22px; box-shadow: var(--shadow); border-radius: var(--radius); transition: all var(--tr); }
.part-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.part-num { font-family: var(--serif); font-size: 36px; font-weight: 700; color: rgba(201,168,76,0.2); line-height: 1; margin-bottom: 10px; }
.part-card h4 { font-size: 14px; color: var(--blue-dark); margin-bottom: 8px; }
.part-card p  { font-size: 12px; color: var(--text-mid); margin-bottom: 0; }

/* =====================================================
   GALERIA
   ===================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.gallery-placeholder { background: var(--gray); border: 2px dashed #C5D0DE; height: 200px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--gray-mid); font-size: 13px; }
.gallery-note { text-align: center; font-size: 13px; color: var(--gray-mid); }
.gallery-note code { background: var(--gray); padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* =====================================================
   CONTACTOS
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 0; }
.citem { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--gray); }
.citem:last-child { border-bottom: none; }
.cicon { font-size: 22px; width: 46px; height: 46px; background: rgba(201,168,76,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.citem strong { display: block; font-family: var(--serif); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--blue-dark); margin-bottom: 6px; }
.citem p { font-size: 13px; color: var(--text-mid); margin: 0; line-height: 1.9; }
.citem a { color: var(--text-mid); }
.citem a:hover { color: var(--blue); }
.contact-form-box { background: var(--white); border: 1px solid var(--gray); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 7px; }
.form-group input, .form-group textarea { width: 100%; background: var(--offwhite); border: 1px solid #D1D9E6; padding: 11px 14px; font-family: var(--sans); font-size: 14px; color: var(--text); outline: none; border-radius: var(--radius); transition: border-color var(--tr); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-ok { margin-top: 14px; padding: 12px 16px; background: rgba(30,107,60,0.08); border: 1px solid rgba(30,107,60,0.3); color: var(--green); font-size: 13px; border-radius: var(--radius); }

/* =====================================================
   FOOTER
   ===================================================== */
footer { background: var(--blue-dark); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-logo { height: 62px; width: auto; object-fit: contain; background: white; padding: 6px 10px; border-radius: var(--radius); margin-bottom: 18px; }
.fbrand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 14px; }
.ftag { font-size: 10px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; }
.flinks h5 { font-family: var(--serif); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(201,168,76,0.25); }
.flinks ul { list-style: none; }
.flinks li { margin-bottom: 9px; }
.flinks a { font-size: 13px; color: rgba(255,255,255,0.5); transition: all var(--tr); }
.flinks a:hover { color: var(--gold); padding-left: 5px; }
.fnl { margin-top: 20px; }
.fnl p { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.nl-row { display: flex; }
.nl-row input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-right: none; padding: 9px 12px; font-size: 13px; color: white; outline: none; border-radius: var(--radius) 0 0 var(--radius); }
.nl-row button { background: var(--gold); border: none; color: var(--blue-dark); padding: 9px 16px; font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; transition: background var(--tr); }
.nl-row button:hover { background: var(--gold-dk); }
.footer-bottom { background: rgba(0,0,0,0.22); border-top: 1px solid rgba(255,255,255,0.05); padding: 18px 0; }
.fbot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.fbot-inner p { font-size: 12px; color: rgba(255,255,255,0.38); }

/* =====================================================
   ANIMAÇÕES
   ===================================================== */
.anim { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVIDADE
   ===================================================== */
@media (max-width: 1100px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .part-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .proj-item     { grid-template-columns: 90px 1fr; }
  .proj-stats    { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  .ps            { text-align: left; }
}
@media (max-width: 820px) {
  .two-col, .world-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hstat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sectors-grid { grid-template-columns: 1fr; }
  .part-grid    { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .world-countries { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .topbar { display: none; }
  .nav-inner { padding: 0 18px; height: 64px; }
  .logo-img { height: 46px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); z-index: 998; }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 13px 20px; border-bottom: 1px solid var(--gray); }
  .dropdown { position: static; box-shadow: none; border-top: none; background: var(--offwhite); }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero-content { padding: 80px 18px 200px; }
  .hero-stats-bar { position: static; }
  .proj-item { grid-template-columns: 1fr; }
  .proj-badge { width: fit-content; }
  .part-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fbot-inner { flex-direction: column; text-align: center; }
}
