/* ==========================================================================
   HSL TOTAL — Design System
   Cores: navy (#0F1C33), branco, cinza, laranja/dourado (#E08A2E)
   ========================================================================== */

:root {
  --navy-900: #0b1526;
  --navy-800: #0f1c33;
  --navy-700: #16274a;
  --navy-600: #1e3560;
  --orange-500: #e08a2e;
  --orange-600: #c4741e;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-300: #cdd4de;
  --gray-500: #6b7688;
  --gray-700: #3a4356;
  --text-dark: #131c2b;
  --radius: 10px;
  --shadow-md: 0 10px 30px rgba(15, 28, 51, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 28, 51, 0.16);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--navy-800); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray-700); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-500); color: var(--white); }
.btn-primary:hover { background: var(--orange-600); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-dark { background: transparent; border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 28, 51, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; color: var(--white); }
.logo-img { display: block; height: 40px; width: auto; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); border-color: var(--orange-500); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--navy-800); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); transform: translateY(-140%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-600) 130%);
  color: var(--white);
  overflow: hidden;
  padding: 56px 0 72px;
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 48px; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 34px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,21,38,0.65) 0%, rgba(11,21,38,0.05) 30%, transparent 55%);
}
.hero-media::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(var(--orange-500), var(--orange-600));
  transform: skewX(-11deg);
  transform-origin: top;
  box-shadow: 0 0 24px rgba(224,138,46,0.6);
}
@media (max-width: 1100px) {
  .hero-media { display: none; }
}

.hero-tags { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tag {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); flex: none; }

.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 220px;
  background: linear-gradient(180deg, transparent, rgba(224,138,46,0.35), transparent);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 20% 100%);
  opacity: 0.7;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--orange-500); }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p.lead { color: rgba(255,255,255,0.8); max-width: 680px; margin-top: 16px; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--orange-500); }

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(224,138,46,0.12);
  border: 1px solid rgba(224,138,46,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex: none;
}
.icon-circle svg { width: 26px; height: 26px; stroke: var(--orange-600); }
.icon-circle.on-dark { background: rgba(224,138,46,0.16); border-color: rgba(224,138,46,0.35); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* Cards with photo */
.card-photo-card { padding: 0; overflow: hidden; }
.card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.card-photo-card:hover .card-photo img { transform: scale(1.06); }
.card-photo .icon-circle {
  position: absolute; left: 24px; bottom: -26px;
  background: var(--white); margin-bottom: 0;
  box-shadow: var(--shadow-md);
  border-color: var(--gray-100);
}
.card-body { padding: 40px 28px 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; }

.bg-navy { background: var(--navy-800); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.75); }
.bg-navy .card-body h3 { color: var(--navy-800); }
.bg-navy .card-body p { color: var(--gray-700); }
.bg-gray { background: var(--gray-50); }

.cta-photo {
  position: relative;
  background-image: linear-gradient(rgba(11,21,38,0.88), rgba(11,21,38,0.88)), url("assets/img/contact_map_port.jpg");
  background-size: cover;
  background-position: center;
}

/* Stats */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { min-width: 140px; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--orange-500); }
.stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

/* Feature list with check icons */
.check-list li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.check-list li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: var(--orange-500); }
.check-list li strong { display: block; color: var(--navy-800); }
.check-list.on-dark li strong { color: var(--white); }
.check-list.on-dark li span { color: rgba(255,255,255,0.75); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.panel.on-dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

/* Modalidade comparison */
.modalidade-card {
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.modalidade-card .badge {
  display: inline-block;
  background: var(--navy-800);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.modalidade-card.highlight { border-color: var(--orange-500); }
.modalidade-card.highlight .badge { background: var(--orange-500); }

/* Timeline / process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }

/* FAQ / accordion */
.accordion-item { border-bottom: 1px solid var(--gray-100); }
.accordion-item:first-child { border-top: 1px solid var(--gray-100); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
}
.accordion-trigger .plus { font-size: 1.4rem; color: var(--orange-500); transition: transform 0.2s ease; flex: none; margin-left: 16px; }
.accordion-item.open .accordion-trigger .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-item.open .accordion-panel { max-height: 600px; }
.accordion-panel p { padding: 0 4px 22px; font-size: 0.95rem; }

/* Blog cards */
.blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card .tag { color: var(--orange-600); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.blog-card h3 { margin-bottom: 12px; }
.blog-card p { flex: 1; margin-bottom: 20px; font-size: 0.92rem; }

/* Article page */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin-top: 40px; margin-bottom: 16px; }
.article-body h3 { margin-top: 28px; margin-bottom: 10px; }
.article-body p { margin-bottom: 18px; font-size: 1.02rem; }
.article-body ul { margin: 0 0 18px 0; }
.article-body li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--gray-700); }
.article-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--gray-500); font-size: 0.85rem; margin-bottom: 20px; }
.article-cta { margin-top: 48px; padding: 32px; border-radius: var(--radius); background: var(--navy-800); color: var(--white); text-align: center; }
.article-cta h3 { color: var(--white); margin-bottom: 14px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; color: var(--navy-800); }
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange-500); outline-offset: 1px; border-color: var(--orange-500); }
textarea { resize: vertical; min-height: 130px; }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-circle { margin-bottom: 0; }
.contact-info-item strong { display: block; color: var(--white); }
.contact-info-item span, .contact-info-item a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.form-status { margin-top: 16px; font-weight: 700; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1a7f45; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--orange-500); }
.footer-tagline { margin-top: 18px; font-size: 0.85rem; color: var(--orange-500); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Skip link for a11y */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange-500); color: #fff; padding: 12px 20px; z-index: 2000;
}
.skip-link:focus { left: 16px; top: 16px; }
