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

:root {
  --cream:   #f0f7fd;
  --warm:    #e1f0fa;
  --terra:   #3b8fc4;
  --terra-d: #2a72a3;
  --blush:   #b3d9f0;
  --brown:   #0d2a3d;
  --muted:   #4a7a9b;
  --wa:      #16935c;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; margin: 0; padding: 0; background: var(--brown); }

html, body { margin: 0; padding: 0; width: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--brown);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0.65;
}

.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(59,143,196,0.52) 38%, rgba(13,42,61,0.32) 100%);
}

.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  width: 100%;
  max-width: 100%;
}

.hero-left::after { display: none; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); font-weight: 700; margin-bottom: 2rem;
}
.hero-tag::before { content:''; display:block; width:28px; height:1.5px; background:rgba(255,255,255,0.45); }

.hero-left h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  color: var(--white); line-height: 1.06; margin-bottom: 1.4rem; font-weight: 600;
}
.hero-left h1 em { font-style: italic; color: var(--blush); }

.hero-left p {
  font-size: 1.02rem; color: rgba(255,255,255,0.8); line-height: 1.72;
  max-width: 520px; margin-bottom: 2.5rem; font-weight: 300;
}

.btn-wa-hero {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--wa); color: #ffffff;
  font-size: 0.95rem; font-weight: 700;
  padding: 1rem 2.2rem; border-radius: 100px; text-decoration: none;
  width: fit-content; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-wa-hero i { color: #ffffff; font-size: 1.2rem; }
.btn-wa-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.22); }

.stat-card {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 36px rgba(13,42,61,0.18);
  display: flex; align-items: center; gap: 0.8rem;
}
.stat-card:nth-child(2) { bottom: 18%; right: 7%; animation: floatC 4s ease-in-out infinite; }
.stat-card:nth-child(3) { top: 22%;  right: 7%; animation: floatC 4s ease-in-out infinite 1.6s; }

.stat-icon {
  width:42px; height:42px; border-radius:12px;
  background: var(--warm); color: var(--terra);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0;
}
.stat-num { font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:600; color:var(--brown); line-height:1; }
.stat-lbl { font-size:0.72rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.05em; }

@keyframes floatC {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─── SHARED ─── */
section { padding: 96px 24px; }
.container { max-width: 1160px; margin: 0 auto; }

.tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); font-weight: 700; margin-bottom: 0.8rem;
}
.tag::before { content:'●'; font-size:0.45rem; }

.sec-title { font-size: clamp(2.6rem,5vw,4rem); color:var(--brown); line-height:1.1; margin-bottom:0.6rem; }
.sec-sub   { color:var(--muted); font-size:1.1rem; font-weight:300; max-width:500px; line-height:1.72; }
.sec-head  { margin-bottom: 3.5rem; }

/* ─── SERVICES ─── */
#servicos { background: #f8fbff; }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
}

.svc {
  background: var(--cream); border-radius: 20px;
  padding: 1.8rem 1.6rem;
  border: 1.5px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.svc:hover { border-color:var(--blush); transform:translateY(-4px); box-shadow:0 16px 40px rgba(196,113,74,0.1); }

.svc-icon {
  width:48px; height:48px; border-radius:14px;
  background:var(--terra); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; margin-bottom:0.3rem;
}

.svc h3 { font-family:'Poppins',sans-serif; font-size:1.05rem; font-weight:700; color:var(--brown); }
.svc p  { font-size:0.875rem; color:var(--muted); line-height:1.65; flex:1; }

.btn-svc {
  display:inline-flex; align-items:center; gap:0.45rem;
  background:var(--wa); color:#fff;
  font-size:0.8rem; font-weight:700;
  padding:0.55rem 1.1rem; border-radius:100px;
  text-decoration:none; width:fit-content;
  transition:opacity .2s;
}
.btn-svc:hover { opacity:.85; }

/* ─── SOBRE ─── */
#sobre { background: #daeef9; position:relative; overflow:hidden; padding: 96px 24px; }

#sobre::before { display:none; }

.sobre-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-text { display: flex; flex-direction: column; gap: 1rem; }

.sobre-desc { font-size: 0.97rem; color: var(--muted); line-height: 1.8; font-weight: 300; }

.sobre-stats {
  display: flex; gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--blush);
}
.sobre-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.sobre-stat-n { font-size: 2rem; font-weight: 700; color: var(--terra); line-height: 1; }
.sobre-stat-l { font-size: 0.75rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.team-photo-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(13,42,61,0.12);
  aspect-ratio: 4/5;
}
.team-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  object-position: center top;
}

@media (max-width: 768px) {
  .sobre-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-stats { gap: 1.2rem; }
  .sobre-stat-n { font-size: 1.6rem; }
}

/* ─── DEPOIMENTOS ─── */
#depoimentos { background: #0f2b3f; position:relative; overflow:hidden; padding: 96px 24px; }
#depoimentos .tag { color: var(--blush); }
#depoimentos .sec-title { color: #fff; }

.dep-wrapper { position: relative; padding: 0 48px; }

.dep-swiper { overflow: hidden; padding-bottom: 48px; }
.dep-swiper .swiper-wrapper { align-items: stretch; }
.dep-swiper .swiper-slide { height: auto; }

.dep-card-new {
  background: #fff; border: 1.5px solid #e2eaf2;
  border-radius: 20px; padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1rem; height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: box-shadow .25s;
}
.dep-card-new:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.25); }

