/* ============================================================
   P&Partners — styles.css
   Paleta: Azul corporativo #1565C0, acentos ciano #00B4D8,
           branco, cinzas neutros
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

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

/* ─── TOKENS ─── */
:root {
  --brand:    #1565C0;   /* azul principal do logo          */
  --brand-d:  #0D47A1;   /* azul escuro                     */
  --brand-dd: #0a2e6e;   /* azul muito escuro (navy)        */
  --brand-l:  #1E88E5;   /* azul médio                      */
  --cyan:     #00B4D8;   /* acento ciano/turquesa           */
  --cyan-l:   #90E0EF;   /* ciano claro                     */
  --white:    #ffffff;
  --off-wh:   #F0F5FF;   /* fundo branco azulado            */
  --gray-1:   #EBF0FA;
  --gray-2:   #C5D3EE;
  --gray-3:   #7A92B8;
  --text:     #0f1e35;

  --ff-head: 'Syne', sans-serif;
  --ff-body: 'DM Sans', sans-serif;
  --rad:     12px;
  --rad-lg:  24px;
  --ease:    cubic-bezier(.22,.68,0,1.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── UTILS ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-dd);
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-3);
  line-height: 1.8;
  max-width: 540px;
}
.section-sub.light { color: rgba(255,255,255,.6); }

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--ff-head);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.btn-primary {
  background: var(--cyan);
  color: var(--brand-dd);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,180,216,.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--brand);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--brand-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(21,101,192,.35);
}

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
nav.scrolled {
  background: rgba(13,71,161,.93);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity .25s;
}
.nav-logo-img:hover { opacity: .85; }

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }

.nav-cta { padding: 10px 22px; font-size: .82rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}

/* ═══════════════════════════════
   MENU MOBILE
═══════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(13,71,161,.97);
  backdrop-filter: blur(24px);
  flex-direction: column; align-items: center;
  justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .mobile-logo {
  height: 52px; width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.mobile-menu a {
  font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700;
  color: var(--white); text-decoration: none; transition: color .2s;
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none;
  color: var(--white); font-size: 2rem; cursor: pointer;
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--brand-dd);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(21,101,192,.35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 5%  80%, rgba(0,180,216,.14)  0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-content {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: 100px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  min-height: 100vh;
}
.hero-left { padding: 40px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.3);
  border-radius: 50px; padding: 6px 16px;
  font-size: .78rem; font-weight: 700;
  color: var(--cyan); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}
h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.05;
  color: var(--white); letter-spacing: -.025em;
  margin-bottom: 24px;
}
h1 .accent { color: var(--cyan); }

.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.6);
  line-height: 1.8; margin-bottom: 40px; max-width: 460px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-family: var(--ff-head); font-size: 2rem;
  font-weight: 800; color: var(--white);
}
.hero-stat-label {
  font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 2px;
}
.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

/* Orbital visual */
.hero-visual {
  width: 100%; max-width: 460px;
  aspect-ratio: 1; position: relative;
}
.hero-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(21,101,192,.3);
}
.hc1 { inset: 0; animation: spin 32s linear infinite; }
.hc2 { inset: 11%; animation: spin 24s linear infinite reverse; border-color: rgba(0,180,216,.22); }
.hc3 { inset: 22%; animation: spin 18s linear infinite; border-color: rgba(144,224,239,.25); }
.hero-core {
  position: absolute; inset: 34%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 80px rgba(21,101,192,.55), 0 0 40px rgba(0,180,216,.35);
}
.hero-core svg { width: 42%; opacity: .95; }
.orbit-dot {
  position: absolute; width: 10px; height: 10px;
  border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.od1 { animation: orbit1 8s  linear infinite; }
.od2 { animation: orbit2 12s linear infinite; }
.od3 { animation: orbit3 10s linear infinite; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span {
  font-size: .7rem; color: rgba(255,255,255,.3);
  letter-spacing: .1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════
   SOBRE
═══════════════════════════════ */
#sobre { padding: 120px 0; background: var(--off-wh); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-left p {
  font-size: 1rem; color: #3d5275; line-height: 1.85; margin-top: 18px;
}
.about-pillars {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-top: 36px;
}
.pillar {
  background: var(--white); border-radius: var(--rad);
  padding: 24px 18px; text-align: center;
  border: 1px solid var(--gray-2);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(21,101,192,.1);
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.pillar-icon svg { width: 20px; color: var(--white); }
.pillar h4 {
  font-family: var(--ff-head); font-size: .88rem;
  font-weight: 700; color: var(--brand-dd);
}
.about-card {
  background: var(--brand-dd); border-radius: var(--rad-lg);
  padding: 48px 44px; color: var(--white);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.2), transparent 65%);
}
.about-card blockquote {
  font-size: 1.1rem; font-style: italic;
  color: rgba(255,255,255,.72); line-height: 1.75;
  border-left: 3px solid var(--cyan);
  padding-left: 20px; margin-bottom: 28px;
}
.about-card cite {
  font-size: .75rem; color: var(--gray-3);
  font-style: normal; letter-spacing: .07em; text-transform: uppercase;
}
.about-card-divider {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.about-card-label {
  font-family: var(--ff-head); font-size: .72rem;
  font-weight: 700; color: var(--cyan);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.about-card-text {
  font-size: .9rem; color: rgba(255,255,255,.52); line-height: 1.8;
}

/* ═══════════════════════════════
   SERVIÇOS
═══════════════════════════════ */
#servicos { padding: 120px 0; background: var(--white); }
.services-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; margin-bottom: 60px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.service-card {
  background: var(--gray-1); border-radius: var(--rad-lg);
  padding: 32px 26px; border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover {
  background: var(--white); border-color: var(--gray-2);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(21,101,192,.1);
}
.service-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-d), var(--brand-l));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sc-icon svg { width: 24px; color: var(--white); }
.service-card h3 {
  font-family: var(--ff-head); font-size: 1rem;
  font-weight: 700; color: var(--brand-dd); margin-bottom: 10px;
}
.service-card p { font-size: .87rem; color: var(--gray-3); line-height: 1.7; }
.services-cta { text-align: center; margin-top: 52px; }

/* ═══════════════════════════════
   PORQUÊ NÓS
═══════════════════════════════ */
#porque {
  padding: 120px 0;
  background: var(--brand-dd);
  position: relative; overflow: hidden;
}
#porque::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,.2), transparent 60%);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.why-features { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.why-feat {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; border-radius: var(--rad);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  transition: background .3s, border-color .3s;
}
.why-feat:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0,180,216,.25);
}
.wf-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.25);
  display: flex; align-items: center; justify-content: center;
}
.wf-icon svg { width: 20px; color: var(--cyan); }
.wf-text h4 {
  font-family: var(--ff-head); font-size: .95rem;
  font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.wf-text p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.65; }
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-stat-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rad-lg); padding: 32px 24px; text-align: center;
  transition: background .3s;
}
.why-stat-card:hover { background: rgba(255,255,255,.09); }
.why-stat-card.accent-card {
  background: linear-gradient(135deg, rgba(0,180,216,.15), rgba(21,101,192,.2));
  border-color: rgba(0,180,216,.25);
}
.wsc-num {
  font-family: var(--ff-head); font-size: 2.4rem;
  font-weight: 800; color: var(--white); line-height: 1;
}
.wsc-num span { color: var(--cyan); }
.wsc-label { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 8px; }

