/* ====================================================
   Pixadvisor — Service Pages Shared Styles
   ==================================================== */

:root {
  --teal: #00BFA5;
  --teal-dark: #00897B;
  --teal-light: #4DD0C2;
  --dark: #0F1B2D;
  --dark-2: #162133;
  --dark-3: #1B2B42;
  --gray-600: #6B7280;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --gradient-brand: linear-gradient(135deg, #00BFA5 0%, #1565C0 100%);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── LANGUAGE TOGGLE ── */
[data-lang-pt] { display: none; }
html[lang="pt"] [data-lang-es] { display: none; }
html[lang="pt"] [data-lang-pt] { display: revert; }

.lang-switcher {
  display: flex; gap: 4px; align-items: center; margin-left: 8px;
}
.lang-switcher button {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7); padding: 4px 10px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: 'Inter', sans-serif;
}
.lang-switcher button:hover { border-color: var(--teal); color: var(--teal); }
.lang-switcher button.active {
  background: var(--teal); color: var(--white);
  border-color: var(--teal);
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0; background: rgba(15,27,45,0.97);
  backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 60px; width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,191,165,0.25));
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--gradient-brand) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(0,191,165,0.3);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.9); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, rgba(15,27,45,0.95) 0%, rgba(0,137,123,0.88) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(0,191,165,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(21,101,192,0.06) 0%, transparent 50%);
  animation: bgPulse 15s ease-in-out infinite;
}
@keyframes bgPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.hero .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-icon {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: rgba(0,191,165,0.15); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(0,191,165,0.3);
}
.hero-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 1.5; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 700px; margin: 0 auto 32px; line-height: 1.7; }
.hero-breadcrumb { font-size: 0.85rem; opacity: 0.7; margin-bottom: 32px; }
.hero-breadcrumb a { color: var(--teal); }

/* ── CONTENT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.content-section { padding: 80px 0; }
.content-title {
  font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px;
  color: var(--dark); position: relative; padding-left: 20px;
}
.content-title::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 4px; height: 100%; background: var(--teal); border-radius: 2px;
}
.content-desc {
  font-size: 1.05rem; color: var(--gray-600); max-width: 800px;
  line-height: 1.8; margin-bottom: 32px;
}

/* ── FEATURES ── */
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; margin-bottom: 16px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 3px solid var(--teal); transition: var(--transition);
}
.feature-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.feature-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: rgba(0,191,165,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; color: var(--dark); }
.feature-item p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--dark); color: var(--white); padding: 14px 16px; text-align: left; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
tr:hover td { background: rgba(0,191,165,0.04); }

/* ── CTA ── */
.cta-section {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%); color: var(--white);
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-section p { opacity: 0.8; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-brand); color: var(--white);
  padding: 16px 36px; border-radius: 50px; font-weight: 700;
  font-size: 1rem; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,191,165,0.3);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,191,165,0.4); }
.btn-cta svg { width: 20px; height: 20px; fill: currentColor; }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600; font-size: 0.9rem;
  margin-top: 20px; transition: var(--transition);
}
.btn-back:hover { transform: translateX(-4px); }
.btn-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FOOTER ── */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.6);
  padding: 40px 0; text-align: center; font-size: 0.85rem;
}
.footer a { color: var(--teal); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,27,45,0.98); padding: 100px 24px 24px;
    gap: 20px; align-items: center; justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .hero { padding: 120px 0 60px; }
  .content-section { padding: 48px 0; }
  .feature-item { flex-direction: column; }
  .lang-switcher { margin-left: 0; margin-top: 12px; }
}
