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

:root {
  --gold: #F5C300;
  --gold-light: #FBE29B;
  --gold-dark: #C79A00;
  --navy: #001740;
  --navy-2: #0A2C5C;
  --navy-3: #123166;
  --cream: #FFFBF0;
  --ink: #17233D;
  --muted: #5B6B8C;
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
.container { max-width: var(--maxw); margin:0 auto; padding: 0 24px; }
section { position:relative; }
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(245,195,0,0.14); color: var(--gold-dark);
  font-weight:700; font-size:12.5px; letter-spacing:2px; text-transform:uppercase;
  padding: 7px 16px; border-radius:30px; margin-bottom:18px;
}
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--gold); }
h1,h2,h3,h4 { font-weight:800; line-height:1.15; color: var(--navy); }
h2.section-title { font-size: clamp(28px,4vw,42px); margin-bottom:16px; }
h2.section-title .accent { color: var(--gold-dark); }
.section-lead {
  font-family:'Merriweather',Georgia,serif; color: var(--muted); font-size:17px;
  line-height:1.7; max-width: 640px; margin-bottom: 48px;
}
.btn {
  display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:15px;
  padding: 15px 30px; border-radius: 50px; border:none; cursor:pointer;
  transition: all .25s ease; text-align:center;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(245,195,0,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(245,195,0,0.45); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid rgba(0,23,64,0.25); }
.btn-outline-dark:hover { background: rgba(0,23,64,0.06); }

/* reveal on scroll */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ============ NAV ============ */
header.nav {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  padding: 18px 0; transition: all .3s ease;
}
header.nav.scrolled {
  background: rgba(0,23,64,0.92); backdrop-filter: blur(10px);
  padding: 12px 0; box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
header.nav.solid { background: var(--navy); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:10px; }
.brand img { width:42px; height:42px; border-radius:50%; border:2px solid var(--gold); }
.brand span { color:white; font-weight:800; font-size:19px; letter-spacing:1px; }
.nav-links { display:flex; gap:34px; align-items:center; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size:14.5px; font-weight:500;
  position:relative; padding: 4px 0;
}
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover::after { width:100%; }
.nav-links a:hover { color:white; }
.nav-cta { background: var(--gold); color: var(--navy); padding:10px 22px; border-radius:50px; font-weight:700; font-size:14px; }
.nav-cta:hover { filter: brightness(1.05); }
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:8px; }
.burger span { width:26px; height:2.5px; background:white; border-radius:2px; }
.mobile-menu {
  display:none; position:fixed; top:0; right:0; bottom:0; width:78%; max-width:320px;
  background: var(--navy); z-index:1100; padding: 90px 32px 32px; flex-direction:column; gap:26px;
  transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.mobile-menu.open { transform: translateX(0); display:flex; }
.mobile-menu a { color:white; font-size:18px; font-weight:600; }
.menu-close { position:absolute; top:26px; right:26px; background:none; border:none; color:white; font-size:26px; cursor:pointer; }
.scrim { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:1050; }
.scrim.open { display:block; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  min-height: 100vh; display:flex; align-items:center; position:relative; overflow:hidden;
  padding-top: 110px; padding-bottom:80px;
}
.hero .blob { position:absolute; border-radius:50%; filter: blur(2px); opacity:0.9; animation: float 9s ease-in-out infinite; }
.hero .blob1 { width:520px; height:520px; background: radial-gradient(circle at 30% 30%, var(--gold) 0%, rgba(245,195,0,0.05) 70%); top:-160px; right:-140px; }
.hero .blob2 { width:280px; height:280px; background: radial-gradient(circle at 30% 30%, rgba(245,195,0,0.5), transparent 70%); bottom:-80px; left:-60px; animation-delay:1.5s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
.hero-inner { display:grid; grid-template-columns: 1.15fr 0.85fr; gap:50px; align-items:center; position:relative; z-index:2; }
.hero h1 { font-size: clamp(34px,5vw,54px); color:white; margin-bottom:22px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  font-family:'Merriweather',Georgia,serif; color: rgba(255,255,255,0.8); font-size:17px;
  line-height:1.75; max-width:520px; margin-bottom:34px;
}
.hero-ctas { display:flex; gap:16px; flex-wrap:wrap; }
.hero-badges { display:flex; gap:26px; margin-top:46px; flex-wrap:wrap; }
.hero-badge { display:flex; align-items:center; gap:10px; color: rgba(255,255,255,0.85); font-size:13.5px; }
.hero-badge .dot { width:34px; height:34px; border-radius:50%; background: rgba(245,195,0,0.15); border:1px solid rgba(245,195,0,0.4); display:flex; align-items:center; justify-content:center; color:var(--gold); font-weight:800; font-size:13px; flex:0 0 auto;}
.hero-visual { position:relative; display:flex; align-items:center; justify-content:center; }
.hero-visual .ring {
  width: 400px; height:400px; border-radius:50%;
  border: 1.5px dashed rgba(245,195,0,0.35);
  display:flex; align-items:center; justify-content:center; position:relative;
  animation: spin 40s linear infinite;
}
@keyframes spin { from { transform:rotate(0deg) } to { transform:rotate(360deg) } }
.hero-visual .logo-badge {
  width: 300px; height:300px; border-radius:50%; overflow:hidden;
  border: 6px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 14px rgba(245,195,0,0.06);
}
.hero-visual .logo-badge img { width:100%; height:100%; object-fit:cover; }
.hero-visual .float-chip {
  position:absolute; background: white; border-radius:14px; padding:12px 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25); display:flex; align-items:center; gap:10px;
  font-size:12.5px; font-weight:600; color: var(--navy); animation: float 7s ease-in-out infinite;
}
.float-chip.c1 { top: 6%; left: -8%; animation-delay:.3s; }
.float-chip.c2 { bottom: 8%; right: -6%; animation-delay:1s; }
.float-chip .ic { width:26px;height:26px;border-radius:50%;background:var(--gold-light);display:flex;align-items:center;justify-content:center; }
.scroll-cue {
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
  color: rgba(255,255,255,0.5); font-size:11px; 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(to bottom, var(--gold), transparent); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0% { opacity:0; transform:scaleY(0.3);} 50%{opacity:1;} 100% {opacity:0; transform:scaleY(1);} }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  padding: 160px 0 70px; color:white; position:relative; overflow:hidden;
}
.page-hero .blob1 { position:absolute; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle at 30% 30%, var(--gold) 0%, rgba(245,195,0,0.05) 70%); top:-180px; right:-140px; }
.page-hero h1 { color:white; font-size: clamp(30px,4.4vw,46px); position:relative; z-index:2; }
.page-hero p { font-family:'Merriweather',serif; color: rgba(255,255,255,0.78); max-width:640px; margin-top:14px; font-size:16px; line-height:1.7; position:relative; z-index:2; }

