/* pide.now landing — standalone design (no Tailwind) */

:root {
  --color-dark: #2D2D3A;
  --color-dark-soft: #3d3d4a;
  --color-accent: #FF6B2C;
  --color-accent-hover: #e55a1f;
  --color-accent-muted: rgb(255 107 44 / 14%);
  --color-light: #fff5f0;
  --color-light-alt: #ffe8de;
  --color-white: #fff;
  --color-text: #2D2D3A;
  --color-text-light: #6b6b7a;
  --font-display: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.pide-landing__wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pide-landing__wrap main { flex: 1; }

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

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

  .p-hero__logo,
  .p-hero__cta,
  .p-branch,
  .p-feature::before,
  .p-trust__item i,
  .p-cta__btn,
  .p-cta__btn i {
    transition: none !important;
    transform: none !important;
  }

  .p-hero__logo.revealed,
  .p-footer__live {
    animation: none !important;
  }
}

/* Hero logo breathing animation */
@keyframes p-logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.015); }
}


/* Hero — orange to darker orange */
.p-hero {
  min-height: 82vh;
  min-height: 82dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-accent);
  background-image:
    radial-gradient(ellipse 100% 100% at 50% 100%, var(--color-accent-hover), transparent 55%);
  position: relative;
}

.p-hero__logo {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-hero__logo:hover {
  transform: scale(1.06) rotate(3deg);
  animation: none;
}

.p-hero__logo.reveal {
  transform: translateY(1rem) scale(0.88);
}

.p-hero__logo.revealed {
  transform: translateY(0) scale(1);
  animation: p-logo-float 5s cubic-bezier(0.45, 0, 0.55, 1) 0.7s infinite;
}

.p-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-white);
  margin: 0 0 var(--space-xl);
  letter-spacing: -0.03em;
}

.p-hero__title .p-hero__accent {
  color: #2D2D3A;
  text-shadow: 0 1px 2px rgb(255 255 255 / 30%);
}

.p-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-dark);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition);
}

.p-hero__cta:hover {
  background: var(--color-white);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.p-hero__cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.p-hero__cta-icon {
  font-size: 0.85em;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-hero__cta:hover .p-hero__cta-icon {
  transform: translateY(4px);
}

/* Section common */
.p-section {
  padding: var(--space-2xl) var(--space-md);
  max-width: 72rem;
  margin: 0 auto;
}

.p-section--full-bleed {
  max-width: none;
  width: 100%;
}

.p-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.p-section--light {
  background: var(--color-light);
}

.p-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.p-section__sub {
  text-align: center;
  color: var(--color-text-light);
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
  font-size: 1.0625rem;
}

/* Left-aligned section variant */
.p-section--left .p-section__title {
  text-align: left;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.p-section--left .p-section__sub {
  text-align: left;
  margin-left: 0;
  max-width: 44rem;
  font-size: 1.125rem;
}

#para-restaurantes {
  padding-top: var(--space-3xl);
}

/* Branch cards */
.p-branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (width >= 640px) {
  .p-branches {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 1024px) {
  .p-branches {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-branch {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--color-light-alt);
  text-decoration: none;
  color: inherit;
  display: block;
}

.p-branch:hover {
  box-shadow: 0 12px 24px -8px rgb(0 0 0 / 12%);
  transform: translateY(-4px);
}

.p-branch__image-wrap {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: var(--color-light-alt);
}

.p-branch__image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-branch__image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 2rem;
}

.p-branch__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.p-branch__badge--open {
  background: var(--color-accent);
  color: var(--color-white);
}

.p-branch__badge--closed {
  background: var(--color-dark);
  color: var(--color-white);
}

.p-branch__body {
  padding: var(--space-md);
}

.p-branch__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-dark);
  margin: 0 0 var(--space-xs);
  line-height: 1.3;
}

.p-branch__org {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-xs);
}

.p-branch__location {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-sm);
}

.p-branch__cta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Branches carousel (Slick, 2 rows, 6 per slide when > 6 branches) */
.p-branches-carousel-wrapper {
  position: relative;
  padding-left: 5.5rem;
  padding-right: 5.5rem;
}

