/* ===================================================
   Sítio Mendes — Eventos, Casamentos & Lazer
   Font: Outfit
   Paleta: verde #1B382B · bege #F4F1EA · dourado #B8963E
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --sm-bg:        #F4F1EA;
  --sm-surface:   #FFFFFF;
  --sm-dark:      #1B382B;
  --sm-text:      #2D3B34;
  --sm-text-soft: #5C6B62;
  --sm-accent:    #B8963E;
  --sm-green:     #2D6B4A;
  --sm-border:    #DDD7CB;
  --sm-radius:    12px;
  --sm-font:      'Outfit', sans-serif;
}

body {
  font-family: var(--sm-font);
  background: var(--sm-bg);
  color: var(--sm-text);
}

/* ─── Header ─── */
.sm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(244, 241, 234, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sm-border);
}

.sm-logo { font-size: 1.15rem; font-weight: 700; color: var(--sm-dark); letter-spacing: -0.03em; }
.sm-logo span { color: var(--sm-accent); }
.sm-nav { display: flex; gap: 32px; }

.sm-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sm-text-soft);
  position: relative;
  transition: color 0.25s;
}

.sm-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--sm-accent);
  border-radius: 1px;
  transition: width 0.3s;
}

.sm-nav a:hover { color: var(--sm-dark); }
.sm-nav a:hover::after { width: 100%; }

.sm-menu-toggle { display: none; flex-direction: column; gap: 5px; }
.sm-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--sm-dark); border-radius: 2px; }

/* ─── Hero ─── */
.sm-hero {
  position: relative;
  height: clamp(380px, 30vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sm-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('../img/hero.jpg')
    center / cover no-repeat;
}

.sm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(27, 56, 43, 0.90) 0%,
    rgba(27, 56, 43, 0.68) 50%,
    rgba(184, 150, 62, 0.15) 100%
  );
  backdrop-filter: blur(2px);
}

.sm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 640px;
}

.sm-hero-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sm-accent);
  border: 1px solid rgba(184, 150, 62, 0.45);
  padding: 5px 16px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.sm-hero-content h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #FAFAF5;
  margin-bottom: 16px;
}

.sm-hero-content h1 em { font-style: normal; color: var(--sm-accent); }

.sm-hero-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(250, 250, 245, 0.72);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--sm-font);
  color: var(--sm-dark);
  background: var(--sm-accent);
  border-radius: 52px;
  box-shadow: 0 4px 18px rgba(184, 150, 62, 0.25);
  transition: all 0.3s;
}

.sm-btn:hover {
  background: #a6842f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 150, 62, 0.4);
}

.sm-btn svg { transition: transform 0.25s; }
.sm-btn:hover svg { transform: translateX(3px); }

/* ─── Sections ─── */
.sm-section {
  padding: 36px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.sm-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.sm-section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sm-dark);
  margin-bottom: 8px;
}

.sm-section-header p {
  font-size: 0.9375rem;
  color: var(--sm-text-soft);
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto;
}

/* ─── Videos Carousel ─── */
.sm-videos {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 40px;
  padding: 4px 40px 12px;
  margin: 0 -40px;
  scrollbar-width: none;
}

.sm-videos::-webkit-scrollbar { display: none; }

.sm-video {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-align: center;
}

.sm-video:last-child { margin-right: 40px; }

.sm-video iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: var(--sm-radius);
  background: var(--sm-border);
}

.sm-video-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sm-text-soft);
  margin-top: 10px;
}

/* ─── Carousel ─── */
.sm-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 40px;
  padding: 4px 40px 12px;
  margin: 0 -40px;
  scrollbar-width: none;
}

.sm-carousel::-webkit-scrollbar { display: none; }

.sm-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--sm-surface);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(27, 56, 43, 0.04);
  transition: box-shadow 0.35s, transform 0.3s;
}

.sm-card:hover {
  box-shadow: 0 10px 36px rgba(27, 56, 43, 0.09);
  transform: translateY(-4px);
}

.sm-card:last-child { margin-right: 40px; }

.sm-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: linear-gradient(135deg, #DDD7CB 0%, #E8E0D4 100%);
}

/* ─── Card Slider ─── */
.sm-card-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #1a1a1a;
}

.sm-card-slides {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.sm-card-slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-slider-prev,
.sm-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.sm-slider-prev:hover,
.sm-slider-next:hover { background: rgba(0, 0, 0, 0.7); }

.sm-slider-prev { left: 8px; }
.sm-slider-next { right: 8px; }

.sm-slider-counter {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  z-index: 2;
}

.sm-card-body { padding: 20px; }

.sm-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sm-dark);
  margin-bottom: 6px;
}

