/* =========================================================
   TACO SERVICE — Sistema de Design
   ========================================================= */

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

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --navy-900: #04101f;
  --navy-800: #072040;
  --navy-700: #0c3260;
  --navy-600: #0f3f70;
  --navy-500: #1352a0;
  --navy-400: #1e6bc5;

  --red-600: #A61616;
  --red-500: #CC1E1E;
  --red-400: #E83030;

  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #ECEEF2;
  --gray-200: #D6DAE3;
  --gray-400: #9AA3B0;
  --gray-600: #566070;
  --gray-800: #2C3344;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 420ms;

  --shadow-sm: 0 1px 3px rgba(4,16,31,.07);
  --shadow-md: 0 4px 16px rgba(4,16,31,.10);
  --shadow-lg: 0 10px 36px rgba(4,16,31,.14);
  --shadow-xl: 0 20px 60px rgba(4,16,31,.18);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-body); color: var(--navy-800); line-height: 1.6; background: var(--white); }
img, svg { display: block; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

/* ── Layout ──────────────────────────────────────────────── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-800);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; flex-shrink: 0; }
.eyebrow-light { color: rgba(255,255,255,.55); }
.eyebrow-light::before { background: rgba(255,255,255,.4); }

.section-title { font-size: clamp(28px, 3.5vw, 44px); color: var(--navy-800); margin-bottom: 12px; text-wrap: balance; }
.section-title-light { color: var(--white); }
.section-sub { font-size: 1.125rem; color: var(--gray-600); max-width: 500px; line-height: 1.7; font-weight: 400; }
.section-sub-light { color: rgba(255,255,255,.6); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: .875rem; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap;
  border: none; outline: none;
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-red { background: var(--red-500); color: white; }
.btn-red:hover { background: var(--red-400); box-shadow: 0 6px 20px rgba(204,30,30,.38); }

.btn-navy { background: var(--navy-600); color: white; }
.btn-navy:hover { background: var(--navy-500); box-shadow: 0 6px 20px rgba(15,63,112,.38); }

.btn-blue { background: #1e6bc5; color: white; }
.btn-blue:hover { background: #1a5db0; box-shadow: 0 6px 20px rgba(30,107,197,.45); }

.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.9); box-shadow: none; }

.btn-whatsapp { background: #22C55E; color: white; }
.btn-whatsapp:hover { background: #16A34A; box-shadow: 0 6px 20px rgba(34,197,94,.4); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: white;
  box-shadow: 0 1px 3px rgba(4,16,31,.08);
  transition: background var(--dur-base) var(--ease),
              padding var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.nav.scrolled {
  background: white;
  box-shadow: 0 2px 16px rgba(4,16,31,.12);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; gap: 0; }

.nav-logo img {
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: .875rem; font-weight: 600;
  color: var(--navy-600);
  transition: color var(--dur-fast) var(--ease);
  letter-spacing: .01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); }

.nav-sascar {
  display: flex; align-items: center; gap: 7px;
  background: rgba(4,16,31,.05);
  border: 1px solid rgba(4,16,31,.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: .7rem; font-weight: 700;
  color: var(--navy-600);
  letter-spacing: .05em;
  margin-left: 24px;
}
.sascar-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34,197,94,.8);
  animation: blink 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.35)} }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 24px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 4px; margin-left: auto;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: all .25s var(--ease); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(4,16,31,.98);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: white; letter-spacing: -0.02em;
  transition: color var(--dur-fast) var(--ease);
}
.nav-mobile a:hover { color: var(--red-500); }
.nav-mobile .btn { font-size: .9rem; }

/* ── Trust bar ───────────────────────────────────────────── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 20px 0; }
.trust-items { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px;
  border-right: 1px solid var(--gray-100);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-600);
}
.trust-label { font-size: .7rem; color: var(--gray-400); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }
.trust-value { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--navy-800); line-height: 1.2; }

/* ── Service cards ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--gray-200); }
.service-card-new::after {
  content: 'NOVO';
  position: absolute; top: 20px; right: 20px;
  background: var(--red-500); color: white;
  font-family: var(--font-display);
  font-size: .62rem; font-weight: 800;
  letter-spacing: .1em; padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: white;
  transition: background var(--dur-base) var(--ease);
}
.service-card:hover .service-icon { background: var(--navy-600); }
.service-card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; letter-spacing: -.01em; }
.service-card-desc { font-size: .875rem; color: var(--gray-600); line-height: 1.72; margin-bottom: 24px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  color: var(--navy-600);
  transition: gap var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.service-card:hover .service-link { gap: 10px; color: var(--red-500); }

/* ── SASCAR band ─────────────────────────────────────────── */
.sascar-band { background: var(--navy-800); padding: 48px 0; }
.sascar-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.sascar-badge { display: flex; align-items: center; gap: 20px; }
.sascar-logo-mark {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sascar-text h3 { font-size: 1.4rem; color: white; margin-bottom: 2px; }
.sascar-text p { font-size: .8rem; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.sascar-divider { width: 1px; height: 56px; background: rgba(255,255,255,.1); flex-shrink: 0; }
.sascar-desc { font-size: .9rem; color: rgba(255,255,255,.55); max-width: 380px; line-height: 1.65; }

/* ── Feature split ───────────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature.flip { direction: rtl; }
.feature.flip > * { direction: ltr; }
.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.feature-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,30,30,.1); color: var(--red-500);
  border: 1px solid rgba(204,30,30,.2);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.feature h2 { font-size: clamp(26px,3vw,38px); margin-bottom: 14px; text-wrap: balance; }
.feature p { font-size: 1rem; color: var(--gray-600); line-height: 1.72; margin-bottom: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--gray-600); line-height: 1.5;
}
.check-list li::before {
  content: '';
  flex-shrink: 0; margin-top: 3px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--navy-600)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7'%3E%3Cpath d='M1 3.5L3.2 5.7L8 1' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E")
    no-repeat center;
}

/* ── YouTube section ─────────────────────────────────────── */
.yt-section { background: var(--navy-900); padding: 80px 0; text-align: center; }
.yt-icon {
  width: 68px; height: 68px; border-radius: 18px;
  background: #FF0000; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: 0 8px 32px rgba(255,0,0,.3);
}
.yt-section h2 { font-size: clamp(26px,3.5vw,44px); color: white; margin-bottom: 12px; }
.yt-section p { font-size: 1.05rem; color: rgba(255,255,255,.55); max-width: 460px; margin: 0 auto 32px; line-height: 1.65; }

/* ── Contact strip ───────────────────────────────────────── */
.contact-strip { background: var(--gray-50); border-top: 1px solid var(--gray-100); padding: 56px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.contact-item-label { font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: var(--gray-400); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-item-value { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy-800); line-height: 1.35; }
.contact-item-value a { transition: color var(--dur-fast) var(--ease); }
.contact-item-value a:hover { color: var(--red-500); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-900); padding: 64px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
  border: 3px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 270px; margin-bottom: 16px; }
.footer-sascar {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 6px 12px; border-radius: var(--radius-md);
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.5); letter-spacing: .05em;
}
.footer-col-title { font-family: var(--font-display); font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.5); transition: color var(--dur-fast) var(--ease); }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: .78rem; color: rgba(255,255,255,.22);
}
.footer-social { display: flex; align-items: center; gap: 10px; }
.social-link {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.social-link:hover { background: rgba(255,255,255,.12); color: white; }

/* ── WhatsApp float ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #22C55E;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(34,197,94,.45);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(34,197,94,.6); animation: none; }
@keyframes wa-pulse { 0%,100%{box-shadow:0 4px 18px rgba(34,197,94,.45)} 50%{box-shadow:0 4px 26px rgba(34,197,94,.7)} }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy-800); padding: 148px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 700px 500px at 75% 50%, rgba(15,63,112,.55) 0%, transparent 65%);
}
.page-hero-eyebrow { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(32px,4.5vw,56px); color: white; letter-spacing: -.025em; margin-bottom: 14px; text-wrap: balance; max-width: 680px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,.6); max-width: 540px; line-height: 1.65; }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
.delay-5 { transition-delay: .40s; }
.delay-6 { transition-delay: .48s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust-items { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
}
/* ── Hero two-column layout ───────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: end;
  gap: 0;
  width: 100%;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 72px;
}
.hero-char {
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-char-img {
  width: 100%;
  max-width: 360px;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.55));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-links, .nav-sascar, .nav-actions { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip { direction: ltr; }
  .sascar-inner { flex-direction: column; text-align: center; }
  .sascar-divider { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-char { display: none; }
}
@media (max-width: 560px) {
  .trust-items { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