/* ============ SOBRE ============ */
.sobre { padding: 120px 0 90px; background: var(--cream); }
.sobre-grid { display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:start; }
.team-grid { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.team-card {
  background:white; border-radius:16px; padding:22px; box-shadow: 0 8px 24px rgba(0,23,64,0.06);
  border-top:3px solid var(--gold); transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(0,23,64,0.12); }
.team-avatar {
  width:48px; height:48px; border-radius:50%; background: var(--navy); color: var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; margin-bottom:14px;
  overflow:hidden;
}
.team-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.team-card h4 { font-size:15px; color:var(--navy); margin-bottom:8px; }
.team-card p { font-size:12.8px; color: var(--muted); line-height:1.55; font-family:'Merriweather',serif; }

/* ============ ÁREAS ============ */
.areas { padding: 100px 0; background: white; }
.areas-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.area-card {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius:20px; padding:34px 28px; color:white; position:relative; overflow:hidden;
  transition: transform .35s ease, box-shadow .35s ease; min-height:210px;
}
.area-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(0,23,64,0.28); }
.area-card .icon {
  width:52px; height:52px; border-radius:14px; background: rgba(245,195,0,0.15);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.area-card .icon svg { width:26px; height:26px; }
.area-card h4 { color:var(--gold); font-size:17px; margin-bottom:10px; }
.area-card p { font-size:13px; color: rgba(255,255,255,0.78); line-height:1.6; font-family:'Merriweather',serif; }

/* ============ METODOLOGIA ============ */
.metodo { padding: 110px 0; background: var(--navy); color:white; position:relative; overflow:hidden; }
.metodo::before {
  content:""; position:absolute; width:600px; height:600px; border-radius:50%;
  background: radial-gradient(circle, rgba(245,195,0,0.08), transparent 70%); top:-200px; left:-200px;
}
.metodo .section-lead, .metodo .eyebrow-wrap { position:relative; z-index:2; }
.metodo h2.section-title { color:white; position:relative; z-index:2; }
.metodo .section-lead { color: rgba(255,255,255,0.75); position:relative; z-index:2; }
.steps-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; position:relative; z-index:2; }
.step {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(245,195,0,0.18); border-radius:16px;
  padding:24px 20px; transition: background .3s ease;
}
.step:hover { background: rgba(245,195,0,0.08); }
.step .num { font-size:26px; font-weight:800; color: var(--gold); margin-bottom:10px; }
.step p { font-size:13px; color: rgba(255,255,255,0.85); line-height:1.5; }

