/*
Theme Name: Site Próprio
Author: Renan
Description: Tema leve personalizado para substituir o Divi.
Version: 1.0
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #ffffff;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 24px;
  color: #111;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

header {
  background: #ffffff !important;
  border-bottom: 1px solid #eeeeee !important;
  padding: 22px 24px !important;
}

header strong {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 22px;
  color: #111;
}

footer {
  background: #222222 !important;
  color: #ffffff !important;
  padding: 28px 24px !important;
  margin-top: 50px !important;
}

footer strong {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
}

/* Header Albertini */
.sp-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  z-index: 999;
}

.sp-header-container {
  max-width: 1180px;
  height: 120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sp-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sp-logo img {
  display: block;
  width: 170px;
  max-width: 170px;
  height: auto;
}

.sp-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}

.sp-menu a {
  font-size: 15px;
  font-weight: 600;
  color: #1f4f8f;
  text-decoration: none;
  line-height: 1;
}

.sp-menu a:hover {
  color: #8ab6dc;
}

@media (max-width: 768px) {
  .sp-header-container {
    height: auto;
    padding: 18px 22px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .sp-logo img {
    width: 150px;
    max-width: 150px;
  }

  .sp-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .sp-menu a {
    font-size: 14px;
  }
}

/* Menu hambúrguer mobile */
.sp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.sp-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1f4f8f;
  border-radius: 999px;
  margin: 5px auto;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .sp-header-container {
    height: auto;
    min-height: 86px;
    padding: 14px 22px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sp-logo img {
    width: 130px;
    max-width: 130px;
  }

  .sp-menu-toggle {
    display: block;
  }

  .sp-menu {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    top: 86px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 18px 22px 22px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 14px 26px rgba(20, 72, 92, 0.08);
  }

  body.sp-menu-open .sp-menu {
    display: flex;
  }

  body.sp-menu-open .sp-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.sp-menu-open .sp-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.sp-menu-open .sp-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Footer Albertini */
.sp-footer {
  width: 100%;
  background: #14485C;
  color: #ffffff;
  padding: 58px 24px 34px;
}

.sp-footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr 1fr;
  gap: 42px;
  align-items: flex-start;
}

.sp-footer-col h2 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}

.sp-footer-col p {
  color: #ffffff;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 15px;
}

.sp-footer-col a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 15.5px;
  line-height: 1.35;
  margin-bottom: 11px;
  transition: all 0.2s ease;
}

.sp-footer-col a:hover {
  color: #EAF6FA;
  transform: translateX(3px);
}

.sp-footer-btn {
  display: inline-block !important;
  width: auto;
  background: #4FA3C4;
  color: #ffffff !important;
  padding: 10px 17px;
  border-radius: 8px;
  font-weight: 800;
  margin-top: 6px;
  margin-bottom: 22px !important;
}

.sp-footer-btn:hover {
  background: #ffffff;
  color: #14485C !important;
  transform: none !important;
}

.sp-rr-credits {
  margin-top: 14px;
}

.sp-rr-credits a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4af37;
  margin: 0;
}

.sp-rr-credits a:hover {
  transform: none;
  color: #d4af37;
}

.sp-rr-credits span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.sp-rr-credits small {
  font-size: 12px;
  font-weight: 400;
}

.sp-rr-credits strong {
  font-size: 13px;
  letter-spacing: 1px;
}

.sp-rr-credits img {
  height: 38px;
  width: auto;
  display: block;
}

.sp-footer-social-title {
  margin-top: 22px !important;
}

.sp-footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sp-footer-social a {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 9px 13px;
  border-radius: 999px;
  margin: 0;
  font-size: 14px;
}

.sp-footer-social a:hover {
  background: #ffffff;
  color: #14485C;
  transform: none;
}

@media (max-width: 980px) {
  .sp-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .sp-footer {
    padding: 44px 20px 28px;
  }

  .sp-footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sp-footer-col h2 {
    font-size: 21px;
  }

  .sp-footer-col p,
  .sp-footer-col a {
    font-size: 15px;
  }
}

/* Blog / Archive */
.sp-blog {
  background: #ffffff;
  padding: 72px 24px;
}

.sp-blog-container {
  max-width: 1180px;
  margin: 0 auto;
}

.sp-blog-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.sp-blog-header h1 {
  color: #14485C;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0 0 16px;
}

.sp-blog-header p {
  color: #333333;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.sp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sp-blog-card {
  background: #ffffff;
  border: 1px solid #D5EAF2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(79, 163, 196, 0.12);
  transition: all 0.25s ease;
}

.sp-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(79, 163, 196, 0.18);
}

.sp-blog-card-image {
  display: block;
  width: 100%;
  background: #EAF6FA;
  min-height: 190px;
}

.sp-blog-card-image img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.sp-blog-card-content {
  padding: 24px 22px 26px;
}

.sp-blog-card-content h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 900;
}

.sp-blog-card-content h2 a {
  color: #14485C;
  text-decoration: none;
}

.sp-blog-card-content h2 a:hover {
  color: #4FA3C4;
}

.sp-blog-card-content p {
  color: #333333;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.sp-blog-readmore {
  display: inline-block;
  background: #4FA3C4;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.sp-blog-readmore:hover {
  background: #14485C;
}

@media (max-width: 980px) {
  .sp-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sp-blog {
    padding: 52px 18px;
  }

  .sp-blog-header h1 {
    font-size: 32px;
  }

  .sp-blog-grid {
    grid-template-columns: 1fr;
  }

  .sp-blog-card-image img {
    height: 205px;
  }
}

/* Post individual */
.sp-single {
  background: #ffffff;
  padding: 72px 24px;
}

.sp-single-container {
  max-width: 920px;
  margin: 0 auto;
}

.sp-post {
  background: #ffffff;
}

.sp-post h1 {
  color: #14485C;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0 0 28px;
}

.sp-post-content {
  color: #333333;
  font-size: 18px;
  line-height: 1.75;
}

.sp-post-content p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 22px;
}

.sp-post-content h2 {
  color: #14485C;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 900;
  margin: 44px 0 18px;
}

.sp-post-content h3 {
  color: #14485C;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  margin: 34px 0 14px;
}

.sp-post-content a {
  color: #4FA3C4;
  font-weight: 700;
  text-decoration: underline;
}

.sp-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  margin: 24px 0;
}

.sp-post-content ul,
.sp-post-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.sp-post-content li {
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .sp-single {
    padding: 48px 18px;
  }

  .sp-post h1 {
    font-size: 32px;
  }

  .sp-post-content,
  .sp-post-content p {
    font-size: 16.5px;
    line-height: 1.7;
  }

  .sp-post-content h2 {
    font-size: 26px;
  }

  .sp-post-content h3 {
    font-size: 22px;
  }
}