.p-branches-carousel__slide {
  padding: 0 var(--space-xs);
}

.p-branches-carousel__slide .p-branch {
  height: 100%;
}

.p-branches-carousel .slick-prev,
.p-branches-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
}

.p-branches-carousel .slick-prev:hover,
.p-branches-carousel .slick-next:hover {
  background: var(--color-accent-hover);
  transform: translateY(-50%) scale(1.05);
}

.p-branches-carousel .slick-prev {
  left: -5rem;
}

.p-branches-carousel .slick-next {
  right: -5rem;
}

.p-branches-carousel .slick-prev::before,
.p-branches-carousel .slick-next::before {
  content: none;
}

.p-branches-carousel .slick-prev i,
.p-branches-carousel .slick-next i {
  font-size: 1rem;
}

@media (width < 640px) {
  .p-branches-carousel-wrapper {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .p-branches-carousel .slick-prev {
    left: -2.75rem;
  }

  .p-branches-carousel .slick-next {
    right: -2.75rem;
  }

  .p-branches-carousel .slick-prev,
  .p-branches-carousel .slick-next {
    width: 2.25rem;
    height: 2.25rem;
  }

  .p-branches-carousel .slick-prev i,
  .p-branches-carousel .slick-next i {
    font-size: 0.875rem;
  }
}

/* Features — numbered list, no cards */
.p-features {
  counter-reset: feature-counter;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: var(--space-xl);
}

@media (width >= 900px) {
  .p-features {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-3xl);
  }
}

.p-feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: none;
}

.p-feature:hover {
  box-shadow: none;
  transform: none;
}

.p-feature:hover::before {
  color: var(--color-accent-hover);
}

.p-feature::before {
  counter-increment: feature-counter;
  content: counter(feature-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  min-width: 3rem;
  text-align: right;
  padding-top: 0.1em;
  transform: translateX(-18px) scale(0.8);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, color 0.2s ease;
}

.p-feature.revealed::before {
  transform: translateX(0) scale(1);
}

.p-feature__icon {
  display: none;
}

.p-feature__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--color-dark);
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.01em;
}

.p-feature__text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.55;
}

/* Trust strip */
.p-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-xl);
  padding: var(--space-lg) var(--space-md);
  background: var(--color-light-alt);
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 500;
}

.p-trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.p-trust__item i {
  color: var(--color-accent);
  font-size: 1.25rem;
  transform: scale(0.6);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.p-trust__item.revealed i {
  transform: scale(1);
}

/* CTA block */
.p-cta {
  padding: var(--space-3xl) var(--space-md);
  background: var(--color-dark);
  background-image: radial-gradient(ellipse 70% 60% at 50% 50%, rgb(255 107 44 / 12%), transparent 70%);
  text-align: center;
}

.p-cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.25rem);
  color: var(--color-white);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.03em;
  line-height: 1.1;
}


.p-cta__sub {
  color: rgb(255 255 255 / 75%);
  margin: 0;
  font-size: 1.125rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
}

.p-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease, box-shadow 0.25s ease;
}

.p-cta__btn i {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.p-cta__btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgb(255 107 44 / 45%);
}

.p-cta__btn:hover i {
  transform: translateX(5px);
}

.p-cta__btn:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* Footer */
.p-footer {
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-dark-soft);
  color: rgb(255 255 255 / 85%);
  font-size: 1rem;
}

.p-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.p-footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

@media (width >= 900px) {
  .p-footer__links {
    flex-flow: row nowrap;
    justify-content: center;
    gap: var(--space-sm) var(--space-lg);
  }

  .p-footer__links a {
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

.p-footer__links a {
  color: rgb(255 255 255 / 85%);
  text-decoration: none;
  font-size: 0.9375rem;
}

.p-footer__links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.p-footer__copy {
  margin: 0;
  font-weight: 600;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@keyframes p-live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.p-footer__live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: p-live-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