/* ============ QUOTE ============ */
.quote-sec { padding: 100px 0; background: var(--gold); text-align:center; }
.quote-sec .word { font-size:15px; letter-spacing:4px; text-transform:uppercase; color: var(--navy); font-weight:800; margin-bottom:22px; }
.quote-sec blockquote {
  font-family:'Merriweather',Georgia,serif; font-style:italic; font-size: clamp(20px,3vw,28px);
  color: var(--navy); max-width:820px; margin:0 auto; line-height:1.6;
}
.quote-sec .src { margin-top:22px; font-size:13px; color: rgba(0,23,64,0.7); font-weight:600; letter-spacing:1px; }

/* ============ VINCULOS ============ */
.vinculos { padding:100px 0; background: var(--cream); }
.pill-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; }
.pill { background:white; border:1.5px solid rgba(0,23,64,0.1); color:var(--navy); font-weight:600; font-size:13px; padding:10px 20px; border-radius:30px; box-shadow: 0 4px 12px rgba(0,23,64,0.05);}

/* ============ BLOG ============ */
.blog-list { padding: 150px 0 100px; background: var(--cream); min-height:60vh; }
.blog-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:26px; margin-top:20px; }
.post-card {
  background:white; border-radius:18px; overflow:hidden; box-shadow: 0 8px 24px rgba(0,23,64,0.07);
  transition: transform .3s ease, box-shadow .3s ease; display:flex; flex-direction:column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px rgba(0,23,64,0.14); }