.sm-card-body p {
  font-size: 0.8125rem;
  color: var(--sm-text-soft);
  font-weight: 300;
  line-height: 1.6;
}

.sm-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
}

.sm-carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sm-border);
}

.sm-carousel-dots span:first-child {
  background: var(--sm-accent);
  width: 18px;
  border-radius: 3px;
}

/* ─── Events Row ─── */
.sm-events-row {
  display: flex;
  gap: 20px;
}

.sm-event {
  flex: 1;
  min-width: 0;
  background: var(--sm-surface);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(27, 56, 43, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.sm-event:hover {
  border-color: var(--sm-accent);
  box-shadow: 0 8px 28px rgba(184, 150, 62, 0.10);
}

.sm-event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 107, 74, 0.08);
  margin-bottom: 16px;
}

.sm-event-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--sm-green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sm-event h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sm-dark);
  margin-bottom: 6px;
}

.sm-event p {
  font-size: 0.8125rem;
  color: var(--sm-text-soft);
  font-weight: 300;
  line-height: 1.6;
}

/* ─── Footer ─── */
.sm-footer {
  padding: 32px 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--sm-border);
}

.sm-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sm-border);
  text-align: center;
}

.sm-footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sm-dark);
  margin-bottom: 10px;
}

.sm-footer-col p {
  font-size: 0.8125rem;
  color: var(--sm-text-soft);
  font-weight: 300;
  line-height: 1.7;
}

.sm-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sm-green);
  margin-top: 8px;
  transition: gap 0.2s;
}

.sm-footer-link:hover { gap: 10px; }

.sm-footer-col .sm-footer-link + .sm-footer-link { margin-top: 6px; display: flex; justify-content: center; }

.sm-footer-bottom {
  text-align: center;
  padding: 16px 0;
  font-size: 0.75rem;
  color: var(--sm-text-soft);
  font-weight: 300;
}

/* ─── Responsivo ─── */
@media (min-width: 901px) {
  .sm-videos { justify-content: center; }
  .sm-carousel-dots { display: none; }
}

@media (max-width: 900px) {
  .sm-header { padding: 0 20px; }
  .sm-events-row { flex-direction: column; }
  .sm-section { padding: 32px 20px; }
  .sm-carousel { scroll-padding-left: 20px; padding-left: 20px; padding-right: 20px; margin: 0 -20px; }
  .sm-card:last-child { margin-right: 20px; }
  .sm-videos { scroll-padding-left: 20px; padding-left: 20px; padding-right: 20px; margin: 0 -20px; }
  .sm-video:last-child { margin-right: 20px; }
}

@media (max-width: 768px) {
  .sm-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(244, 241, 234, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sm-border);
    padding: 16px 24px;
    gap: 16px;
  }
  .sm-nav.open { display: flex; }
  .sm-menu-toggle { display: flex; }
  .sm-hero { height: auto; padding: 100px 20px 48px; }
  .sm-hero-content h1 { font-size: 1.5rem; }
  .sm-hero-content p { font-size: 0.875rem; margin-bottom: 20px; }
  .sm-btn { padding: 12px 26px; font-size: 0.8125rem; }
  .sm-section { padding: 28px 16px; }
  .sm-section-header { margin-bottom: 20px; }
  .sm-section-header h2 { font-size: 1.4rem; }
  .sm-card { flex: 0 0 calc(100vw - 48px); }
  .sm-card-img { height: 150px; }
  .sm-carousel { scroll-padding-left: 16px; padding-left: 16px; padding-right: 16px; margin: 0 -16px; gap: 14px; }
  .sm-card:last-child { margin-right: 16px; }
  .sm-videos { scroll-padding-left: 16px; padding-left: 16px; padding-right: 16px; margin: 0 -16px; gap: 14px; }
  .sm-video { flex: 0 0 55vw; }
  .sm-video:last-child { margin-right: 16px; }
  .sm-footer { padding: 24px 16px 0; }
  .sm-footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 400px) {
  .sm-header { padding: 0 16px; height: 56px; }
  .sm-hero { padding: 88px 16px 40px; }
  .sm-hero-content h1 { font-size: 1.3rem; }
  .sm-hero-content p { font-size: 0.8125rem; }
  .sm-hero-tag { font-size: 0.6rem; padding: 4px 12px; }
  .sm-btn { padding: 11px 22px; font-size: 0.75rem; }
  .sm-section { padding: 24px 14px; }
  .sm-card { flex: 0 0 calc(100vw - 40px); }
  .sm-card-img { height: 130px; }
  .sm-card-body { padding: 16px; }
  .sm-video { flex: 0 0 50vw; }
}
