/* Foto Oriente — Manual da Marca (padrão: admin/includes/BrandDefaults.php) */
:root {
  --red-primary: #E53935;
  --red-secondary: #FF6B6B;
  --cream: #F7E8E1;
  --hero-bg: #F7E8E1;
  --peach: #F2B5A7;
  --charcoal: #333333;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(229, 57, 53, 0.08);
  --shadow-lg: 0 12px 40px rgba(51, 51, 51, 0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-signature: 'Cormorant Garamond', Georgia, serif;
  --header-h: 72px;
  --text-base: 0.9375rem;
  --text-sm: 0.8125rem;
  --heading-weight: 500;
  --body-weight: 400;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.img-size-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 12;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--white);
  background: rgba(51, 51, 51, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

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

/* Scalloped decorative border (inspired by logo) */
.scallop-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.scallop-frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--red-primary);
  border-radius: calc(var(--radius-lg) + 4px);
  z-index: -1;
  mask-image: radial-gradient(circle at 8px 0, transparent 6px, black 6.5px);
  mask-size: 16px 8px;
  mask-repeat: repeat-x;
  mask-position: top;
  opacity: 0.9;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem 0.55rem 0.5rem 1.75rem;
  background: transparent;
  transition: var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 57, 53, 0.06);
  pointer-events: none;
}

.header.scrolled {
  padding: 0.35rem 0.55rem 0.35rem 1.75rem;
  box-shadow: var(--shadow);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(100%, 320px);
}

.logo__img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity var(--transition);
}

.logo:hover .logo__img {
  opacity: 0.9;
}

.logo__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
}

.logo__wordmark {
  height: 22px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.logo__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.58rem, 1.4vw, 0.7rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--tagline-color, var(--charcoal));
  opacity: 1;
  margin-top: 0.12rem;
  line-height: 1.35;
  align-self: flex-start;
}

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

.header__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  min-width: 0;
}

.header__aside {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-right: -0.1rem;
}

.header__admin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-family: var(--font-title);
  font-size: var(--text-sm);
  font-weight: var(--heading-weight);
  letter-spacing: 0.03em;
  color: var(--charcoal);
  transition: var(--transition);
  text-decoration: none;
}

.header__admin:hover {
  background: var(--red-primary);
  color: var(--white);
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}

.nav__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.nav__icon--fill {
  fill: currentColor;
}

.nav a:hover,
.nav a.active {
  background: var(--red-primary);
  color: var(--white);
}

.nav__admin {
  margin-left: 0;
  padding-left: 0.85rem !important;
  border-left: none;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--red-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Carousel */
.hero {
  margin-top: var(--header-h);
  position: relative;
  width: 100%;
}

.carousel {
  position: relative;
  width: 100%;
  height: clamp(320px, 75vh, 720px);
  overflow: hidden;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__slide--clickable {
  cursor: pointer;
}

.carousel__slide img,
.carousel__slide video.carousel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.carousel__slide video.carousel__media {
  background: #111;
  pointer-events: none;
}

.carousel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 3rem 5%;
  pointer-events: none;
}

.carousel__overlay .carousel__content,
.carousel__overlay .btn {
  pointer-events: auto;
}

.carousel__content {
  max-width: 600px;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px) scale(0.99);
  filter: blur(10px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.carousel__slide.active .carousel__content {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.carousel__content h1 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.carousel__content p {
  font-size: var(--text-base);
  font-weight: 300;
  margin-bottom: 1.25rem;
  opacity: 0.92;
  line-height: 1.65;
}

.carousel__content .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.carousel__dot.active,
.carousel__dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel__arrow:hover {
  background: var(--red-primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel__arrow--prev { left: 1.5rem; }
.carousel__arrow--next { right: 1.5rem; }

/* Buttons */
.btn {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--primary {
  background: var(--red-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(229, 57, 53, 0.4);
}

.btn--primary:hover {
  background: #c62828;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(229, 57, 53, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--red-primary);
  border: 2px solid var(--red-primary);
}

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

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

/* Promo section */
.promo {
  padding: 3rem 1.75rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 0.03em;
  color: var(--red-primary);
  margin-bottom: 0.4rem;
}

.section-header p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--charcoal);
  opacity: 0.75;
  max-width: 480px;
  margin: 0 auto;
}

.section-header .heart {
  color: var(--red-secondary);
  display: inline-block;
  animation: pulse-heart 1.5s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.promo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.promo__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.promo__card--link {
  text-decoration: none;
  color: inherit;
}

.promo__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: var(--transition);
  pointer-events: none;
  z-index: 2;
}

.promo__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(229, 57, 53, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 100% 45%, rgba(242, 181, 167, 0.22) 0%, transparent 55%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
}

.promo__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.promo__card:hover::after {
  border-color: var(--red-primary);
}

.promo__card:hover::before {
  opacity: 1;
}

.promo__card-image,
.promo__card-body {
  position: relative;
  z-index: 3;
}

.promo__card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--peach);
}

.promo__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.promo__card:hover .promo__card-image img {
  transform: scale(1.04);
}

.promo__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--red-primary);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  animation: badgeGlow 2.6s ease-in-out infinite;
  will-change: transform;
}

@keyframes badgeGlow {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 rgba(229, 57, 53, 0); }
  50% { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 30px rgba(229, 57, 53, 0.18); }
}