.dep-stars-new { color: #f59e0b; font-size: 1rem; letter-spacing: 0.1em; }

.dep-quote { font-size: 0.9rem; color: var(--muted); line-height: 1.75; font-style: italic; flex: 1; }

.dep-author {
  display: flex; align-items: center; gap: 0.9rem;
  padding-top: 1rem; border-top: 1px solid #e2eaf2;
}
.dep-initials {
  width: 42px; height: 42px; border-radius: 50%;
  background: #0f2b3f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.dep-author strong { display: block; font-size: 0.875rem; color: var(--brown); }
.dep-author span   { font-size: 0.75rem; color: var(--muted); }

.dep-pagination { text-align: center; }
.dep-pagination .swiper-pagination-bullet { background: var(--blush); }
.dep-pagination .swiper-pagination-bullet-active { background: var(--terra); }

.dep-arrow {
  position: absolute; top: 50%; transform: translateY(calc(-50% - 24px));
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1.5px solid #e2eaf2;
  box-shadow: 0 4px 14px rgba(13,42,61,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--brown); font-size: 0.85rem;
  transition: background .2s, color .2s; z-index: 10;
}
.dep-arrow:hover { background: var(--terra); color: #fff; border-color: var(--terra); }
.dep-arrow-l { left: 0; }
.dep-arrow-r { right: 0; }

/* ─── CONTATO ─── */
#contato { background: #eaf6ff; padding: 96px 24px; }

.contact-wrap {
  display:grid; grid-template-columns:1fr 1.2fr;
  gap:3.5rem; align-items:start;
}
.contact-left { display:flex; flex-direction:column; gap:1.6rem; }

.c-item { display:flex; gap:1.1rem; align-items:flex-start; }
.c-ico {
  width:46px; height:46px; border-radius:14px;
  background:var(--terra); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; flex-shrink:0;
}
.c-item h4 {
  font-family:'Poppins',sans-serif; font-size:0.72rem;
  text-transform:uppercase; letter-spacing:0.12em;
  color:var(--terra); font-weight:700; margin-bottom:0.2rem;
}
.c-item p, .c-item a { font-size:0.95rem; color:var(--brown); text-decoration:none; line-height:1.5; }
.c-item a:hover { color:var(--terra); }

.btn-wa-full {
  display:inline-flex; align-items:center; gap:0.7rem;
  background:var(--wa); color:#fff;
  font-size:0.95rem; font-weight:700;
  padding:0.9rem 2rem; border-radius:100px;
  text-decoration:none; width:fit-content;
  box-shadow:0 6px 28px rgba(37,211,102,0.3);
  transition:transform .2s, box-shadow .2s;
}
.btn-wa-full:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(37,211,102,0.42); }

.map-wrap {
  border-radius:24px; overflow:hidden;
  box-shadow:0 12px 48px rgba(61,35,20,0.12); height:400px;
}
.map-wrap iframe { width:100%; height:100%; border:none; display:block; }

/* ─── FOOTER ─── */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 0;
  width: 100%;
  display: block;
  position: relative;
  box-shadow: 0 0 0 100vmax var(--brown);
  clip-path: inset(0 -100vmax);
}

.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: 0 24px 3rem;
  position: relative; z-index: 1;
}
.f-brand { font-family:'Poppins',sans-serif; font-size:1.5rem; color:#fff; margin-bottom:0.7rem; }
.footer-col p { font-size:0.88rem; line-height:1.7; max-width:220px; }
.footer-col h5 {
  font-family:'Poppins',sans-serif; font-size:0.72rem;
  letter-spacing:0.18em; text-transform:uppercase;
  color:var(--blush); font-weight:700; margin-bottom:1rem;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.55rem; }
.footer-col ul a { color:rgba(255,255,255,0.45); text-decoration:none; font-size:0.9rem; transition:color .2s; }
.footer-col ul a:hover { color:var(--blush); }

.footer-bottom {
  background: var(--brown);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 24px;
  text-align: center; font-size: 0.82rem;
  width: 100%;
  position: relative; z-index: 1;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

/* ─── FLOATING WA ─── */
.wa-float {
  position:fixed; bottom:2rem; left:1.6rem; z-index:9998;
  background:var(--wa); color:#fff;
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.55rem; text-decoration:none;
  animation:waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow:0 6px 28px rgba(37,211,102,0.45); }
  50%      { box-shadow:0 8px 42px rgba(37,211,102,0.72); }
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-left > * { animation:fadeUp 0.8s ease both; }
.hero-left > *:nth-child(1) { animation-delay:.1s; }
.hero-left > *:nth-child(2) { animation-delay:.25s; }
.hero-left > *:nth-child(3) { animation-delay:.4s; }
.hero-left > *:nth-child(4) { animation-delay:.55s; }

/* ─── RESPONSIVE ─── */
@media (max-width:1024px) {
  .hero-left { padding: 5rem 2.5rem; max-width: 100%; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .contact-wrap { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; padding:0 24px 2.5rem; }
}
@media (max-width:640px) {
  .hero-left { padding: 4rem 1.5rem 5rem; text-align: center; align-items: center; }
  .hero-left p { max-width: 100%; }
  .hero-tag { justify-content: center; }
  .services-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:1.8rem; padding:0 20px 2rem; }
  footer { padding-top: 48px; }
  section { padding:64px 20px; }
  .dep-card blockquote { font-size:1.1rem; }
  .dep-wrapper { padding: 0 36px; }
  .dep-arrow { width: 34px; height: 34px; font-size: 0.75rem; }
}
