/*
Theme Name: Select Tintas
Theme URI: https://selecttintas.com.br/
Author: Select Tintas
Author URI: https://selecttintas.com.br/
Description: Tema WordPress leve, comercial e responsivo para loja de tintas em Teresina-PI, com foco em orçamento pelo WhatsApp, presença local e compatibilidade básica com WooCommerce.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: select-tintas
Tags: custom-logo, custom-menu, featured-images, e-commerce, one-column, two-columns, responsive-layout
*/

:root {
  --st-primary: #245fdb;
  --st-primary-dark: #1748ad;
  --st-secondary: #ef3a16;
  --st-secondary-dark: #c82d0f;
  --st-purple: #76559b;
  --st-text: #152033;
  --st-muted: #5f6f86;
  --st-soft: #f6f8fb;
  --st-soft-blue: #eef6ff;
  --st-soft-red: #fff2ee;
  --st-border: #e5eaf1;
  --st-white: #ffffff;
  --st-radius: 14px;
  --st-radius-sm: 9px;
  --st-header-height: 82px;
  --st-max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--st-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--st-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus {
  color: var(--st-primary);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--st-max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--st-text);
  color: var(--st-white);
  border-radius: var(--st-radius-sm);
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #ef3a16 0%, #8b5c92 52%, #245fdb 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  min-height: var(--st-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 170px;
}

.site-branding .custom-logo-link,
.site-branding .brand-link {
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo,
.brand-logo {
  width: auto;
  max-width: 184px;
  max-height: 54px;
  display: block;
}

.site-header a,
.site-header .screen-reader-text {
  color: var(--st-white);
}

.site-header .btn--small.header-cta {
  background: var(--st-white);
  color: var(--st-primary-dark) !important;
  border-color: rgba(255,255,255,0.5);
}

.site-header .btn--small.header-cta:hover,
.site-header .btn--small.header-cta:focus {
  background: #eef4ff;
  color: var(--st-primary-dark) !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--st-radius-sm);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.94rem;
  font-weight: 650;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.14);
  color: var(--st-white);
}

.header-cta {
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--st-radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--st-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 21px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.btn,
.wp-block-button__link,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--st-radius-sm);
  background: var(--st-primary);
  color: var(--st-white) !important;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover,
.btn:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit:focus {
  background: var(--st-primary-dark);
  color: var(--st-white) !important;
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--st-secondary);
  color: var(--st-white) !important;
}

.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--st-secondary-dark);
  color: var(--st-white) !important;
}

.btn--outline {
  background: var(--st-white);
  color: var(--st-text) !important;
  border-color: var(--st-border);
}

.btn--outline:hover,
.btn--outline:focus {
  background: var(--st-soft-blue);
  color: var(--st-primary-dark) !important;
  border-color: #c9d9f9;
}

.btn--small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.92rem;
}

.site-main {
  min-height: 65vh;
}

.section {
  padding: 78px 0;
}

.section--soft {
  background: var(--st-soft);
}

.section--blue {
  background: var(--st-soft-blue);
}

.section__head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--st-secondary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--st-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  line-height: 1.12;
  color: var(--st-text);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.75rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 880;
}

h3 {
  font-size: 1.18rem;
  font-weight: 820;
}

p {
  margin: 0 0 18px;
  color: var(--st-muted);
}

.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
  color: #42516a;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 58, 22, 0.12), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(36, 95, 219, 0.14), transparent 32%),
    linear-gradient(90deg, #fff7f4 0%, #f8f6fc 50%, #eef6ff 100%);
  border-bottom: 1px solid var(--st-border);
}

.hero__inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0;
}

.hero__content {
  max-width: 750px;
}

.hero__actions,
.page-hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.hero__visual {
  position: relative;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.hero-card--text {
  box-shadow: none;
}

.hero-card__content {
  padding: 22px;
}

.hero-card__content--spacious {
  padding: 28px;
}

.hero-card__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-secondary);
}

.hero-card__content strong {
  display: block;
  font-size: 1.34rem;
  margin-bottom: 10px;
  color: var(--st-text);
}

.hero-card__content p {
  margin: 0;
  font-size: 0.98rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #31425c;
  font-weight: 700;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(36, 95, 219, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #24334a;
  font-size: 0.88rem;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.st-card,
.info-card,
.offer-card,
.contact-card,
.feature-card {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-white);
  padding: 24px;
}

.st-card__mark,
.feature-icon,
.offer-card__tag {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--st-secondary);
}

.st-card__mark svg,
.feature-icon svg,
.badge svg,
.hero-points svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.st-card__mark,
.feature-icon {
  color: var(--st-white);
}

.st-card__mark--suvinil,
.feature-icon--brands {
  background: var(--st-purple);
}

.st-card__mark--futura,
.feature-icon--support {
  background: var(--st-primary);
}

.st-card__mark--shelter,
.feature-icon--shipping {
  background: #8b5c92;
}

.st-card__mark--condor,
.feature-icon--delivery {
  background: var(--st-secondary);
}

.st-card__mark--shield {
  background: #1f9d63;
}

.st-card__mark--tools {
  background: #475569;
}

.badge svg {
  width: 17px;
  height: 17px;
  color: var(--st-primary-dark);
}

.badge--delivery svg {
  color: var(--st-secondary);
}

.badge--shipping svg {
  color: var(--st-purple);
}

.hero-points svg {
  color: var(--st-primary-dark);
}


