:root {
  --primary: #1FB4C1;
  --secondary: #004E55;
  --light: #F2FAF9;
  --gray: #627476;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--secondary);
  background: var(--light);
  line-height: 1.55;
  padding-top: 80px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1160px;
  margin: auto;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

section[id] {
  scroll-margin-top: 100px;
}

/* Cabeçalho */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--secondary);
  color: white;
  padding: 1.2rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 60px;
}

.logo span {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
}

.menu-mobile-wrapper {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

#menu-toggle {
  display: none;
  font-size: 1.7rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

.menu {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.actions {
  display: flex;
  gap: 0.8rem;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* MENU MOBILE */
@media (max-width: 820px) {
  #menu-toggle {
    display: block;
  }

  .menu-mobile-wrapper {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-block;
  }

  #main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    width: 240px;
    transform: translateX(100%);
    transition: transform 0.3s;
    padding: 4rem 1.2rem;
    z-index: 100;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  }

  #main-nav.open {
    transform: none;
  }

  #main-nav a {
    color: var(--secondary);
    font-size: 1.1rem;
  }

  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  .actions {
    display: none;
  }
}

#mobile-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

#main-nav.open #mobile-close {
  display: block;
}

/* HERO */
#hero {
  background: linear-gradient(110deg, rgba(0, 78, 85, 0.88), rgba(31, 180, 193, 0.88)),
              url("../assets/hero.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
  margin-bottom: 3rem;
}

#hero .sub {
  max-width: 520px;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  line-height: 1.45;
}

#hero .btn-primary {
  background: #fff;
  color: var(--secondary);
}

.nota {
  font-size: 0.8rem;
  margin-top: 0.8rem;
  opacity: 0.9;
}

/* Botões */
.btn-primary,
.btn-outline,
.btn-logo {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 0;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-logo {
  background: #004E55;
  color: #fff;
  border: none;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-logo:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.btn-contratar {
  background: #000;
  color: #fff;
}

.btn-contratar:hover {
  background: #333;
}

/* Seções */
section {
  padding: 4rem 0;
}

.light {
  background: #fff;
}

h1, h2 {
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

h2 {
  text-align: center;
  margin-bottom: 2.2rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Benefícios */
#beneficios {
  background: url("../assets/hero.webp") center/cover no-repeat;
  padding: 4rem 0;
  color: #fff;
}

#beneficios .card {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#beneficios h2,
#beneficios p {
  font-size: 1.2rem;
}

/* Carrossel */
.clientes-carousel {
  display: flex;
  overflow: hidden;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.cliente {
  min-width: 200px;
  flex-shrink: 0;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

/* Planos */
.pricing {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.price-card {
  background: #17A2A4;
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid #004E55;
  transition: all 0.3s ease;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.price-card:hover {
  background: #159195;
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.price-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0;
  padding-left: 0;
}

.price-card li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
}

/* Rodapé */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 2.5rem 0;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

footer nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  opacity: 0.9;
}

footer a:hover {
  opacity: 1;
}

.footer-info {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-info i {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0.6rem;
  transition: transform 0.2s ease;
}

.footer-info i:hover {
  transform: scale(1.2);
  color: var(--primary);
}

/* Botão WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5b;
}

/* Cookies */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  z-index: 100;
}

.cookie-actions {
  margin-top: 0.5rem;
}

.cookie-actions button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0.3rem;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 101;
  justify-content: center;
  align-items: center;
}

.cookie-modal-content {
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 400px;
  width: 90%;
}

.cookie-modal-content h3 {
  margin-bottom: 1rem;
}

.cookie-modal-content form label {
  display: block;
  margin-bottom: 0.5rem;
}
