/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f8f8f8;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
  color: #0b7285;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* Link especial (voltar / ver mais) */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0b5d5a;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.link-more:hover {
  color: #084845;
  border-bottom-color: #084845;
}

/* =========================================================
   HEADER / MENU
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0e5f63;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a24d, #f0d58a, #c9a24d);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.logo-extra img {
  height: 40px;
}

/* Menu desktop */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f0d58a;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Botão menu mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* =========================================================
   MENU MOBILE
   ========================================================= */

.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid #eee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.mobile-nav ul {
  list-style: none;
  padding: 16px;
  margin: 0;
}

.mobile-nav li + li {
  margin-top: 8px;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #0e5f63;
  transition: background 0.25s ease, padding 0.25s ease;
}

.mobile-nav a:hover {
  background: rgba(14, 95, 99, 0.08);
  padding-left: 22px;
}

/* CTA mobile */
.mobile-nav li:last-child a {
  background: linear-gradient(135deg, #c9a24d, #9e7c2f);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
}

.mobile-nav li:last-child a:hover {
  background: linear-gradient(135deg, #b8943f, #8b6a22);
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
  background: linear-gradient(
    120deg,
    #e7f5ff 0%,
    #f8f9fa 55%,
    #ffffff 100%
  );
  padding: 80px 0 64px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   HERO FOTO / IMAGEM
   ========================================================= */

.hero-photo-frame {
  width: 260px;
  height: 410px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   CARDS / ARTIGOS
   ========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
}

.card-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background-color: #212529;
  color: #dee2e6;
  padding: 28px 0;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

/* =========================================================
   BOTÕES FLUTUANTES
   ========================================================= */

/* WhatsApp */
.whatsapp-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background-color: #22c55e;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.15s ease;
}

.whatsapp-floating:hover {
  transform: translateY(-2px);
}

/* Instagram */
.instagram-floating {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.instagram-floating:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo-frame {
    margin: 0 auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

@media (max-width: 480px) {
  .instagram-floating {
    right: 14px;
    bottom: 84px;
    width: 50px;
    height: 50px;
  }
}
