/* ======================================================
   CSS COMPLETO (atualizado) — Quinta da Companhia
   Inclui: HERO + GALERIA + CARROSSEL com garrafas normalizadas
   Estrutura esperada:
   /index.html
   /css/style.css
   /img/hero.jpg
   /img/logo/logo-qc-horizontal.png
   /img/sobre-quinta.jpg
   /img/vinhos/*.jpg
   /img/galeria/*.jpg
====================================================== */

/* ======================================================
   VARIÁVEIS
====================================================== */
:root {
  --bg-main: #ffffff;
  --bg-soft: #f4f6f3;
  --bg-dark: #1f2a24;

  --color-primary: #1f6b4e;
  --color-primary-dark: #15523a;
  --color-accent: #c9a24d;

  --text-main: #2a2a2a;
  --text-muted: #6f6f6f;
  --text-light: #ffffff;

  --border-soft: #e3e6e2;

  --font-title: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  --radius: 6px;
  --transition: 0.3s ease;

  --container-width: 1180px;
}

/* ======================================================
   RESET
====================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  padding-top: 72px; /* compensa header fixo */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ======================================================
   LAYOUT GLOBAL
====================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head.center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--bg-dark);
}

.section-subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

.lead {
  font-size: 18px;
  color: var(--bg-dark);
  margin: 0 0 20px;
}

/* ======================================================
   HEADER
====================================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-dark);
  opacity: 0.92;
  transition: var(--transition);
}

.nav-list a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ======================================================
   HERO
====================================================== */
.hero {
  height: calc(100vh - 72px);
  background: url("../img/hero.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.70)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 18px;
  margin: 0 0 32px;
  opacity: 0.96;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ======================================================
   BOTÕES
====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

/* ======================================================
   COLUNAS
====================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.media-card img {
  border-radius: var(--radius);
}

/* ======================================================
   VINHOS — CARROSSEL (cartão + garrafas normalizadas)
====================================================== */
#vinhos { scroll-margin-top: 90px; }

.wine-carousel{
  position: relative;
  width: 100%;
  margin-top: 10px;
}

/* cartão centrado */
.carousel-viewport{
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

/* trilho */
.carousel-track{
  display: flex;
  will-change: transform;
}

.wine-slide{
  min-width: 100%;
  flex: 0 0 100%;
}

/* layout interno */
.wine-card{
  display: grid;
  grid-template-columns: minmax(360px, 520px) 1fr;
  gap: 70px;
  align-items: center;
  padding: 56px 70px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* NORMALIZAÇÃO DAS GARRAFAS (mesmo “tamanho visual”) */
.wine-media{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;          /* área fixa */
  padding:
