/* ==========================================================================
   INSTITUTO ARBOR — Apresentação Institucional
   Identidade Visual: Verde Floresta · Terra · Branco Natural
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* === CORES PRIMÁRIAS (derivadas do logotipo) === */
  --forest:    #1A5C2A;   /* verde floresta — cor principal logo ARBOR */
  --forest-2:  #21712F;   /* verde médio */
  --forest-lt: #2E8B40;   /* verde vivo / hover */
  --leaf:      #4CAF50;   /* verde folha — destaques e chips */
  --leaf-lt:   #81C784;   /* verde claro — backgrounds suaves */

  /* === CORES DE APOIO === */
  --earth:     #6D4C2B;   /* marrom tronco — acento quente */
  --earth-lt:  #9B6B3E;   /* marrom médio */
  --earth-pale:#C8A882;   /* bege amadeirado */
  --amber:     #D4A017;   /* âmbar dourado — CTAs de destaque */
  --amber-lt:  #F0C040;   /* âmbar claro hover */
  --amber-dk:  #B8880F;   /* âmbar escuro */

  /* === FUNDO E TEXTO === */
  --bg:        #F4F7F2;   /* fundo verde neutro muito claro */
  --bg-alt:    #EAF2E8;   /* fundo alternativo */
  --ink:       #1C2E1E;   /* texto principal — quase preto verde */
  --muted:     #5A7060;   /* texto secundário verde-acinzentado */
  --white:     #FFFFFF;
  --line:      rgba(26,92,42,.12);
  --shadow:    0 20px 44px -18px rgba(26,92,42,.30);
  --shadow-sm: 0 8px 22px -12px rgba(26,92,42,.25);
  --radius:    26px;
  --maxw:      1180px;

  /* Strip pattern — folha e galho */
  --strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Crect width='40' height='40' fill='%231A5C2A'/%3E%3Crect x='40' width='40' height='40' fill='%236D4C2B'/%3E%3Cellipse cx='20' cy='18' rx='10' ry='14' fill='none' stroke='%234CAF50' stroke-width='2'/%3E%3Cline x1='20' y1='32' x2='20' y2='40' stroke='%234CAF50' stroke-width='2'/%3E%3Ccircle cx='60' cy='20' r='10' fill='none' stroke='%23C8A882' stroke-width='2'/%3E%3Cpath d='M60 10 Q65 20 60 30' fill='none' stroke='%23C8A882' stroke-width='1.5'/%3E%3Cpath d='M60 10 Q55 20 60 30' fill='none' stroke='%23C8A882' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
  color: var(--forest);
  letter-spacing: -.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
section { position: relative; }

/* Faixa decorativa */
.strip {
  height: 40px;
  background-image: var(--strip);
  background-repeat: repeat-x;
  background-size: auto 40px;
}

/* ========================= HEADER ========================= */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 14px 26px;
  background: rgba(244, 247, 242, .75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
}
header.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 32px -20px rgba(26,92,42,.45);
  border-color: var(--line);
  padding: 8px 26px;
}
header .logo { display: flex; align-items: center; gap: 10px; }
header .logo img { height: 46px; width: auto; transition: height .3s; }
header.scrolled .logo img { height: 38px; }
nav.top { display: flex; align-items: center; gap: 5px; }
nav.top a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 13.5px; color: var(--forest);
  padding: 8px 12px; border-radius: 999px;
  transition: background .2s, color .2s;
}
nav.top a:hover { background: rgba(26,92,42,.1); color: var(--forest); }

