/* ==========================================================================
   Cris Decorações — Landing Page
   CSS puro, mobile-first, sem frameworks/build tools.
   ========================================================================== */

:root {
  --color-pink: #d40066;
  --color-pink-dark: #a80052;
  --color-black: #0a0a0a;
  --color-gray: #4d4d4d;
  --color-gray-light: #a0a0a0;
  --color-border: #eceff4;
  --color-beige: #e2dbd4;
  --color-beige-light: #fdf7f0;
  --color-bg-alt: #f2f2f2;
  --color-footer: #494949;
  --color-white: #ffffff;
  --color-green-start: #37d400;
  --color-green-end: #2eb200;

  --font-heading: "Maven Pro", system-ui, sans-serif;
  --font-alt-1: "Poppins", system-ui, sans-serif;
  --font-alt-2: "Sora", system-ui, sans-serif;

  --container-width: 1160px;
  --radius-md: 10px;
  --radius-lg: 32px;
  --header-height: 120px;

  --shadow-card: 0 24px 16px rgba(3, 9, 50, 0.04);
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0;
}

button {
  font: inherit;
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-pink);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.section {
  padding-block: clamp(48px, 8vw, 96px);
  scroll-margin-top: var(--header-height);
}

#topo,
#vamos-ate-voce {
  scroll-margin-top: var(--header-height);
}

.section__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-black);
}

.products .section__title {
  color: var(--color-pink);
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section__subtitle {
  max-width: 680px;
  margin-top: 16px;
  color: var(--color-gray);
  font-size: clamp(16px, 2vw, 18px);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  border: 1px solid var(--color-white);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

@media (min-width: 560px) {
  .btn {
    white-space: nowrap;
  }
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn--primary {
  background: linear-gradient(
    180deg,
    var(--color-green-start) 16.5%,
    var(--color-green-end) 87.5%
  );
  color: #fff;
}

.btn--outline {
  background: linear-gradient(
    180deg,
    var(--color-green-start) 16.5%,
    var(--color-green-end) 87.5%
  );
  color: #fff;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 15px;
}

.btn__icon {
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background:
    linear-gradient(90deg, #fff 0%, #fff 100%),
    linear-gradient(90deg, #fdf7f0 0%, #fdf7f0 100%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: auto;
  max-width: 108px;
  max-height: 72px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 20;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-black);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  color: var(--color-black);
}

.main-nav ul a {
  transition: color 0.15s ease;
}

.main-nav ul a:hover,
.main-nav ul a:focus-visible {
  color: var(--color-pink);
}

.nav-cta {
  flex-shrink: 0;
}

/* Menu mobile (checkbox hack, sem JS) */
@media (max-width: 899px) {
  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav ul li a {
    display: block;
    padding: 14px 4px;
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
  }

  .nav-toggle:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (min-width: 900px) {
  .nav-toggle-label {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 62vw, 720px);
  display: flex;
  align-items: center;
  background: var(--color-beige-light);
}

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

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(253, 247, 240, 0.75) 0%,
    rgba(253, 247, 240, 0.65) 28%,
    rgba(253, 247, 240, 0.4) 52%,
    rgba(253, 247, 240, 0) 78%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__text {
  max-width: 560px;
}

.hero__title {
  font-size: clamp(26px, 5.4vw, 50px);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.2;
}

.hero__title-lead {
  display: block;
  white-space: nowrap;
}

.hero__title-highlight {
  display: block;
  font-weight: 700;
  color: var(--color-pink);
}

.hero__subtitle {
  margin-top: 24px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  color: var(--color-black);
  max-width: 46ch;
}

.hero__text .btn {
  margin-top: 32px;
}

.hero__arrow {
  position: absolute;
  bottom: 50px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(253, 247, 240, 0.85);
  color: var(--color-pink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero__arrow svg {
  transition: transform 0.2s ease;
}

.hero__arrow--prev {
  left: max(20px, calc((100% - var(--container-width)) / 2));
}

.hero__arrow--next {
  right: max(20px, calc((100% - var(--container-width)) / 2));
}

.hero__arrow--prev:hover svg {
  transform: translateX(-3px);
}

.hero__arrow--next:hover svg {
  transform: translateX(3px);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 50px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.25);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.hero__dot.is-active {
  width: 28px;
  background: var(--color-pink);
}

@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(253, 247, 240, 0.8) 0%,
      rgba(253, 247, 240, 0.65) 42%,
      rgba(253, 247, 240, 0.2) 100%
    );
  }

  .hero__arrow {
    display: none;
  }
}

/* ==========================================================================
   PRODUCT GRIDS (Cortinas / Persianas)
   ========================================================================== */
.products--alt {
  background: var(--color-white);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(3, 9, 50, 0.08);
}

.card img {
  width: 100%;
  aspect-ratio: 368 / 336;
  object-fit: cover;
}

.card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--color-black);
  padding: 20px 20px 0;
}

.card__text {
  padding: 8px 20px 24px;
  color: var(--color-gray);
  font-size: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  background: var(--color-beige);
}

.testimonial-grid {
  margin-top: clamp(32px, 6vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 720px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--color-gray);
  font-size: 18px;
  line-height: 1.5;
}

.testimonial-author {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card:nth-child(2) .testimonial-author {
  margin-top: auto;
}

.testimonial-author img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #c39a32;
}

.testimonial-author figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author__name {
  font-family: var(--font-alt-1);
  font-weight: 500;
  color: var(--color-pink);
  font-size: 20px;
}

.testimonial-author__role {
  font-family: var(--font-alt-2);
  color: var(--color-gray-light);
  font-size: 16px;
}

/* ==========================================================================
   CTA — Vamos até você
   ========================================================================== */
.cta-visit {
  background: var(--color-pink);
  color: #fff;
  padding-block: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.cta-visit::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -12%;
  width: clamp(320px, 38vw, 560px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #e2317f;
  z-index: 0;
  pointer-events: none;
}

.cta-visit__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-visit__text h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.cta-visit__text p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 56ch;
  line-height: 1.45;
}

.cta-visit__text .btn {
  margin-top: 28px;
}

.cta-visit__media img {
  border-radius: var(--radius-md);
  border: 1px solid #fff;
  width: 100%;
  max-width: 490px;
  aspect-ratio: 490 / 368;
  object-fit: cover;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .cta-visit__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ==========================================================================
   NOSSA LOJA
   ========================================================================== */
.store {
  background: var(--color-beige);
}

.store__info p {
  font-size: 20px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.store__grid {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 40px;
}

@media (min-width: 900px) {
  .store__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.store__photos img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 666 / 489;
  object-fit: contain;
}

.store__access {
  display: flex;
  flex-direction: column;
  gap: 92px;
}

.access-block h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.access-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-block li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  opacity: 0.85;
}

.access-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-black);
}

.store__map {
  margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.store__map iframe {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-bg-alt);
  padding-block: clamp(40px, 6vw, 68px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__col h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__col p {
  color: var(--color-gray);
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--color-pink);
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sub-footer {
  background: var(--color-footer);
  color: #fff;
  text-align: center;
  padding: 24px 20px;
  margin-top: clamp(32px, 5vw, 56px);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    var(--color-green-start) 16.5%,
    var(--color-green-end) 87.5%
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 400;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
}

/* ==========================================================================
   Acessibilidade — reduzir movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
