:root {
  --verde: #00674f;
  --verde2: #004d3b;
  --marinho: #151965;
  --marinho2: #00006a;
  --off: #f5f4f0;
  --texto: #1a1a1a;
  --cinza: #6b6b6b;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--off);
  color: var(--texto);
  overflow-x: hidden;
}

.sobre-foto {
  background-image: url(../images/Daniel_sobre_alternativo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 481.25px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}
h2 {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
}
h3 {
  font-size: 1.15rem;
}

.container {
  width: min(100%, 900px);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--verde);
  border: 1px solid var(--verde);
  border-radius: 99px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.9rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 99px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-primary {
  background: var(--verde);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-white {
  background: #fff;
  color: var(--marinho);
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 103, 79, 0.15);
  padding: 0.9rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--marinho);
  line-height: 1.2;
}
.navbar-logo span {
  display: block;
  font-size: 0.65rem;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  color: var(--cinza);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  list-style: none;
}
.navbar-links a {
  font-size: 0.9rem;
  color: var(--texto);
  transition: color 0.2s;
}
.navbar-links a:hover {
  color: var(--verde);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--marinho);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--off);
  border-top: 1px solid rgba(0, 103, 79, 0.15);
  list-style: none;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0, 103, 79, 0.08);
  color: var(--texto);
}
.mobile-menu a:hover {
  color: var(--verde);
  background: rgba(0, 103, 79, 0.04);
}

@media (max-width: 680px) {
  .navbar-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

.hero {
  background: linear-gradient(135deg, var(--verde) 0%, var(--marinho) 30%);
  color: #fff;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0, 103, 79, 0.18);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(0, 103, 79, 0.12);
  pointer-events: none;
}
.hero-tag {
  color: #a0d4c8;
  border-color: #a0d4c8;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.hero-badge {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-badge-item strong {
  font-size: 1.6rem;
  font-family: "Playfair Display", serif;
  color: #fff;
}
.hero-badge-item span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.sobre {
  padding: 2rem 0;
  background: #fff;
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 640px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 640px) {
  .sobre-foto {
    aspect-ratio: unset;
    height: 100%;
    min-height: 480px;
  }
}
.sobre-foto {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.sobre p {
  color: var(--cinza);
  line-height: 1.75;
  margin: 1rem 0;
}
.sobre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.chip {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background: rgba(0, 103, 79, 0.1);
  color: var(--verde);
  font-weight: 500;
}

.servicos {
  padding: 2rem 0;
  background: var(--off);
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header p {
  color: var(--cinza);
  margin-top: 0.5rem;
  font-size: 1rem;
}
.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 540px) {
  .servicos-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 800px) {
  .servicos-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card-servico {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(0, 103, 79, 0.1);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.card-servico:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 128, 0.1);
  transform: translateY(-3px);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--verde), var(--marinho));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.card-servico h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.card-servico p {
  font-size: 0.88rem;
  color: var(--cinza);
  line-height: 1.6;
}

.depoimentos {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--verde), var(--marinho) 50%);
  color: #fff;
}
.depoimentos .section-header {
  color: #fff;
}
.depoimentos .section-header p {
  color: rgba(255, 255, 255, 0.6);
}
.depoimentos .tag {
  color: #a0d4c8;
  border-color: #a0d4c8;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-depoimento {
  width: fit-content;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.depo-stars {
  color: #f4c542;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.depo-texto {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}
.depo-autor {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.depo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde), #00b38a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.depo-autor-nome {
  font-weight: 500;
  font-size: 0.92rem;
}
.depo-autor-cargo {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}
.carousel-dots {
  display: flex;
  gap: 0.4rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.dot.active {
  background: #fff;
  transform: scale(1.25);
}

.blog {
  padding: 2rem 0;
  background: #fff;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card-blog {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 103, 79, 0.1);
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.card-blog:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 128, 0.1);
  transform: translateY(-3px);
}
.card-blog-img {
  height: 210px;
  background-image: url(../images/Em_Breve_Temporario.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.card-blog-body {
  padding: 1.2rem;
}
.card-blog-cat {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--verde);
  margin-bottom: 0.4rem;
}
.card-blog-body h3 {
  font-size: 0.98rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.card-blog-body p {
  font-size: 0.82rem;
  color: var(--cinza);
  line-height: 1.6;
}
.blog-link {
  text-align: center;
  margin-top: 2rem;
}

.cta {
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--verde) 0%, var(--marinho) 100%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-size: 1rem;
}

footer {
  background: #0a0a1a;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 1.6rem;
  font-size: 0.82rem;
}
footer a {
  color: #4dba96;
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: pulso 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes pulso {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
