/*
Theme Name: Arancia Home V2
Theme URI: https://aranciaotica.com.br/
Author: ICBDigital + Codex
Description: Tema leve para a Home da Otica Arancia Curitiba.
Version: 1.0.0
Text Domain: arancia-novo
*/

:root {
  --ink: #171411;
  --text: #383431;
  --muted: #756f68;
  --line: #e7dfd5;
  --paper: #f6f1e9;
  --white: #ffffff;
  --orange: #f57920;
  --orange-dark: #bd5413;
  --charcoal: #191613;
  --charcoal-2: #0f0e0d;
  --peach: #fff0e5;
  --sand: #eadfce;
  --shadow: 0 26px 80px rgba(18, 21, 20, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

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

.site-topbar {
  background: var(--charcoal-2);
  color: var(--white);
  font-size: 0.88rem;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 21, 20, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 142px;
  max-height: 62px;
  object-fit: contain;
}

.main-nav,
.main-nav ul,
.main-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--orange-dark);
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--orange);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--orange-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.new-hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(245, 124, 27, 0.2), transparent 32%),
    linear-gradient(135deg, var(--charcoal-2), #211a15 58%, #3a271b);
}

.new-hero-inner {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.9fr);
  grid-template-areas:
    "copy media"
    "info media";
  align-items: center;
  gap: 28px 54px;
  padding: 56px 0;
}

.hero-content {
  grid-area: copy;
  max-width: 620px;
}

.hero-pill,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.new-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(3rem, 5.1vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: 0;
  color: var(--white);
}

.new-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-info {
  grid-area: info;
  align-self: start;
  display: grid;
  gap: 8px;
  max-width: 430px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-media {
  grid-area: media;
  width: 100%;
  min-height: 520px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--hero-image) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-info strong {
  color: var(--white);
  font-size: 1.1rem;
}

.hero-info span {
  color: rgba(255, 255, 255, 0.78);
}

.signal-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.signal-grid div {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 24px;
  border-left: 1px solid var(--line);
}

.signal-grid div:last-child {
  border-right: 1px solid var(--line);
}

.signal-grid strong {
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1.05;
}

.signal-grid span {
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.4fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 12px;
  background: transparent;
  color: var(--orange-dark);
  padding: 0;
}

.section h2,
.contact-box h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-title-row p,
.blog-new p,
.experience-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-new {
  background: var(--paper);
}

.service-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-tile {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(18, 21, 20, 0.06);
}

.service-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 999px;
  background: var(--peach);
  color: var(--orange-dark);
}

.service-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-grid span {
  color: var(--orange);
  font-weight: 950;
}

.service-tile h3 {
  margin: 46px 0 10px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.5vw, 1.58rem);
  line-height: 1.08;
}

.service-tile p {
  margin: 0;
  color: var(--muted);
}

.service-tile a {
  margin-top: 22px;
  color: var(--orange);
  font-weight: 900;
}

.experience-new {
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 0.68fr);
  align-items: center;
  gap: 54px;
}

.experience-copy h2 {
  margin-bottom: 20px;
}

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

.clean-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.experience-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.experience-image img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.brands-new {
  background: var(--charcoal);
  color: var(--white);
}

.brand-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.76fr);
  gap: 42px;
  align-items: start;
}

.brands-new h2 {
  color: var(--white);
}

.brands-new .section-kicker {
  color: #ffc28b;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-tags span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 900;
}

.process-new {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 230px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.process-grid h3 {
  margin: 48px 0 10px;
  color: var(--ink);
  font-size: 1.45rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.blog-new {
  background: var(--white);
}

.blog-new-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.blog-new h2 {
  max-width: 760px;
}

.blog-new p {
  max-width: 760px;
  margin-top: 18px;
}

.contact-new {
  background: var(--charcoal-2);
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(360px, 0.8fr);
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}

.contact-box img {
  width: 150px;
  margin-bottom: 26px;
}

.contact-box p {
  margin: 12px 0;
  color: var(--muted);
}

.map-frame {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  background: var(--charcoal-2);
  color: rgba(255, 255, 255, 0.76);
  padding: 44px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 0.45fr));
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer ul {
  margin: 0;
  padding: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(245, 121, 32, 0.34);
  font-weight: 900;
}

.content-area {
  padding: 72px 0;
  background: var(--white);
}

.content-area article {
  max-width: 820px;
  margin: 0 auto 34px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--orange-dark);
  font-weight: 850;
}

@media (max-width: 1020px) {
  .header-inner,
  .new-hero-inner,
  .section-title-row,
  .experience-grid,
  .brand-panel,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 14px;
    padding: 12px 0;
  }

  .main-nav,
  .main-nav ul,
  .main-nav-list {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .new-hero,
  .new-hero-inner {
    min-height: auto;
  }

  .new-hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "info";
    padding: 82px 0 48px;
  }

  .hero-media {
    min-height: 420px;
  }

  .signal-grid,
  .process-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .site-topbar {
    display: none;
  }

  .brand img {
    width: 128px;
  }

  .main-nav,
  .main-nav ul,
  .main-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    width: 100%;
    font-size: 0.88rem;
    overflow: visible;
  }

  .header-inner > .button {
    width: 100%;
  }

  .new-hero {
    background: linear-gradient(135deg, var(--charcoal-2), #211a15);
  }

  .new-hero h1 {
    font-size: 2.44rem;
    line-height: 0.95;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .new-hero p {
    font-size: 1rem;
    max-width: 31ch;
    overflow-wrap: break-word;
  }

  .hero-media {
    min-height: 310px;
    background-position: 62% center;
  }

  .hero-actions,
  .button,
  .blog-new-inner .button {
    width: 100%;
  }

  .signal-grid,
  .process-grid,
  .blog-new-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-mosaic {
    grid-template-columns: 1fr;
  }

  .signal-grid div {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .contact-box h2 {
    font-size: 2.05rem;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .service-tile {
    min-height: 260px;
    padding: 22px;
  }

  .service-tile h3 {
    margin-top: 38px;
  }

  .service-tile p {
    overflow-wrap: break-word;
  }

  .blog-new-inner,
  .contact-box {
    padding: 20px;
  }

  .map-frame {
    min-height: 340px;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
  }
}
