/* Praia Digital — Article Design System */
:root {
  --ocean: #0077B6;
  --ocean-light: #00B4D8;
  --sand: #F4EBD0;
  --white: #FFFFFF;
  --dark: #023047;
  --accent: #90E0EF;
  --success: #2d9e5a;
  --error: #e53e3e;
  --purple: #6B21A8;
  --purple-light: #A855F7;
  --orange: #F97316;
  --amber: #F59E0B;
  --cyan: #06B6D4;
  --cyan-light: #67E8F9;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background: var(--sand);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

header {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--purple) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 1; }

.nav-highlight-sale {
  background: var(--amber);
  color: var(--dark) !important;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.nav-highlight-sale:hover { background: #e6b000; }

main {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

article {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

article h1 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: auto;
}

.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-primary { background: var(--white); color: var(--ocean); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-purple { background: linear-gradient(135deg, var(--purple), var(--purple-light)); color: var(--white); }
.btn-amber { background: var(--amber); color: var(--dark); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), var(--cyan-light)); color: var(--dark); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: rgba(6, 182, 212, 0.25);
}

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  z-index: 50;
  font-size: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--dark);
  color: var(--white);
  z-index: 10000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 720px) {
  header { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav { flex-wrap: wrap; gap: 10px; }
  main { padding: 1rem; }
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(168,85,247,0.12));
  color: var(--purple);
  border: 1px solid rgba(168,85,247,0.25);
  margin-bottom: 0.75rem;
}

.ai-tldr {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
}

.ai-tldr__title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.ai-tldr__content {
  font-size: 0.95rem;
  color: #1f2937;
}

.ai-tldr__content ul {
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
}

.ai-tldr__content li { margin: 0.35rem 0; }

.affiliate-showcase {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin: 1.5rem 0;
}
.affiliate-showcase h2 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.affiliate-showcase .subtitle {
  color: #666;
  margin-bottom: 1.25rem;
}
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.affiliate-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.affiliate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: rgba(6,182,212,0.35);
}
.affiliate-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
}
.affiliate-card p {
  font-size: 0.9rem;
  color: #555;
}
.badge {
  display: inline-block;
  background: var(--amber);
  color: var(--dark);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.trust-badge {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #555;
  opacity: 0.9;
}
.affiliate-card .btn {
  margin-top: 0.5rem;
}