/* Botão Área Administrativa / CTA header */
nav.top a.btn-admin, nav.top a.btn-mail,
.btn-admin, .btn-mail {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest); color: #fff !important;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  padding: 9px 18px; border-radius: 999px; border: none;
  cursor: pointer; font-size: 13.5px; text-decoration: none;
  box-shadow: 0 10px 20px -10px rgba(26,92,42,.7);
  transition: transform .15s, box-shadow .2s, background .2s;
}
nav.top a.btn-admin:hover, nav.top a.btn-mail:hover,
.btn-admin:hover, .btn-mail:hover {
  transform: translateY(-2px);
  background: var(--forest-lt) !important;
  color: #fff !important;
  box-shadow: 0 16px 26px -12px rgba(26,92,42,.8);
}
nav.top a.btn-admin svg, nav.top a.btn-mail svg,
.btn-admin svg, .btn-mail svg { width: 16px; height: 16px; fill: #fff !important; }

/* Toggle mobile */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--forest); border-radius: 2px; margin: 5px 0; transition: .3s; }

@media(max-width: 960px) {
  nav.top {
    position: fixed; top: 68px; right: 14px; left: 14px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-radius: 20px; padding: 14px;
    box-shadow: var(--shadow);
    transform: translateY(-14px); opacity: 0; pointer-events: none; transition: .25s;
  }
  nav.top.open { transform: none; opacity: 1; pointer-events: auto; }
  nav.top a { padding: 11px 14px; }
  .nav-toggle { display: block; }
}

/* ========================= HERO ========================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-top: 120px; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, #e8f5e9 0%, #f1f8e9 50%, #e8f5e9 100%);
}
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26,92,42,.08) 0%,
    rgba(244,247,242,.45) 52%,
    rgba(244,247,242,.96) 100%);
}
.hero-badge {
  position: absolute; top: 120px; right: 5%;
  width: clamp(110px, 13vw, 170px); z-index: 2;
}
.hero-badge-inner {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 18%;
  box-shadow: 0 16px 32px -14px rgba(26,92,42,.55);
  animation: float 4s ease-in-out infinite;
}
.hero-badge-inner small {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: clamp(8px, 1vw, 11px); color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .06em;
}
.hero-badge-inner b {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(10px, 1.4vw, 16px); color: var(--amber-lt);
  text-transform: uppercase; letter-spacing: .02em; margin-top: 2px;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.hero-inner { position: relative; z-index: 1; padding-bottom: 80px; }
.hero .leaf-deco {
  width: 56px; height: 56px; margin-bottom: 16px; opacity: .8;
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway { 0%,100%{transform:rotate(-5deg)} 50%{transform:rotate(5deg)} }
.hero h1 {
  color: var(--forest);
  font-size: clamp(42px, 8vw, 100px);
  font-weight: 900;
  text-shadow: 0 2px 24px rgba(255,255,255,.8);
  max-width: 18ch;
}
.hero .lead {
  color: var(--ink);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 600;
  max-width: 54ch; margin: 18px 0 0;
  text-shadow: 0 1px 10px rgba(255,255,255,.9);
}
.hero .lead b { color: var(--earth); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: none;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn.primary {
  background: var(--amber); color: var(--forest);
  box-shadow: 0 14px 28px -12px rgba(212,160,23,.75);
}
.btn.primary:hover { transform: translateY(-3px); background: var(--amber-lt); }
.btn.ghost {
  background: rgba(255,255,255,.65); color: var(--forest);
  border: 2px solid var(--forest); backdrop-filter: blur(4px);
}
.btn.ghost:hover { background: var(--forest); color: #fff; transform: translateY(-3px); }
.btn.green {
  background: var(--forest); color: #fff;
  box-shadow: 0 14px 28px -12px rgba(26,92,42,.65);
}
.btn.green:hover { transform: translateY(-3px); background: var(--forest-lt); }

/* ========================= HERO LOGO DISPLAY (direita flutuante) ========================= */
.hero-logo-display {
  position: absolute;
  top: 50%; right: 6%;
  transform: translateY(-54%);
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; isolation: isolate;
}

