/* ===========================================================
   Bisademo — folha de estilos principal
   =========================================================== */

:root{
  --navy: #2B3256;
  --navy-dark: #1B2038;
  --purple: #5159A4;
  --teal: #54BEC8;
  --bg: #F6F7FA;
  --white: #FFFFFF;
  --ink-soft: #626886;
  --border: #E4E6EE;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27,32,56,0.08);
  --max-width: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0 0 .5em 0; line-height:1.2; font-weight:700; }
p{ margin:0 0 1em 0; }
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--alt{ background: var(--white); }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--teal);
  display:inline-block;
}
.lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary{
  background: linear-gradient(120deg, var(--purple), var(--teal));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(81,89,164,0.28);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(81,89,164,0.36); }
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.12); }
.btn--outline{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline:hover{ background: var(--navy); color: var(--white); }
.btn--block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 82px;
}
.brand img{ height: 30px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-weight: 600; font-size: 15px; color: var(--navy);
  position: relative; padding: 6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: linear-gradient(120deg, var(--purple), var(--teal));
  transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--purple); }
.header-actions{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; }

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position: fixed; top:82px; left:0; right:0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .18s ease;
  }
  .nav-links.is-open{ transform: translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ padding: 12px 0; width:100%; border-bottom: 1px solid var(--border); }
  .header-actions .btn{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 85% -10%, rgba(84,190,200,0.35), transparent 60%),
              linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #333c6b 100%);
  color: var(--white);
  padding: 96px 0 110px;
}
.hero__grid{
  display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items:center;
}
.hero h1{ font-size: clamp(34px, 4.6vw, 54px); }
.hero .lede{ color: rgba(255,255,255,0.82); font-size: 18px; }
.hero-actions{ display:flex; gap:14px; margin-top: 30px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap: 34px; margin-top: 54px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-size: 26px; }
.hero-stats div span{ font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-art{
  position:relative; height: 340px; border-radius: 20px; overflow:hidden;
  background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
}
.hero-art svg{ position:absolute; inset:0; width:100%; height:100%; }

@media (max-width: 860px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero-art{ height: 220px; order:-1; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 74px 0 66px;
}
.page-hero h1{ font-size: clamp(30px, 4vw, 44px); }
.page-hero .lede{ color: rgba(255,255,255,0.78); }
.breadcrumb{ font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.breadcrumb a{ color: rgba(255,255,255,0.85); }
.breadcrumb a:hover{ text-decoration: underline; }

/* ---------- Cards / grids ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
@media (max-width: 860px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card--flat{ box-shadow:none; }
.icon-badge{
  width: 52px; height:52px; border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(81,89,164,0.14), rgba(84,190,200,0.18));
  color: var(--purple); margin-bottom: 18px;
}
.icon-badge svg{ width:26px; height:26px; }

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Product cards ---------- */
.product-card{
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.product-card__art{
  height: 150px;
  display:flex; align-items:center; justify-content:center;
}
.product-card__art svg{ width: 82px; height:82px; }
.product-card__body{ padding: 26px 26px 30px; flex:1; display:flex; flex-direction:column; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin: 14px 0 18px; }
.tag{
  font-size: 12px; font-weight:700; padding: 5px 11px; border-radius:999px;
  background: rgba(84,190,200,0.14); color:#177078;
}
.product-card__body .btn{ margin-top:auto; align-self:flex-start; }

/* ---------- Team ---------- */
.team-card{
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow:hidden;
  text-align:center;
}
.team-card__photo{
  height: 190px;
  background: linear-gradient(150deg, var(--navy-dark), var(--purple));
  display:flex; align-items:center; justify-content:center;
  color: var(--white); font-size: 42px; font-weight:700;
  letter-spacing: .04em;
}
.team-card__body{ padding: 26px; }
.team-card__role{ color: var(--purple); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:10px; }
.team-card__contacts{ margin-top:16px; font-size:14px; color:var(--ink-soft); }
.team-card__contacts a{ display:block; margin-top:4px; }
.team-card__contacts a:hover{ color: var(--purple); }

/* ---------- Timeline / values ---------- */
.value-row{ display:flex; gap:18px; padding: 20px 0; border-top: 1px solid var(--border); }
.value-row:first-child{ border-top:none; }
.value-row .num{ font-weight:800; font-size:14px; color: var(--teal); min-width: 34px; }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-dark), var(--purple) 120%);
  color: var(--white);
  padding: 56px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
}
.cta-band h2{ margin-bottom:6px; }
.cta-band p{ color: rgba(255,255,255,0.78); margin:0; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:flex-start; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } }
.info-item{ display:flex; gap:16px; padding: 18px 0; border-top:1px solid var(--border); }
.info-item:first-child{ border-top:none; }
.info-item .icon-badge{ margin-bottom:0; flex-shrink:0; }
.info-item h4{ margin-bottom:4px; }
.info-item p{ margin:0; color: var(--ink-soft); }

.form-field{ margin-bottom: 18px; }
.form-field label{ display:block; font-weight:600; font-size:14px; margin-bottom:7px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: inherit; font-size: 15px; color: var(--navy); background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline: none; border-color: var(--purple);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.map-embed{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); box-shadow: var(--shadow); }
.map-embed iframe{ width:100%; height: 320px; border:0; display:block; }

.form-note{ font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
#form-status{ margin-top:14px; font-size:14px; font-weight:600; display:none; }
#form-status.is-success{ display:block; color:#1c8a5e; }
#form-status.is-error{ display:block; color:#c0392b; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 760px){ .footer-grid{ grid-template-columns: 1fr; gap:30px; } }
.footer-grid img{ height: 26px; margin-bottom: 16px; }
.footer-grid h5{ color: var(--white); font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer-grid ul li{ margin-bottom: 10px; font-size:14px; }
.footer-grid ul li a:hover{ color: var(--teal); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------- Utilities ---------- */
.mt-0{ margin-top:0; }
.badge-soft{
  display:inline-block; padding:6px 14px; border-radius:999px; font-size:12px; font-weight:700;
  background: rgba(255,255,255,0.12); color:#fff; letter-spacing:.03em;
}
