/* ==========================================================================
   Loja Opção do Lar — estilos
   Paleta 60/30/10: branco / laranja / cinza-carvão
   ========================================================================== */

:root {
  --white: #ffffff;
  --gray-50: #faf9f8;
  --gray-100: #f2f1ef;
  --gray-200: #e4e2df;
  --gray-400: #a8a5a0;
  --gray-600: #6b6862;
  --gray-800: #3a3733;
  --gray-900: #232120;

  --orange-50: #fff3e8;
  --orange-100: #ffe1c2;
  --orange-500: #f2790c;
  --orange-600: #d9660a;
  --orange-700: #b85207;

  --color-primary: var(--orange-500);
  --color-primary-dark: var(--orange-600);
  --color-accent: var(--gray-900);

  --text-body: var(--gray-800);
  --text-muted: var(--gray-600);

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --font-brand: 'Poppins', 'Segoe UI', sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(35, 33, 32, 0.08);
  --shadow-md: 0 10px 30px rgba(35, 33, 32, 0.12);

  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange-600);
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gray-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: var(--orange-700);
  border-color: var(--orange-700);
  color: var(--white);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--orange-100);
  outline-offset: 2px;
}

.btn--outline-dark {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-900);
}

.btn--outline-dark:hover {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

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

.btn--outline-light:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.btn--header {
  padding: 10px 20px;
  font-size: 0.92rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 500;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-900);
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.brand__name {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  color: var(--gray-800);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav__menu a:hover,
.nav__menu a:focus-visible {
  color: var(--orange-600);
  border-color: var(--orange-600);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 16s ease-out forwards;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(35, 25, 12, 0.86) 0%, rgba(46, 30, 12, 0.72) 42%, rgba(46, 30, 12, 0.42) 100%);
  z-index: -1;
}

.hero__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: 64px;
}

.hero__text {
  max-width: 620px;
}

.hero__media {
  flex-shrink: 0;
  display: none;
}

.hero__logo {
  width: 380px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .hero__media {
    display: block;
  }
}

@media (min-width: 1200px) {
  .hero__logo {
    width: 440px;
  }
}

.hero__text h1 {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
}

.hero__text h2 {
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray-100);
  margin-bottom: 0.7em;
}

.hero__lead {
  color: var(--gray-200);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in--1 { animation-delay: 0.15s; }
.fade-in--2 { animation-delay: 0.3s; }
.fade-in--3 { animation-delay: 0.45s; }
.fade-in--4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1.is-visible { transition-delay: 0.1s; }
.reveal--delay-2.is-visible { transition-delay: 0.2s; }
.reveal--delay-3.is-visible { transition-delay: 0.3s; }

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

  .hero__bg {
    animation: none;
  }
}

/* Seções gerais */
.section {
  padding: 72px 0;
  position: relative;
}

.section--alt {
  background: var(--gray-50);
}

.section--bg {
  background-image:
    linear-gradient(rgba(250, 249, 248, 0.8), rgba(250, 249, 248, 0.8)),
    var(--section-bg);
  background-size: cover;
  background-position: center;
}

.section--bg.section--alt {
  background-image:
    linear-gradient(rgba(250, 249, 248, 0.82), rgba(250, 249, 248, 0.82)),
    var(--section-bg);
}

/* Banner de citação */
.quote-banner {
  position: relative;
  padding: 96px 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  text-align: center;
  isolation: isolate;
}

.quote-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 8, 0.48);
  z-index: -1;
}

.quote-banner__text {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.quote-banner__slogan {
  color: var(--orange-500);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* CTA */
.cta-banner {
  background: linear-gradient(120deg, var(--orange-600) 0%, var(--orange-500) 100%);
  padding: 56px 0;
}

.cta-banner--alt {
  background: var(--gray-900);
}

.cta-banner--alt p {
  color: var(--gray-400);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--orange-50);
  margin: 0;
  max-width: 520px;
  font-size: 1.02rem;
}

.btn--light {
  background: var(--white);
  color: var(--orange-600);
  border-color: var(--white);
  flex-shrink: 0;
}

.btn--light:hover {
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
}

.btn--light:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.section__lead {
  color: var(--text-muted);
  margin-top: -6px;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Sobre */
.about__intro {
  max-width: 820px;
  font-size: 1.1rem;
  color: var(--text-body);
  margin: 0 0 40px;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.card--values {
  grid-column: 1 / -1;
}

.card--values .values__list {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  color: var(--orange-600);
}

.values__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.values__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
}

.values__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* Grids de produtos e serviços */
.grid {
  display: grid;
  gap: 20px;
}

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

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

.vitrine-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.vitrine-cta h3 {
  margin-bottom: 4px;
}

.vitrine-cta p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .vitrine-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.services-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.product-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.service-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-600);
  margin-bottom: 14px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.product-card:hover .product-card__icon,
.service-card:hover .product-card__icon {
  background: var(--color-primary);
  color: var(--white);
  transform: scale(1.08) rotate(-4deg);
}

.product-card h3,
.service-card h3 {
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-card p,
.service-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.96rem;
}

.section--alt .service-card {
  background: var(--white);
}

/* Contato */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

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

.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__list strong {
  font-family: var(--font-heading);
  color: var(--gray-900);
  font-size: 0.95rem;
}

.contact__list span,
.contact__list a {
  color: var(--text-muted);
}

.contact__list a {
  color: var(--orange-600);
  font-weight: 600;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer */
.footer {
  position: relative;
  background: var(--gray-900);
  color: var(--gray-200);
  padding-top: 56px;
}

.footer__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500) 45%, var(--orange-700));
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand img {
  border-radius: 12px;
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.footer__name {
  color: var(--white);
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
}

.footer__slogan {
  margin: 0;
  font-size: 0.9rem;
  color: var(--orange-500);
  font-weight: 600;
}

.footer__about {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 0 20px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-200);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer__social:hover,
.footer__social:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

.footer__heading {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer__links a {
  color: var(--gray-200);
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--orange-500);
  padding-left: 4px;
}

.footer__contact {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--gray-400);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orange-500);
}

.footer__contact a {
  color: var(--gray-400);
  font-weight: 500;
  word-break: break-word;
}

.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: var(--orange-500);
}

.btn--footer {
  padding: 11px 22px;
  font-size: 0.9rem;
}

.footer__bottom {
  padding: 22px 24px 26px;
  font-size: 0.85rem;
  color: var(--gray-400);
  text-align: center;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22a45d;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 600;
  transition: background-color 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1c8a4d;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--orange-100);
  outline-offset: 2px;
}

/* Responsivo */
@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .btn--header {
    display: none;
  }

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

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

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

  .card--values .values__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }
}