/* Logo principal */
.hero-logo-display > img {
  position: relative; z-index: 3;
  width: 70%;
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255,255,255,.55),
    0 24px 56px -16px rgba(26,92,42,.50);
  animation: heroLogoFloat 6s ease-in-out infinite;
  transform-origin: center;
  backdrop-filter: blur(2px);
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0px)   scale(1); }
  33%       { transform: translateY(-10px) scale(1.018); }
  66%       { transform: translateY(-5px)  scale(1.009); }
}

/* Brilho por baixo do logo */
.hld-glow {
  position: absolute; z-index: 1;
  width: 75%; height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,255,255,.55) 0%,
    rgba(46,139,64,.18) 50%,
    transparent 72%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.08); }
}

/* Anéis decorativos */
.hld-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  animation: ringExpand 6s ease-in-out infinite;
}
.hld-ring-1 { width: 84%;  height: 84%;  animation-delay: 0s;   border-color: rgba(255,255,255,.35); }
.hld-ring-2 { width: 100%; height: 100%; animation-delay: .7s;  border-color: rgba(255,255,255,.18); border-style: dashed; }
.hld-ring-3 { width: 116%; height: 116%; animation-delay: 1.4s; border-color: rgba(255,255,255,.10); }

@keyframes ringExpand {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.04); opacity: .7; }
}

/* Badge de credencial inline no conteúdo */
.hero-cred {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.45);
  color: var(--forest);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px -6px rgba(26,92,42,.25);
}
.cred-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(76,175,80,.3);
  animation: credPulse 2s ease-in-out infinite;
}
@keyframes credPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76,175,80,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(76,175,80,.12); }
}

/* hero-inner por cima de tudo */
.hero-inner { position: relative; z-index: 2; }

