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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #343434;
  background: #f7f4ef;
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

/* ==========================================================
   VARIÁVEIS
========================================================== */

:root {
  --primary: #7b988f;
  --primary-dark: #5f7c73;
  --primary-light: #dbe6df;

  --beige: #f7f4ef;
  --white: #ffffff;

  --text: #343434;
  --text-light: #707070;

  --shadow: 0 20px 45px rgba(0, 0, 0, 0.08);

  --radius: 22px;

  --transition: 0.35s;
}

/* ==========================================================
   UTILITÁRIOS
========================================================== */

.container {
  width: min(1180px, 90%);
  margin: auto;
}

section {
  padding: 110px 0;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  color: #23322f;
  font-weight: 600;
}

h1 {
  font-size: 4rem;
  line-height: 1.05;
}

h2 {
  font-size: 3rem;
  margin-bottom: 25px;
}

p {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  background: var(--primary);
  color: white;
  border-radius: 40px;
  transition: 0.35s;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(123, 152, 143, 0.25);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.btn-outline {
  padding: 16px 34px;
  border-radius: 40px;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: 0.35s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

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

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 0.4s;
}

header.scrolled {
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.logo {
  width: 165px;
}

.menu {
  display: flex;
  gap: 40px;
}

.menu a {
  position: relative;
  transition: 0.3s;
  color: #444;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.35s;
}

.menu a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 40px;
}

section[id] {
  scroll-margin-top: 100px;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: var(--primary-light);
  border-radius: 50%;
  right: -250px;
  top: -220px;
  opacity: 0.5;
}

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

.subtitle {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-text p {
  max-width: 520px;
  font-size: 1.08rem;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 430px;
  border-radius: 40px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow);
}

.shape {
  position: absolute;
  width: 470px;
  height: 470px;
  background: linear-gradient(140deg, var(--primary), #93b2a8);
  border-radius: 57% 43% 63% 37% / 37% 56% 44% 63%;
  animation: blob 10s infinite ease-in-out;
}

/* ==========================================================
   NÚMEROS
========================================================== */

.numbers {
  display: flex;
  gap: 35px;
  margin-top: 40px;
  justify-content: center;
  text-align: center;
}

.numbers div {
  text-align: center;
}

.numbers h3 {
  color: var(--primary);
  font-size: 2.4rem;
}

.numbers span {
  font-size: 0.9rem;
  color: #666;
}

.care-statement {
  margin-top: 34px;
  background: #23322f; /* mesma cor do seu footer, já é a cor "escura" da marca */
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.care-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.care-mark span {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.care-mark span:first-child {
  top: 0;
  left: 0;
  background: var(--primary-light);
  opacity: 0.9;
}

.care-mark span:last-child {
  bottom: 0;
  right: 0;
  background: var(--primary);
}

.care-text .care-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.care-text p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: white;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================
   ANIMAÇÃO BLOB
========================================================== */

@keyframes blob {
  0% {
    border-radius: 57% 43% 63% 37% / 37% 56% 44% 63%;
    transform: rotate(0deg);
  }

  50% {
    border-radius: 41% 59% 38% 62% / 61% 39% 61% 39%;
    transform: rotate(8deg);
  }

  100% {
    border-radius: 57% 43% 63% 37% / 37% 56% 44% 63%;
    transform: rotate(0deg);
  }
}

/* ==========================================================
   SOBRE
========================================================== */

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 90px;
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  border-radius: 35px;
  transform: rotate(-6deg);
  left: -18px;
  top: 18px;
  z-index: 0;
}

.about-image img {
  position: relative;
  border-radius: 35px;
  z-index: 2;
  box-shadow: var(--shadow);
}

.about-content {
  max-width: 650px;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.about-content h2 {
  margin-bottom: 30px;
}

/* ==========================================================
   FRASE
========================================================== */

.quote {
  background: linear-gradient(135deg, var(--primary), #8ca79e);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -220px;
  left: -180px;
}

.quote::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -180px;
  right: -150px;
}

.quote h2 {
  color: white;
  max-width: 850px;
  margin: 0 auto 45px;
  font-size: 2.8rem;
  position: relative;
  z-index: 2;
}

.quote .btn {
  background: white;
  color: var(--primary);
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.quote .btn:hover {
  background: #f5f5f5;
}

/* ==========================================================
   ESPECIALIDADES
========================================================== */

.services {
  background: #f8f5f0;
}

.services h2 {
  margin-bottom: 60px;
}

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

.card {
  background: white;
  padding: 40px;
  border-radius: 25px;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--primary-light);
  border-radius: 50%;
  top: -30px;
  right: -30px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.card:hover::before {
  transform: scale(2);
  opacity: 0.25;
}

.card h3 {
  margin-bottom: 18px;
  font-size: 2rem;
  color: var(--primary-dark);
}

.card p {
  margin-bottom: 0;
}

/* ==========================================================
   TIMELINE
========================================================== */

.process {
  background: white;
}

.timeline {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.timeline div {
  background: #f8f5f0;
  border-radius: 22px;
  padding: 35px;
  text-align: center;
  position: relative;
  transition: 0.35s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.timeline div:hover {
  transform: translateY(-8px);
  background: var(--primary);
  color: white;
}

.timeline div::before {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.timeline div:nth-child(1)::before {
  content: "1";
}

.timeline div:nth-child(2)::before {
  content: "2";
}

.timeline div:nth-child(3)::before {
  content: "3";
}

.timeline div:nth-child(4)::before {
  content: "4";
}

.timeline div:nth-child(5)::before {
  content: "5";
}

.timeline div:nth-child(6)::before {
  content: "6";
}

.timeline div:nth-child(7)::before {
  content: "7";
}

.timeline div:nth-child(8)::before {
  content: "8";
}

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

.menu-mobile {
  width: 34px;
  height: 26px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-mobile span {
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 20px;
  transition: 0.35s;
}

.menu-mobile.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.menu-mobile.active span:nth-child(2) {
  opacity: 0;
}

.menu-mobile.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* ==========================================================
FAQ
========================================================== */

.accordion {
  margin-top: 60px;
}

.item {
  background: white;
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.item button {
  width: 100%;
  border: none;
  background: none;
  padding: 25px;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #2f2f2f;
}

.item .content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  padding: 0 25px;
}

.item.open .content {
  max-height: 220px;
  padding: 0 25px 25px;
}

.item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item button::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.3s;
}
.item.open button::after {
  transform: rotate(45deg);
}

/* ==========================================================
CONTATO
========================================================== */

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

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

footer {
  background: #23322f;
  color: white;
  text-align: center;
  padding: 20px 0;
}

footer p {
  color: #d8d8d8;
  margin: 0;
}

/* ==========================================================
WHATSAPP
========================================================== */

.whatsapp {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.18),
    0 0 0 8px rgba(37, 211, 102, 0.12);

  transition: 0.35s;
  z-index: 999;
}

.whatsapp i {
  font-size: 2.1rem;
}

.whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.22),
    0 0 0 10px rgba(37, 211, 102, 0.16);
}

/* ==========================================================
REVEAL
========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.menu.active {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.btn:active,
.btn-outline:active,
.card:active,
.timeline div:active,
.whatsapp:active {
  transform: scale(0.97);
}