.st-card p,
.info-card p,
.offer-card p,
.contact-card p,
.feature-card p {
  margin-bottom: 0;
}

.st-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--st-primary-dark);
  font-weight: 800;
}

.st-link::after {
  content: "→";
  margin-left: 8px;
}

.feature-icon::before {
  content: none;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.offer-card__tag {
  width: auto;
  height: auto;
  padding: 8px 10px;
  color: var(--st-white);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-card .btn {
  margin-top: 20px;
  align-self: flex-start;
}


.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-white);
  overflow: hidden;
}

.product-card__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--st-border);
}

.product-card__image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.product-card__body p {
  margin-bottom: 0;
}

.product-card__body .st-link {
  margin-top: auto;
  padding-top: 18px;
}

.product-panel {
  border: 1px solid var(--st-border);
  border-radius: 24px;
  background: var(--st-white);
  padding: 24px;
}

.product-panel__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: #ffffff;
}

.product-panel__image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.product-panel .check-list {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.split__panel {
  border: 1px solid var(--st-border);
  border-radius: 24px;
  background: var(--st-white);
  padding: 28px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #34435a;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--st-primary);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 5px;
  height: 9px;
  border: solid var(--st-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-hero {
  background:
    radial-gradient(circle at 14% 0%, rgba(239, 58, 22, 0.12), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(36, 95, 219, 0.13), transparent 32%),
    var(--st-soft);
  border-bottom: 1px solid var(--st-border);
}

.page-hero__inner {
  padding: 78px 0;
  max-width: 860px;
}

.content-section {
  padding: 70px 0;
}

.content-section h2 + p {
  max-width: 820px;
}

.cta-band {
  margin: 78px 0;
  border-radius: 28px;
  padding: 46px;
  background: #1d3f8f;
  color: var(--st-white);
  overflow: hidden;
}

.cta-band h2,
.cta-band p {
  color: var(--st-white);
}

.cta-band p {
  max-width: 720px;
  opacity: 0.92;
}


.cta-band .eyebrow {
  color: var(--st-white);
}

.cta-band .eyebrow::before {
  background: var(--st-white);
}

.cta-band .btn--outline {
  color: var(--st-text) !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  padding: 16px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-sm);
  background: var(--st-soft);
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--st-text);
}

.contact-map-placeholder {
  min-height: 320px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background:
    linear-gradient(135deg, rgba(239, 58, 22, 0.09), rgba(36, 95, 219, 0.09)),
    var(--st-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #22c55e;
  color: var(--st-white) !important;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  background: #16a34a;
  color: var(--st-white) !important;
}

.floating-whatsapp__icon {
  width: 20px;
  height: 20px;
  border: 2px solid var(--st-white);
  border-radius: 999px;
  position: relative;
}

.floating-whatsapp__icon::after {
  content: "";
  position: absolute;
  left: -2px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--st-white);
  border-bottom: 2px solid var(--st-white);
  transform: rotate(-18deg);
}

.site-footer {
  background: #111827;
  color: #dbe4f2;
  padding: 58px 0 22px;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  color: #cbd5e1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.75fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.site-footer__logo {
  width: 170px;
  height: auto;
  margin-bottom: 18px;
}

.site-footer h3 {
  color: var(--st-white);
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-menu {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a {
  color: #cbd5e1;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--st-white);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9aa8bd;
  font-size: 0.92rem;
}

.wp-block-image img,
.entry-content img {
  border-radius: var(--st-radius);
}

.entry-content {
  padding: 60px 0;
}

.entry-content > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  max-width: var(--st-max);
}

.entry-content > .alignfull {
  max-width: none;
}

.woo-container {
  padding: 54px 0 72px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  padding: 16px;
  background: var(--st-white);
}

.woocommerce ul.products li.product a img {
  border-radius: var(--st-radius-sm);
  margin-bottom: 14px;
}

.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--st-text);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--st-primary-dark);
  font-weight: 850;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-sm);
  background: var(--st-white);
  color: var(--st-text);
  padding: 12px 14px;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(36, 95, 219, 0.6);
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .primary-menu a {
    padding-inline: 9px;
    font-size: 0.9rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero__visual {
    max-width: 460px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --st-header-height: 72px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .container {
    width: min(100% - 28px, var(--st-max));
  }

  .site-header__inner {
    min-height: var(--st-header-height);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--st-header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 18px;
    background: linear-gradient(90deg, #ef3a16 0%, #8b5c92 52%, #245fdb 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .primary-menu a {
    min-height: 44px;
    width: 100%;
  }

  .hero__inner,
  .page-hero__inner {
    padding: 54px 0;
  }

  .section,
  .content-section {
    padding: 54px 0;
  }

  .grid--4,
  .grid--3,
  .grid--2,
  .product-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .st-card,
  .feature-card,
  .offer-card,
  .product-card {
    width: 100%;
  }

  .cta-band {
    margin: 54px 0;
    padding: 32px 24px;
    border-radius: 22px;
  }
}

@media (max-width: 620px) {
  .product-card__image-wrap,
  .product-panel__image-wrap {
    min-height: 200px;
  }

  body {
    font-size: 15px;
  }

  .site-branding .custom-logo,
  .brand-logo {
    max-width: 145px;
    max-height: 46px;
  }

  .hero__actions,
  .page-hero__actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .page-hero__actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: 82px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: block;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