/* ========================= RIBBON ========================= */
.ribbon { background: var(--forest); color: #fff; overflow: hidden; white-space: nowrap; padding: 13px 0; }
.ribbon .track {
  display: inline-flex; gap: 40px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .04em; animation: marq 28s linear infinite;
}
.ribbon .track span { opacity: .9; }
.ribbon .track b { color: var(--amber-lt); }
.ribbon .track i { color: var(--leaf-lt); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ========================= SECTIONS BASE ========================= */
.sec { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: var(--earth); font-size: 13.5px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px;
  border-radius: 3px; background: var(--leaf);
}
.sec-title { font-size: clamp(30px, 4.8vw, 52px); }
.sec-title .g { color: var(--forest-lt); }
.sec-title .a { color: var(--amber); }
.sec-title .e { color: var(--earth); }
.sec-lead { color: var(--muted); font-size: 17.5px; max-width: 60ch; margin-top: 16px; font-weight: 500; }

/* ========================= QUEM SOMOS ========================= */
.quemsomos { background: linear-gradient(180deg, #fff, var(--bg)); }
.qs-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.qs-grid p { color: var(--ink); font-size: 17.5px; font-weight: 500; line-height: 1.75; }
.qs-grid p b { color: var(--forest); font-weight: 700; }
.qs-headline {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05; margin-top: 24px;
}
.qs-headline .l1 { color: var(--forest); }
.qs-headline .l2 { color: var(--earth); }
.qs-headline .l3 { color: var(--forest); }
.qs-headline .l4 { color: var(--amber); }
.qs-photo { position: relative; }
.qs-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.qs-photo::before {
  content: ""; position: absolute;
  inset: -18px -18px auto auto;
  width: 100px; height: 100px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--leaf), var(--forest)); z-index: -1;
  opacity: .7;
}
.qs-photo::after {
  content: ""; position: absolute;
  bottom: -18px; left: -18px;
  width: 80px; height: 80px;
  border-radius: 22px;
  background: var(--earth-pale); z-index: -1;
}
@media(max-width: 860px) { .qs-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ========================= POR QUE O INSTITUTO (PILARES) ========================= */
.porque { background: var(--bg); }
.pilares { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 20px; }
.pilar {
  background: #fff; border-radius: var(--radius); padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s; border: 1px solid var(--line);
}
.pilar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pilar::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--leaf));
}
.pilar:nth-child(2)::before { background: linear-gradient(90deg, var(--earth), var(--earth-pale)); }
.pilar:nth-child(3)::before { background: linear-gradient(90deg, var(--amber-dk), var(--amber-lt)); }
.pilar .seal {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--forest), var(--forest-lt));
  margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(26,92,42,.5);
}
.pilar .seal svg { width: 30px; height: 30px; fill: #fff; }
.pilar:nth-child(2) .seal { background: linear-gradient(135deg, var(--earth), var(--earth-lt)); box-shadow: 0 10px 22px -10px rgba(109,76,43,.5); }
.pilar:nth-child(3) .seal { background: linear-gradient(135deg, var(--amber-dk), var(--amber)); box-shadow: 0 10px 22px -10px rgba(212,160,23,.5); }
.pilar h3 { font-size: 21px; margin-bottom: 10px; color: var(--forest); }
.pilar p { color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.65; }
.stat-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.stat {
  flex: 1 1 150px; background: var(--forest); color: #fff;
  border-radius: 20px; padding: 24px 22px; text-align: center;
}
.stat b { display: block; font-family: 'Montserrat', sans-serif; font-size: 38px; color: var(--amber-lt); line-height: 1; font-weight: 800; }
.stat span { font-weight: 600; font-size: 13px; opacity: .9; }
@media(max-width: 860px) { .pilares { grid-template-columns: 1fr; } }

/* ========================= RODA DE SERVIÇOS ========================= */
.solucoes { background: linear-gradient(180deg, var(--bg), #fff); text-align: center; }
.wheel-wrap { position: relative; width: min(620px, 92vw); aspect-ratio: 1/1; margin: 36px auto 0; }
.wheel-ring { position: absolute; inset: 14%; border: 2px dashed rgba(26,92,42,.25); border-radius: 50%; }
.wheel-center {
  position: absolute; top: 50%; left: 50%; width: 34%; height: 34%;
  transform: translate(-50%,-50%);
  background: #fff; border-radius: 50%; box-shadow: var(--shadow);
  display: grid; place-items: center; text-align: center; padding: 6%; z-index: 3;
  border: 3px solid var(--bg-alt);
}
.wheel-center img { width: 60%; margin: 0 auto 6px; border-radius: 50%; }
.wheel-center b { font-family: 'Montserrat', sans-serif; color: var(--forest); font-size: clamp(11px, 2vw, 16px); line-height: 1.1; font-weight: 700; }
.node {
  position: absolute; width: 22%; aspect-ratio: 1/1; border-radius: 50%;
  transform: translate(-50%,-50%);
  display: grid; place-items: center; text-align: center;
  cursor: pointer; color: #fff; padding: 4%;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,.4);
  transition: transform .2s; border: none; font-family: inherit;
}
.node:hover, .node:focus-visible { transform: translate(-50%,-50%) scale(1.1); z-index: 4; outline: none; }
.node .ico { width: 28%; margin-bottom: 3px; fill: #fff; }
.node span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(8px, 1.5vw, 12px); line-height: 1.1; }
@media(max-width: 560px) { .node span { font-size: 8px; } .node .ico { width: 22%; } }

/* Detalhe do serviço */
.detail { max-width: 960px; margin: 44px auto 0; text-align: left; }
.detail-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
}
.detail-card .media { position: relative; min-height: 280px; }
.detail-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-card .body { padding: 34px 34px 30px; }
.detail-card .ico-lg {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 14px;
}
.detail-card .ico-lg svg { width: 26px; height: 26px; fill: #fff; }
.detail-card h3 { font-size: 25px; margin-bottom: 10px; }
.detail-card .desc { color: var(--muted); font-weight: 500; font-size: 15px; margin-bottom: 18px; line-height: 1.7; }
.detail-card .slogan {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; margin-bottom: 20px;
}
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.benefit { background: var(--forest); color: #fff; border-radius: 14px; padding: 14px 12px; }
.benefit b { display: block; font-family: 'Montserrat', sans-serif; font-size: 13.5px; margin-bottom: 3px; }
.benefit span { font-size: 12.5px; font-weight: 500; opacity: .9; line-height: 1.35; }
@media(max-width: 780px) {
  .detail-card { grid-template-columns: 1fr; }
  .detail-card .media { min-height: 220px; }
  .benefits { grid-template-columns: 1fr; }
}

/* ========================= GOVERNANÇA ========================= */
.gov { background: var(--forest); color: #fff; }
.gov .sec-title, .gov h3 { color: #fff; }
.gov .eyebrow { color: var(--amber-lt); }
.gov .eyebrow::before { background: var(--amber-lt); }
.gov .sec-lead { color: rgba(255,255,255,.82); }
.gov-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 34px; }
.gcard {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 30px 26px;
  transition: transform .2s, background .2s;
}
.gcard:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); }
.gcard .gi {
  width: 50px; height: 50px; border-radius: 16px;
  background: rgba(255,255,255,.15); display: grid; place-items: center;
  margin-bottom: 16px; font-family: 'Montserrat', sans-serif; font-size: 22px; color: var(--amber-lt);
  border: 1px solid rgba(255,255,255,.2);
}
.gcard h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.gcard p { color: rgba(255,255,255,.78); font-weight: 500; font-size: 14.5px; line-height: 1.65; }
@media(max-width: 860px) { .gov-grid { grid-template-columns: 1fr; } }

/* ========================= PORTFÓLIO ========================= */
.portfolio { background: linear-gradient(180deg, #fff, var(--bg)); }
.port-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 22px;
  margin-top: 16px; max-width: 860px; margin-left: auto; margin-right: auto;
}
.port-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.port-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.port-ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-alt); display: grid; place-items: center;
}
.port-ic svg { width: 24px; height: 24px; fill: var(--forest); }
.port-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--forest);
  background: rgba(26,92,42,.1); padding: 6px 12px; border-radius: 999px;
}
.port-card h3 { font-size: 20px; margin-bottom: 10px; }
.port-card p { color: var(--muted); font-weight: 500; font-size: 14.5px; line-height: 1.6; flex: 1; }
.port-stats { display: flex; gap: 26px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.port-stats b { display: block; font-family: 'Montserrat', sans-serif; font-size: 28px; color: var(--earth); line-height: 1; }
.port-stats span { font-size: 12px; font-weight: 600; color: var(--muted); }
/* Destaque verde */
.port-card.destaque { background: linear-gradient(155deg, var(--forest) 0%, #0f3d1a 100%); border-color: transparent; color: #fff; }
.port-card.destaque .port-ic { background: rgba(255,255,255,.12); }
.port-card.destaque .port-ic svg { fill: var(--amber-lt); }
.port-card.destaque .port-tag { color: var(--forest); background: var(--amber-lt); }
.port-card.destaque h3 { color: #fff; }
.port-card.destaque p { color: rgba(255,255,255,.82); }
.port-card.destaque .port-stats { border-top-color: rgba(255,255,255,.16); }
.port-card.destaque .port-stats b { color: var(--amber-lt); }
.port-card.destaque .port-stats span { color: rgba(255,255,255,.7); }
@media(max-width: 860px) { .port-grid { grid-template-columns: 1fr; } }

/* ========================= FECHO ========================= */
.fecho { background: linear-gradient(180deg, #fff, var(--bg)); text-align: center; }
.pills { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pill-t {
  font-family: 'Montserrat', sans-serif; font-weight: 900; color: #fff;
  font-size: clamp(24px, 4.8vw, 48px); padding: 6px 28px; border-radius: 16px; line-height: 1.15;
}
.pill-t.f  { background: var(--forest); }
.pill-t.e  { background: var(--earth); }
.pill-t.a  { background: var(--amber-dk); }
.pill-t.fl { background: var(--forest-lt); }
.mission {
  max-width: 64ch; margin: 28px auto 0;
  color: var(--ink); font-weight: 500; font-size: 17.5px; line-height: 1.8;
}

/* ========================= CONTATO ========================= */
.contato { background: var(--bg); overflow: hidden; }
.ct-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.ct-grid h2 { font-size: clamp(28px, 4.2vw, 46px); }
.ct-grid h2 .a { color: var(--amber); }
.ct-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ct-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-sm); font-weight: 600; color: var(--forest);
  transition: transform .15s;
}
.ct-item:hover { transform: translateX(5px); }
.ct-item .ci {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--forest); display: grid; place-items: center; flex: none;
}
.ct-item .ci svg { width: 20px; height: 20px; fill: #fff; }
.ct-item:nth-child(1) .ci { background: #E1306C; }
.ct-item:nth-child(2) .ci { background: #1877F2; }
.ct-item:nth-child(3) .ci { background: var(--forest); }
.ct-item:nth-child(4) .ci { background: #25D366; }
@media(max-width: 860px) { .ct-grid { grid-template-columns: 1fr; } }

/* Formulário de contato */
.cform {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 30px 28px; border: 1px solid var(--line);
}
.cform h3 { font-size: 22px; margin-bottom: 4px; }
.cform .sub { color: var(--muted); font-weight: 500; font-size: 14px; margin: 0 0 18px; }
.cform .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cfield { margin-bottom: 12px; }
.cfield label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12.5px; color: var(--forest); margin-bottom: 5px; letter-spacing: .02em; }
.cfield input, .cfield select, .cfield textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px;
  font-family: 'Inter', inherit; font-size: 14.5px; font-weight: 500;
  color: var(--ink); background: var(--bg); transition: border-color .2s, background .2s;
}
.cfield textarea { resize: vertical; min-height: 96px; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus {
  outline: none; border-color: var(--forest); background: #fff;
}
.cform .btn-submit { margin-top: 8px; }
.cform-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; display: none; }
.cform-msg.show { display: block; }
.cform-msg.ok  { background: rgba(26,92,42,.1); color: var(--forest); }
.cform-msg.err { background: rgba(220,50,50,.1); color: #c0392b; }
@media(max-width: 560px) { .cform .grid2 { grid-template-columns: 1fr; } }

/* ========================= FOOTER ========================= */
footer.foot { background: var(--forest); color: #fff; padding: 46px 0 30px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-in img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 4px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: block;
}
.foot-in .muted { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 500; }
.foot-in .muted b { color: var(--amber-lt); font-weight: 700; }

/* ========================= LOGIN MODAL ========================= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(10,28,12,.72); backdrop-filter: blur(6px); animation: fade .3s; }
.modal .panel {
  position: relative; width: min(430px,100%); background: #fff; border-radius: 28px;
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  animation: pop .35s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop  { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.modal .head {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: #fff; padding: 30px 30px 26px; text-align: center; position: relative;
}
.modal .head img { height: 40px; margin: 0 auto 12px; filter: brightness(0) invert(1); }
.modal .head h3 { color: #fff; font-size: 22px; }
.modal .head p { color: rgba(255,255,255,.8); font-weight: 500; font-size: 13.5px; margin: 4px 0 0; }
.modal .close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 18px; line-height: 1; transition: background .2s;
}
.modal .close:hover { background: rgba(255,255,255,.3); }
.gate { padding: 30px 30px 30px; text-align: center; }
.gate-ic {
  width: 66px; height: 66px; border-radius: 20px; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--forest-lt), var(--forest));
  box-shadow: 0 14px 24px -12px rgba(26,92,42,.5);
}
.gate-ic svg { width: 32px; height: 32px; fill: #fff; }
.gate-txt { color: var(--ink); font-weight: 500; font-size: 15px; margin: 0 0 22px; line-height: 1.65; }
.gate-txt b { color: var(--forest); }
.gate-hint { margin: 16px 0 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.gate-hint b { color: var(--forest); }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; font-weight: 500; line-height: 1.55; }
.form-note svg { width: 13px; height: 13px; fill: var(--leaf); vertical-align: -2px; margin-right: 3px; }
.btn-submit {
  width: 100%; background: var(--forest); color: #fff; border: none; cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px;
  padding: 15px; border-radius: 14px;
  box-shadow: 0 14px 24px -12px rgba(26,92,42,.7); transition: transform .15s, background .2s;
}
.btn-submit:hover { transform: translateY(-2px); background: var(--forest-lt); }
.btn-submit svg { width: 19px; height: 19px; fill: #fff; }

/* Back to top */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--forest); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: .3s; box-shadow: var(--shadow-sm);
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--forest-lt); }
.totop svg { width: 20px; height: 20px; fill: #fff; }

/* ========================= REVEAL ========================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

@media(prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   PÁGINAS DE CADASTRO (Banco de Fornecedores / Banco de Talentos)
   ========================================================================== */
.page-wrap { padding-top: 78px; }
.page-hero {
  background: radial-gradient(110% 85% at 80% 0%, rgba(26,92,42,.13), transparent 55%),
              linear-gradient(180deg, #fff, var(--bg));
  padding: 54px 0 40px; text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(32px, 6vw, 58px); }
.page-hero h1 .a { color: var(--amber); }
.page-hero h1 .e { color: var(--earth); }
.page-hero p { color: var(--muted); font-weight: 500; font-size: 17px; max-width: 60ch; margin: 14px auto 0; }
.backlink { display: inline-flex; align-items: center; gap: 7px; color: var(--forest); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.backlink svg { width: 16px; height: 16px; fill: currentColor; }

/* Wizard */
.wizard { max-width: 900px; margin: 0 auto; padding: 0 22px 90px; }
.steps-bar { display: flex; gap: 6px; margin: 0 0 30px; flex-wrap: wrap; justify-content: center; }
.stepdot {
  display: flex; align-items: center; gap: 9px; padding: 8px 14px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; color: var(--muted);
  transition: .25s;
}
.stepdot b {
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg-alt);
  color: var(--forest); display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800;
}
.stepdot.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.stepdot.active b { background: var(--amber-lt); color: var(--forest); }
.stepdot.done b { background: var(--leaf); color: #fff; }
@media(max-width: 640px) { .stepdot span { display: none; } .stepdot { padding: 8px; } }

.wcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 34px 34px 30px; }
.wstep { display: none; animation: fadeStep .35s ease; }
.wstep.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } }
.wstep h3 { font-size: 20px; margin-bottom: 4px; }
.wstep .stephint { color: var(--muted); font-weight: 500; font-size: 14px; margin: 0 0 22px; }
.fsub {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: var(--forest); font-size: 14px; margin: 22px 0 10px;
  padding-top: 14px; border-top: 1px dashed var(--line);
}
.fsub:first-of-type { border-top: none; padding-top: 0; }

.fgrid { display: grid; gap: 14px; }
.fgrid.c2 { grid-template-columns: 1fr 1fr; }
.fgrid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.fgrid .span2 { grid-column: span 2; }
@media(max-width: 640px) {
  .fgrid.c2, .fgrid.c3 { grid-template-columns: 1fr; }
  .fgrid .span2 { grid-column: auto; }
}
.req { color: #c0392b; }
.inline-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 6px; cursor: pointer; }

/* Checkgrid */
.checkgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
@media(max-width: 760px) { .checkgrid { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 480px) { .checkgrid { grid-template-columns: 1fr; } }
.checkchip {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--bg);
  font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: .15s;
}
.checkchip:hover { border-color: var(--forest); }
.checkchip input { accent-color: var(--forest); width: 16px; height: 16px; flex: none; }
.checkchip.on { border-color: var(--forest); background: rgba(26,92,42,.06); }

.radio-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.radio-row label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink); cursor: pointer; }
.radio-row input { accent-color: var(--forest); width: 17px; height: 17px; }

.filefield {
  border: 2px dashed var(--line); border-radius: 14px;
  padding: 14px 16px; background: var(--bg); transition: .2s;
}
.filefield:hover { border-color: var(--forest); }
.filefield label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--forest); margin-bottom: 8px; }
.filefield input[type=file] { width: 100%; font-size: 13px; font-weight: 500; color: var(--muted); }
.filefield input[type=file]::file-selector-button {
  font-family: 'Montserrat', sans-serif; font-weight: 700; border: none;
  background: var(--forest); color: #fff; padding: 8px 14px;
  border-radius: 10px; margin-right: 12px; cursor: pointer;
}
.file-list { display: grid; gap: 12px; }