.post-card .thumb {
  height:170px; background: linear-gradient(150deg, var(--navy), var(--navy-2));
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.post-card .thumb img { width:100%; height:100%; object-fit:cover; }
.post-card .thumb .fallback { color: var(--gold); font-size:38px; font-weight:800; opacity:0.5; }
.post-card .cat {
  position:absolute; top:12px; left:12px; background: var(--gold); color:var(--navy);
  font-size:10.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:5px 12px; border-radius:20px;
}
.post-card .body { padding:20px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-card .date { font-size:11.5px; color: var(--muted); letter-spacing:1px; text-transform:uppercase; }
.post-card h3 { font-size:16.5px; color:var(--navy); line-height:1.35; }
.post-card p.excerpt { font-family:'Merriweather',serif; font-size:12.8px; color:var(--muted); line-height:1.55; flex:1; }
.post-card .readmore { font-size:12.5px; font-weight:700; color: var(--gold-dark); margin-top:6px; }
.empty-state { text-align:center; padding: 60px 20px; color: var(--muted); font-family:'Merriweather',serif; }

/* article page */
.article { padding: 150px 0 100px; background: var(--cream); }
.article-inner { max-width: 760px; margin:0 auto; }
.article .cat-tag {
  display:inline-block; background: var(--gold); color:var(--navy); font-size:11px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase; padding:6px 16px; border-radius:20px; margin-bottom:18px;
}
.article h1 { font-size: clamp(28px,4vw,40px); margin-bottom:14px; }
.article .meta { color: var(--muted); font-size:13.5px; margin-bottom:30px; }
.article .cover { width:100%; border-radius:18px; margin-bottom:36px; box-shadow: 0 14px 30px rgba(0,23,64,0.12); }
.article .content {
  font-family:'Merriweather',Georgia,serif; font-size:17px; line-height:1.85; color: var(--ink);
}
.article .content p { margin-bottom:20px; }
.article .content h2 { margin: 34px 0 14px; font-size:24px; }
.article .content h3 { margin: 26px 0 12px; font-size:19px; }
.article .content a { color: var(--gold-dark); text-decoration:underline; }
.article .content blockquote {
  border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; margin: 24px 0; font-style:italic; color: var(--muted);
}
.article .content ul, .article .content ol { margin: 0 0 20px 22px; }
.article .back-link { display:inline-flex; align-items:center; gap:8px; margin-top:40px; font-weight:600; color:var(--navy); }

/* ============ CONTATO ============ */
.contato { padding: 110px 0 90px; background: linear-gradient(160deg, var(--navy), var(--navy-3)); color:white; position:relative; overflow:hidden; }
.contato::after { content:""; position:absolute; width:460px; height:460px; border-radius:50%; background: radial-gradient(circle, rgba(245,195,0,0.1), transparent 70%); bottom:-180px; right:-140px; }
.contato-inner { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.contato h2 { color:white; font-size: clamp(28px,4vw,40px); margin-bottom:18px; }
.contato p.lead { font-family:'Merriweather',serif; color:rgba(255,255,255,0.75); line-height:1.7; margin-bottom:0; max-width:480px; }
.contact-cards { display:flex; flex-direction:column; gap:16px; }
.contact-card {
  display:flex; align-items:center; gap:16px; background: rgba(255,255,255,0.06);
  border:1px solid rgba(245,195,0,0.2); border-radius:16px; padding:18px 22px;
  transition: background .25s ease, transform .25s ease;
}
.contact-card:hover { background: rgba(245,195,0,0.1); transform: translateX(6px); }
.contact-card .ic {
  width:46px; height:46px; border-radius:50%; background: var(--gold); color:var(--navy);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; flex:0 0 auto;
}
.contact-card .lbl { font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color: var(--gold-light); margin-bottom:3px; }
.contact-card .val { font-weight:600; font-size:14.5px; word-break:break-word; }

/* ============ FOOTER ============ */
footer { background: #000f28; color: rgba(255,255,255,0.6); padding: 46px 0 26px; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
.footer-brand { display:flex; align-items:center; gap:10px; color:white; font-weight:700; }
.footer-brand img { width:34px; height:34px; border-radius:50%; border:1.5px solid var(--gold); }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a { font-size:13px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top:30px; padding-top:22px; border-top:1px solid rgba(255,255,255,0.08); text-align:center; font-size:12px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display:none; }
  .burger { display:flex; }
  .hero-inner { grid-template-columns: 1fr; text-align:center; }
  .hero p.lead { margin-left:auto; margin-right:auto; }
  .hero-ctas { justify-content:center; }
  .hero-badges { justify-content:center; }
  .hero-visual { margin-top:40px; }
  .hero-visual .ring { width:280px; height:280px; }
  .hero-visual .logo-badge { width:200px; height:200px; }
  .sobre-grid, .contato-inner { grid-template-columns:1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .float-chip { display:none; }
}
/* ============ PROJETOS ============ */
.page-hero { padding:140px 0 60px; background: var(--cream); text-align:center; }
.page-hero .section-lead { max-width:640px; margin:0 auto; }
.projects-teaser { padding:100px 0; background: var(--cream); }
.projects-list { padding:60px 0 100px; background:white; }
.project-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; margin-top:28px; }
.project-card {
  display:block; background:white; border-radius:var(--radius); overflow:hidden;
  box-shadow: 0 8px 24px rgba(0,23,64,0.06); text-decoration:none; color:inherit;
  border-top:3px solid var(--gold); transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(0,23,64,0.12); }
.project-card-cover { width:100%; aspect-ratio: 16/10; overflow:hidden; background: var(--navy); }
.project-card-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.project-card-body { padding:20px 22px 24px; }
.project-card-body h4 { font-size:16px; color:var(--navy); margin:10px 0 8px; }
.project-card-body p { font-size:13px; color:var(--muted); line-height:1.55; font-family:'Merriweather',serif; }
.status-badge {
  display:inline-block; font-size:10.5px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  padding:4px 10px; border-radius:20px;
}
.status-progress { background: var(--gold-light); color: var(--gold-dark); }
.status-done { background: var(--navy); color: var(--gold); }

.project-hero { padding:140px 0 40px; background: var(--cream); }
.project-hero .back-link { display:inline-block; margin-bottom:22px; color:var(--muted); text-decoration:none; font-size:14px; }
.project-hero .back-link:hover { color: var(--navy); }
.project-cover { border-radius:var(--radius); overflow:hidden; margin-bottom:26px; }
.project-cover img { width:100%; display:block; }
.project-hero h1 { font-size:34px; color:var(--navy); margin-bottom:14px; }
.project-meta { display:flex; gap:14px; align-items:center; }
.project-client { font-size:13px; color:var(--muted); }
.project-body { padding:50px 0 100px; background:white; }
.project-body .container { max-width:760px; }
.project-body p { font-size:15px; line-height:1.8; color:var(--ink); font-family:'Merriweather',serif; margin-bottom:18px; }

@media (max-width: 860px) {
  .project-grid { grid-template-columns: 1fr; }
}