/* ═══════════════════════════════
   PARCEIROS
═══════════════════════════════ */
#parceiros {
  padding: 80px 0; background: var(--off-wh);
  border-top: 1px solid var(--gray-2);
}
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-strip {
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 12px 28px;
}
.partner-badge {
  background: var(--white); border: 1px solid var(--gray-2);
  border-radius: 10px; padding: 18px 32px;
  font-family: var(--ff-head); font-size: .95rem;
  font-weight: 700; color: var(--brand-dd); letter-spacing: .05em;
  transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.partner-badge:hover {
  box-shadow: 0 8px 24px rgba(21,101,192,.14);
  transform: translateY(-3px);
  border-color: var(--brand-l);
}

/* ═══════════════════════════════
   CONTACTO
═══════════════════════════════ */
#contacto { padding: 120px 0; background: var(--white); }
.contact-header { text-align: center; margin-bottom: 64px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contact-left p { color: var(--gray-3); line-height: 1.8; margin-top: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 18px; color: var(--white); }
.ci-label {
  font-size: .72rem; font-weight: 700; color: var(--gray-3);
  text-transform: uppercase; letter-spacing: .1em;
}
.ci-val { font-size: .95rem; color: var(--brand-dd); font-weight: 600; margin-top: 2px; }
.contact-form {
  background: var(--off-wh); border-radius: var(--rad-lg);
  padding: 48px 44px; border: 1px solid var(--gray-2);
}
.contact-form h3 {
  font-family: var(--ff-head); font-size: 1.3rem;
  font-weight: 700; color: var(--brand-dd); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: .75rem; font-weight: 700; color: var(--brand-dd);
  text-transform: uppercase; letter-spacing: .08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white); border: 1.5px solid var(--gray-2);
  border-radius: var(--rad); padding: 14px 16px;
  font-family: var(--ff-body); font-size: .93rem;
  color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-l);
  box-shadow: 0 0 0 3px rgba(30,136,229,.14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-3); }
.form-submit {
  width: 100%; padding: 16px;
  justify-content: center; font-size: .95rem; border-radius: var(--rad);
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer { background: var(--brand-dd); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo {
  height: 44px; width: auto; display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: .87rem; color: rgba(255,255,255,.35);
  line-height: 1.75; max-width: 280px;
}
.footer-col h5 {
  font-family: var(--ff-head); font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.4); text-transform: uppercase;
  letter-spacing: .14em; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: .87rem; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; padding-top: 28px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.22); }
.footer-bottom p a { color: var(--cyan); text-decoration: none; }

/* ═══════════════════════════════
   ANIMAÇÕES
═══════════════════════════════ */
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes orbit1 {
  from { transform: translate(-50%,-50%) rotate(0deg)   translateX(47%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(47%) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: translate(-50%,-50%) rotate(90deg)  translateX(47%) rotate(-90deg); }
  to   { transform: translate(-50%,-50%) rotate(450deg) translateX(47%) rotate(-450deg); }
}
@keyframes orbit3 {
  from { transform: translate(-50%,-50%) rotate(180deg) translateX(47%) rotate(-180deg); }
  to   { transform: translate(-50%,-50%) rotate(540deg) translateX(47%) rotate(-540deg); }
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; }
  50%     { opacity: 1; }
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease, transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ═══════════════════════════════
   RESPONSIVIDADE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content {
    grid-template-columns: 1fr; gap: 40px;
    padding-top: 120px; min-height: auto; padding-bottom: 80px;
  }
  .hero-right  { order: -1; }
  .hero-visual { max-width: 260px; }
  .hero-stats  { gap: 24px; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-pillars { grid-template-columns: repeat(3,1fr); }
  .why-right   { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  h1 { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .about-pillars { grid-template-columns: 1fr; }
  .why-right     { grid-template-columns: 1fr; }
  .hero-stats    { flex-direction: column; gap: 16px; }
}
