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

body {
  background: #f7f9fc;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1e2b3c;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.8rem;
}

/* Header & Navigation */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.logo-area {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.logo-icon {
  font-size: 2.4rem;
}

.site-title {
  font-weight: 650;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #145e7a, #278a9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: white;
  border-radius: 40px;
  padding: 0.25rem;
  box-shadow: 0 6px 18px rgba(0, 20, 30, 0.08);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  color: #2c4b5e;
}

.lang-btn.active {
  background: #0f4b5e;
  color: white;
  box-shadow: 0 8px 16px rgba(15, 75, 94, 0.25);
}

.lang-btn:hover:not(.active) {
  background: #e6f0f3;
  color: #0a3140;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger span {
  width: 32px;
  height: 3px;
  background: #0f4b5e;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: -2px;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 2px;
}

/* Navigation Menu */
.main-nav {
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.nav-list {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background: white;
  border-radius: 30px;
  text-decoration: none;
  color: #2c4b5e;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 20, 30, 0.05);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover {
  background: #e6f0f3;
  color: #0a3140;
}

.nav-link.active {
  background: #0f4b5e;
  color: white;
}

/* Submenu */
.has-submenu {
  position: relative;
}

.submenu-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.submenu-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.submenu-arrow.open {
  transform: rotate(180deg);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 20, 30, 0.15);
  min-width: 200px;
  list-style: none;
  padding: 0.5rem;
  z-index: 100;
  border: 1px solid rgba(150, 190, 210, 0.3);
}

.submenu.show {
  display: block;
}

.submenu-link {
  display: block;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  color: #2c4b5e;
  border-radius: 0.8rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.submenu-link:hover {
  background: #e6f0f3;
  color: #0a3140;
}

.submenu-link.active {
  background: #0f4b5e;
  color: white;
}

/* Hero */
.hero {
  background: linear-gradient(105deg, #e7f2f8 0%, #d4e7f2 100%);
  border-radius: 2.5rem;
  padding: 2.2rem 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.hero-text h2 {
  font-size: 2.1rem;
  font-weight: 650;
  color: #083344;
  margin-bottom: 0.5rem;
}

.hero-badge {
  background: white;
  border-radius: 50px;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  color: #0b4457;
}

/* Sections */
.section-title {
  font-size: 1.7rem;
  font-weight: 650;
  margin: 2rem 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0b3b4b;
  border-left: 6px solid #1f7b8c;
  padding-left: 1.2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.card {
  background: white;
  border-radius: 1.8rem;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 15px 30px rgba(0, 40, 50, 0.06);
  transition: transform 0.2s;
  border: 1px solid rgba(150, 190, 210, 0.25);
}

.card:hover {
  transform: translateY(-4px);
}

.tag {
  background: #e1f0f5;
  color: #0a4b5a;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.document-list {
  background: white;
  border-radius: 1.8rem;
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e2ecf1;
}

/* Symptoms */
.symptoms-box {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 18px 35px rgba(9, 53, 69, 0.07);
}

.symptom-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.5rem 1.8rem;
  list-style: none;
}

.symptom-columns li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed #cbdde8;
}

.symptom-columns li::before {
  content: "•";
  color: #1d7080;
  font-weight: bold;
  margin-right: 0.4rem;
}

.caveat {
  background: #fff8e1;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* Article */
.article-container {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
}

.article-title {
  font-size: 2rem;
  color: #083344;
}

.article-subtitle {
  font-size: 1.4rem;
  color: #1a6b84;
  margin-bottom: 1.5rem;
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.article-date {
  background: #e1f0f5;
  color: #0a4b5a;
  padding: 0.4rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
}

.article-meta {
  background: #f7f9fc;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e2ecf1;
}

.article-meta a {
  color: #0f4b5e;
  text-decoration: underline;
}

.caveat-box {
  background: #fff8e1;
  border: 2px solid #ffc107;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.caveat-box h3 {
  color: #856404;
  margin-bottom: 0.8rem;
}

.translation-note {
  margin-top: 2rem;
  padding: 1rem;
  background: #f0f7fa;
  border-radius: 1rem;
  border-left: 4px solid #1f7b8c;
}

/* Page container */
.page-container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #083344;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #1f7b8c;
}

.content-card {
  background: white;
  border-radius: 1.8rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(150, 190, 210, 0.2);
}

.content-card h2 {
  color: #0b3b4b;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.content-card h3 {
  color: #145e7a;
  font-size: 1.2rem;
  margin: 1.2rem 0 0.8rem;
}

.content-card h4 {
  color: #1a6b84;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.content-card ul {
  margin: 0.8rem 0 1rem 1.5rem;
}

.content-card ul li {
  margin-bottom: 0.4rem;
  color: #2c4553;
}

.content-card em {
  color: #1a6b84;
  font-style: italic;
}

.article-ref {
  color: #6c8b9c;
  font-weight: 400;
  font-size: 0.9rem;
}

.alert-box {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 1rem 0;
}

.warning-box {
  background: #f8d7da;
  border: 2px solid #dc3545;
  border-radius: 1rem;
  padding: 1.2rem;
  margin: 1rem 0;
}

/* Tabs */
.language-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.5rem 1.2rem;
  border: 2px solid #dce9f2;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: #0f4b5e;
  color: white;
  border-color: #0f4b5e;
}

/* Footer */
.footer-divider {
  margin: 2.2rem 0 1rem;
  border: 0.5px solid #dce9f2;
}

footer {
  text-align: center;
  color: #58707c;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.footer-reference a {
  color: #0f4b5e;
  text-decoration: underline;
}

.footer-isfr {
  font-weight: 600;
  color: #0b3b4b;
}

.footer-copyright {
  color: #7a8b96;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

/* Comparison grids */
.comparison-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.comparison-item {
  background: #e7f2f8;
  border-radius: 1rem;
  padding: 1.2rem 1.8rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.comparison-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f4b5e;
}

.comparison-label {
  display: block;
  font-size: 0.9rem;
  color: #2c4b5e;
  margin-top: 0.3rem;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin: 1.2rem 0;
}

.country-card {
  background: #f0f7fa;
  border-radius: 1rem;
  padding: 1.2rem;
  border-left: 4px solid #1f7b8c;
}

.country-list {
  background: #e8f4f8;
  border-radius: 1rem;
  padding: 1.2rem;
  margin-top: 1rem;
}

.recommendations .card {
  border-left: 4px solid #28a745;
}

.spiritual {
  background: linear-gradient(135deg, #f5f0ff 0%, #e8e0f5 100%);
  border: 1px solid #d0c4e8;
}

blockquote {
  background: #f8f5ff;
  border-left: 4px solid #6f5ba0;
  padding: 1rem 1.5rem;
  margin: 1.2rem 0;
  font-style: italic;
  color: #4a3b6b;
  border-radius: 0 1rem 1rem 0;
}

.synthesis {
  background: linear-gradient(135deg, #eaf4f8 0%, #dceaf2 100%);
  border: 2px solid #b8d4e3;
}

.synthesis .card {
  background: rgba(255, 255, 255, 0.8);
}

/* Read more link */
.read-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: #0f4b5e;
  font-weight: 600;
  text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .site-title {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
  }

  .lang-switcher .lang-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }

  .main-nav {
    display: none;
    margin-top: 1rem;
  }

  .main-nav.mobile-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.8rem 1.2rem;
  }

  /* Submenu mobile */
  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    margin-top: 0.3rem;
    padding-left: 1.5rem;
    background: #f7f9fc;
  }

  .submenu-link {
    padding: 0.6rem 1rem;
  }

  .has-submenu .submenu-toggle {
    justify-content: space-between;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .article-container {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .symptom-columns {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .content-card {
    padding: 1.2rem;
  }

  .comparison-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .top-bar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .logo-area {
    flex: 1;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .logo-icon {
    font-size: 1.8rem;
  }
}

/* Estilos para documentos com links */
.doc-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
}

.doc-link:hover {
  background: #f0f7fa;
  transform: translateX(4px);
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doc-name {
  font-weight: 600;
  color: #0b3b4b;
  font-size: 0.95rem;
}

.doc-source {
  font-size: 0.8rem;
  color: #6c8b9c;
  margin-top: 0.2rem;
}

.doc-arrow {
  font-size: 1.2rem;
  color: #1f7b8c;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.doc-link:hover .doc-arrow {
  opacity: 1;
}

/* Garantir que doc-item funcione como link */
.document-list .doc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #e2ecf1;
  transition: all 0.2s;
  border-radius: 0.8rem;
}

.document-list .doc-item:last-child {
  border-bottom: none;
}

.document-list .doc-item:hover {
  background: #f0f7fa;
}

.symptoms-preview {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border-radius: 1.5rem;
  padding: 1.8rem;
  margin: 2rem 0;
  border: 2px solid #ffc107;
}

.symptoms-preview h3 {
  color: #856404;
  margin-bottom: 0.5rem;
}

.symptoms-preview a {
  color: #0f4b5e;
  font-weight: 600;
}

/* Estilos para a página de depósito de fluoreto no solo */

.methodology-list {
  list-style: none;
  counter-reset: step;
  margin: 1.2rem 0;
}

.methodology-list li {
  counter-increment: step;
  padding: 0.8rem 0 0.8rem 3rem;
  position: relative;
  border-bottom: 1px dashed #dce9f2;
}

.methodology-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2rem;
  height: 2rem;
  background: #0f4b5e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Gradiente de distância */
.gradient-display {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.gradient-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  color: white;
}

.gradient-item.high {
  background: linear-gradient(90deg, #8b1a1a, #b52e2e);
}

.gradient-item.medium {
  background: linear-gradient(90deg, #c75b1a, #d4783b);
}

.gradient-item.low {
  background: linear-gradient(90deg, #d4a017, #e0b840);
}

.gradient-item.control {
  background: linear-gradient(90deg, #2d7d46, #3d9e5c);
}

.gradient-distance {
  font-weight: 700;
  font-size: 1.1rem;
}

.gradient-level {
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Nota importante */
.important-note {
  background: #e8f0fe;
  border: 2px solid #4285f4;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.important-note h3 {
  color: #1a56c4;
  margin-top: 0;
}

/* Pergunta de pesquisa */
.research-question {
  background: #fef7e0;
  border: 2px solid #f9ab00;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.research-question h3 {
  color: #8b6d0b;
  margin-top: 0;
}

.research-question p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5c4707;
  font-style: italic;
}

.research-answer {
  background: #e6f4ea;
  border: 2px solid #34a853;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.research-answer h3 {
  color: #1a6d31;
  margin-top: 0;
}

.research-answer p {
  font-size: 1.1rem;
  color: #0d4a1d;
}

/* Caixa de síntese */
.synthesis-box {
  background: linear-gradient(135deg, #eaf4f8, #dceaf2);
  border: 2px solid #1f7b8c;
  border-radius: 1rem;
  padding: 1.8rem;
  margin: 1.5rem 0;
}

.synthesis-box h3 {
  color: #083344;
  margin-top: 0;
}

/* Limitação */
.limitation-note {
  background: #fef9f0;
  border-left: 4px solid #e09d00;
  padding: 1.2rem 1.5rem;
  border-radius: 0 1rem 1rem 0;
  margin: 1.2rem 0;
}

.limitation-note h3 {
  color: #8b6d0b;
  margin-top: 0;
}

/* Responsividade para gradiente */
@media (max-width: 600px) {
  .gradient-item {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
  
  .methodology-list li {
    padding-left: 2.5rem;
  }
  
  .methodology-list li::before {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.75rem;
  }
}