.declar { display: grid; gap: 10px; margin-top: 6px; }
.declar label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.5; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.declar input { accent-color: var(--forest); width: 18px; height: 18px; flex: none; margin-top: 1px; }

.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.wbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14.5px;
  padding: 13px 26px; border-radius: 14px; border: none; cursor: pointer;
  transition: transform .15s, background .2s;
}
.wbtn.prev { background: var(--bg-alt); color: var(--forest); }
.wbtn.prev:hover { background: #d5e8d3; }
.wbtn.next { background: var(--forest); color: #fff; box-shadow: 0 12px 22px -12px rgba(26,92,42,.65); }
.wbtn.next:hover { transform: translateY(-2px); background: var(--forest-lt); }
.wbtn.send { background: var(--amber); color: var(--forest); box-shadow: 0 12px 22px -12px rgba(212,160,23,.7); }
.wbtn.send:hover { transform: translateY(-2px); background: var(--amber-lt); }
.wbtn.hidden { visibility: hidden; }
.werr { margin-top: 14px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; background: rgba(220,50,50,.1); color: #c0392b; display: none; }
.werr.show { display: block; }
.wnote { margin-top: 14px; font-size: 12.5px; color: var(--muted); font-weight: 500; text-align: center; line-height: 1.55; }
.wnote svg { width: 13px; height: 13px; fill: var(--leaf); vertical-align: -2px; }

.repeat-item { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 10px; align-items: end; }
.repeat-item .rm { background: rgba(220,50,50,.1); color: #c0392b; border: none; border-radius: 10px; padding: 11px 14px; font-weight: 700; cursor: pointer; }
@media(max-width: 560px) { .repeat-item { grid-template-columns: 1fr; } }
.addbtn {
  background: rgba(26,92,42,.1); color: var(--forest); border: none;
  border-radius: 10px; padding: 10px 16px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13.5px; cursor: pointer;
}

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--forest); color: #fff; padding: 14px 28px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow); z-index: 1000;
  display: flex; align-items: center; gap: 8px;
  pointer-events: none; opacity: 0;
  transition: transform 0.4s cubic-bezier(0.18,0.89,0.32,1.28), opacity 0.3s;
  border: 1px solid rgba(255,255,255,.18);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast svg { fill: var(--amber-lt); width: 20px; height: 20px; }

/* ==========================================================================
   OBRIGADO (Página de Confirmação)
   ========================================================================== */
.thanks-wrap {
  min-height: 72vh; display: grid; place-items: center;
  text-align: center; padding: 80px 22px;
  background: radial-gradient(110% 85% at 50% 0%, rgba(26,92,42,.12), transparent 55%),
              linear-gradient(180deg, #fff, var(--bg));
}
.thanks-inner { max-width: 540px; }
.thanks-check {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-lt));
  display: grid; place-items: center;
  margin: 20px auto 24px;
  box-shadow: 0 16px 30px -12px rgba(26,92,42,.55);
}