@keyframes shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
}

.promo__card-body {
  padding: 1rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, var(--white) 0%, rgba(242, 181, 167, 0.35) 100%);
  flex: 1;
}

.promo__card-body h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.promo__price {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  color: var(--red-primary);
  font-size: 1rem;
}

.promo__price del {
  font-size: var(--text-sm);
  color: var(--charcoal);
  opacity: 0.45;
  font-weight: 300;
  margin-right: 0.4rem;
}

/* Values strip */
.values {
  background: var(--red-primary);
  color: var(--white);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '♥';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
}

.values__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.values__item {
  opacity: 0;
  transform: translateY(20px);
}

.values__item.visible {
  animation: fadeUp 0.6s ease forwards;
}

.values__item:nth-child(2) { animation-delay: 0.1s; }
.values__item:nth-child(3) { animation-delay: 0.2s; }
.values__item:nth-child(4) { animation-delay: 0.3s; }

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

.values__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  stroke: var(--white);
}

.values__item h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.values__item p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Page content (historia, produtos, contato) */
.page-hero {
  margin-top: var(--header-h);
  padding: 1rem 1.25rem 0.85rem;
  background: var(--hero-bg);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.05em;
  color: var(--page-title-color, var(--red-primary));
  margin-bottom: 0.25rem;
}

.page-hero .subtitle {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--page-subtitle-color, var(--charcoal));
  opacity: 0.68;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.55;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.75rem 2rem 4.5rem;
}

.history-intro {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  text-align: center;
  line-height: 1.65;
  opacity: 0.9;
}

.page-actions {
  text-align: center;
  padding: 0 2rem 3.5rem;
  margin-top: -0.75rem;
}

/* Historia */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--peach);
}

.timeline__item {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

.timeline__item.visible {
  animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--red-primary);
  border-radius: 50%;
  border: 2px solid var(--cream);
  transform: translateX(-50%);
  margin-left: -1.5px;
}

.timeline__year {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  color: var(--red-primary);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.timeline__item h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  margin-bottom: 0.5rem;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.story-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 2px solid var(--red-primary);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.story-card h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  color: var(--red-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Produtos */
.services-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.75rem 2rem 4.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 14px rgba(51, 51, 51, 0.07);
  border: 1px solid rgba(242, 181, 167, 0.35);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
  position: relative;
}

.service-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card.visible {
  animation: fadeUp 0.5s ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--red-primary);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(229, 57, 53, 0.14) 0%, transparent 58%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  stroke: var(--red-primary);
}

.service-card__photo {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.85rem;
  opacity: 0.82;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.service-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--peach);
  color: var(--red-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
}

/* Contato */
.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.75rem 2rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem 2.25rem;
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(51, 51, 51, 0.07);
  border: 1px solid rgba(242, 181, 167, 0.35);
}

.contact-info h2 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 1.05rem;
  color: var(--red-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-item:last-of-type {
  margin-bottom: 0;
}

.contact-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(242, 181, 167, 0.45);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--red-primary);
}

.contact-item__icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
}

.contact-item__icon--whatsapp svg {
  stroke: none;
  fill: #25D366;
  width: 20px;
  height: 20px;
}

.contact-item strong {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: var(--heading-weight);
  display: block;
  margin-bottom: 0.1rem;
}

.contact-item p {
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: 0.88;
}

.contact-item p a {
  color: inherit;
  transition: opacity var(--transition);
}

.contact-item p a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(51, 51, 51, 0.07);
  border: 1px solid rgba(242, 181, 167, 0.35);
}

.contact-form h2 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 1.05rem;
  color: var(--red-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(242, 181, 167, 0.8);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  background: rgba(247, 232, 225, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red-primary);
  background: var(--white);
}

.form-group textarea {
  min-height: 108px;
  resize: vertical;
}

.map-container {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(51, 51, 51, 0.08);
  border: 1px solid rgba(242, 181, 167, 0.35);
  height: 340px;
}

/* Contato — layout compacto com mapa em destaque */
body.page-contato .page-hero {
  padding: 0.75rem 1.25rem 1.35rem;
}

body.page-contato .contact-layout {
  max-width: 1280px;
  padding: 2rem 1.75rem 2.25rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: stretch;
}

body.page-contato .contact-info {
  padding: 0.6rem 0.75rem;
  height: 100%;
}

body.page-contato .contact-info h2 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

body.page-contato .contact-item {
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

body.page-contato .contact-item__icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

body.page-contato .contact-item__icon svg {
  width: 13px;
  height: 13px;
}

body.page-contato .contact-item__icon--whatsapp svg {
  width: 16px;
  height: 16px;
}

body.page-contato .contact-item strong {
  font-size: 0.74rem;
  margin-bottom: 0;
}

body.page-contato .contact-item p {
  font-size: 0.72rem;
  line-height: 1.35;
}

body.page-contato .contact-social {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

body.page-contato .contact-social strong {
  font-size: 0.74rem;
  margin-bottom: 0.3rem;
}

body.page-contato .contact-social__btn {
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
}

body.page-contato .map-panel {
  grid-column: auto;
  margin-top: 0;
  height: 100%;
  min-height: 380px;
}

body.page-contato .map-container {
  margin-top: 0;
  min-height: 380px;
  height: 100%;
  position: relative;
}

body.page-contato .waze-float {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 5;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #33ccff;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(51, 204, 255, 0.55);
}

body.page-contato .waze-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

body.page-contato .waze-float:hover {
  background: #2bb8e6;
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(51, 204, 255, 0.65);
}

.waze-notice {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.waze-notice.is-open {
  display: flex;
}

.waze-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.45);
}

.waze-notice__card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-lg);
}

.waze-notice__card h3 {
  font-family: var(--font-title);
  font-weight: var(--heading-weight);
  font-size: 1rem;
  margin-bottom: 0.55rem;
  color: var(--red-primary);
}

.waze-notice__card p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.waze-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

body.page-contato .footer {
  padding: 0.85rem 1.75rem;
}

body.page-contato .footer__inner {
  gap: 0.5rem;
}

body.page-contato .footer__brand strong {
  font-size: 0.9rem;
}

body.page-contato .footer__brand p {
  font-size: 0.76rem;
  margin-top: 0.1rem;
}

body.page-contato .footer__bottom {
  padding-top: 0.65rem;
  margin-top: 0.5rem;
}

body.page-contato .footer__copy {
  font-size: 0.75rem;
}

body.page-contato .footer__social a {
  width: 34px;
  height: 34px;
}

body.page-contato .footer__social a svg {
  width: 17px;
  height: 17px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  text-align: center;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.4s ease;
}

/* Footer */
.footer {
  background: var(--red-primary);
  color: var(--white);
  padding: 2.5rem 2rem;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__links a {
  opacity: 0.9;
  transition: var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__social a[hidden] {
  display: none !important;
}

.footer__social a:hover {
  background: var(--white);
  color: var(--red-primary);
  transform: translateY(-3px);
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  text-align: center;
}

.footer__bottom {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__flags {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  justify-self: start;
}

.footer__bottom-spacer {
  justify-self: end;
  width: 52px;
  height: 1px;
}

.footer__flags__flag {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  display: block;
}

/* Floating actions (social + WhatsApp) */
.float-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.social-float {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.social-float__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  flex-shrink: 0;
}

.social-float__btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-float__btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.social-float__btn--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-float__btn--facebook {
  background: #1877F2;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: float-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ripple 2s ease-out infinite;
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.contact-social {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(242, 181, 167, 0.55);
}

.contact-social strong {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: var(--heading-weight);
  color: var(--charcoal);
}

.contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact-social__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}

.contact-social__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-social__btn[hidden] {
  display: none !important;
}

.contact-social__btn--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.contact-social__btn--facebook {
  background: #1877F2;
}

.contact-social__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.timeline__item.visible {
  animation-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .promo__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 3.5rem;
    gap: 1.5rem;
  }

  body.page-contato .contact-layout {
    padding: 1.75rem 1rem 2.75rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  body.page-contato .map-panel {
    min-height: 320px;
  }

  body.page-contato .map-container {
    min-height: 320px;
    height: 320px;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }

  .services-grid {
    padding: 2rem 1.25rem 3.5rem;
  }

  .page-content {
    padding: 2rem 1.25rem 3.5rem;
  }

  .page-actions {
    padding: 0 1.25rem 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header {
    padding: 0.4rem 0.35rem 0.4rem 1rem;
    overflow: visible;
  }

  .header__end {
    gap: 0.35rem;
  }

  .footer__flags__flag {
    width: 20px;
    height: 14px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    display: none;
    padding: 1rem;
    gap: 0.35rem;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(229, 57, 53, 0.08);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel__arrow--prev { left: 0.75rem; }
  .carousel__arrow--next { right: 0.75rem; }

  .carousel {
    height: clamp(280px, 55vh, 480px);
  }

  .carousel__overlay {
    padding: 1.5rem 1.25rem;
    align-items: flex-end;
  }

  .carousel__content h1 {
    font-size: 1.35rem;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .promo {
    padding: 2.5rem 1rem;
  }

  .promo__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer__links,
  .footer__social {
    justify-content: center;
  }

  .map-container {
    height: 280px;
  }

  .float-actions {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.5rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .social-float__btn {
    width: 38px;
    height: 38px;
  }

  .social-float__btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .logo__tagline {
    display: none;
  }

  .logo__img {
    height: 46px;
  }

  .logo__wordmark {
    height: 20px;
    max-width: 170px;
  }

  .nav a {
    width: 100%;
    text-align: center;
  }
}
