/* =============================================
   VARIÁVEIS
   ============================================= */
:root {
  --vinho:      #69342C;
  --vinho-md:   #763930;
  --terracota:  #B57561;
  --nude-light: #F3E1D9;
  --nude-md:    #D1BBB0;
  --nude-warm:  #ECC6AC;
  --white:      #FFFFFF;
  --black:      #1a1a1a;
  --gray:       #666666;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', Arial, sans-serif;
  --max-width:  1200px;
  --pad:        100px;
  --trans:      0.35s ease;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* =============================================
   TIPOGRAFIA
   ============================================= */
.section__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--vinho);
  line-height: 1.15;
  margin-bottom: 32px;
}
.section__title--center { text-align: center; }

/* =============================================
   BOTÕES
   ============================================= */
.btn--hero {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.8);
  color: var(--white);
  padding: 13px 26px;
  transition: all var(--trans);
  cursor: pointer;
  background: none;
  white-space: nowrap;
}
.btn--hero:hover { background: var(--white); color: var(--vinho); }

.btn--primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--vinho);
  color: var(--white);
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: background var(--trans);
}
.btn--primary:hover { background: var(--vinho-md); }

.btn--leiamais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracota);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
  transition: color var(--trans);
}
.btn--leiamais:hover { color: var(--vinho); }
.btn--leiamais__icone {
  display: inline-block;
  transition: transform var(--trans);
}
.btn--leiamais.aberto .btn--leiamais__icone { transform: rotate(180deg); }

.btn--card {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  text-decoration: none;
  margin-top: auto;
  padding-top: 20px;
  transition: color var(--trans);
}
.btn--card:hover { color: var(--vinho); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--trans);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(105,52,44,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--trans), box-shadow var(--trans);
  z-index: 0;
}
.header.scrolled { padding: 12px 0; }
.header.scrolled::before {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}
.header__inner {
  width: 90%; max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.header__logo img {
  height: 50px; width: auto;
  transition: height var(--trans), filter var(--trans);
}
.header.scrolled .header__logo img {
  height: 42px;
  filter: invert(20%) sepia(30%) saturate(800%) hue-rotate(320deg) brightness(70%);
}

/* =============================================
   NAV DESKTOP
   ============================================= */
.nav-desktop ul {
  display: flex; gap: 36px; align-items: center; list-style: none;
}
.nav__link {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); transition: color var(--trans); position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--nude-warm);
  transition: width var(--trans);
}
.nav__link:not(.nav__link--cta):hover::after { width: 100%; }
.nav__link:hover { color: var(--nude-warm); }
.header.scrolled .nav__link { color: var(--black); }
.header.scrolled .nav__link:hover { color: var(--terracota); }
.header.scrolled .nav__link::after { background: var(--terracota); }
.nav__link--cta { border: 1px solid rgba(255,255,255,0.65); padding: 8px 22px; }
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--white); color: var(--vinho) !important; }
.header.scrolled .nav__link--cta { border-color: var(--vinho); color: var(--vinho); }
.header.scrolled .nav__link--cta:hover { background: var(--vinho); color: var(--white) !important; }

/* =============================================
   BOTÃO SANDUÍCHE
   ============================================= */
#btnSandwich {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 0;
  position: relative; z-index: 200;
}
#btnSandwich span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.header.scrolled #btnSandwich span { background: var(--black); }

/* =============================================
   MENU MOBILE OVERLAY
   ============================================= */
#menuOverlay {
  display: none;
  position: fixed; inset: 0;
  background: var(--vinho);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#menuOverlay.open { display: flex; }
#menuOverlay ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 36px;
}
#menuOverlay ul a {
  font-family: var(--font-sans);
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  transition: color var(--trans);
}
#menuOverlay ul a:hover { color: var(--nude-warm); }
.menu-link--cta {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 12px 36px; display: inline-block;
}
#btnFecharMenu {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none;
  color: var(--white); font-size: 2.2rem;
  cursor: pointer; line-height: 1;
  padding: 8px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, var(--vinho) 0%, #9B5C52 45%, var(--nude-light) 100%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-width);
  margin: 0 auto; padding: 0 5%;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
}
.hero__content {
  flex: 0 1 520px;
  padding: 140px 0 80px;
  color: var(--white);
}
.hero__eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; opacity: 0.8; margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 44px;
}
.hero__title em { font-style: italic; color: var(--nude-warm); }
.hero__photo { flex: 0 0 auto; display: flex; align-items: flex-end; }
.hero__photo img {
  height: 88vh; max-height: 840px;
  width: auto; object-fit: contain; mix-blend-mode: multiply;
}
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
}
.hero__scroll span {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* =============================================
   SECTION BASE
   ============================================= */
.section { padding: var(--pad) 0; }

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 560px; max-height: 680px;
  background: var(--white); overflow: hidden;
}
.sobre__foto { position: relative; overflow: hidden; }
.sobre__foto img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
.sobre__conteudo {
  padding: 64px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.sobre__conteudo p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #444;
  line-height: 1.85;
  margin-bottom: 16px;
}
.sobre__conteudo em { color: var(--terracota); font-style: italic; }
.sobre__mais {
  max-height: 0; overflow: hidden;
  transition: max-height 0.8s ease;
}
.sobre__mais.aberto { max-height: 1400px; }

/* =============================================
   EXPERIÊNCIAS
   ============================================= */
.experiencias { background: var(--nude-light); }
.experiencias__chamada {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 300;
  color: var(--terracota);
  margin-bottom: 24px; margin-top: -16px;
}
.experiencias__intro {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: #555;
  line-height: 1.9;
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.experiencias__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--nude-md); margin-top: 8px;
}
.card {
  background: var(--white); padding: 48px 32px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background var(--trans);
}
.card:hover { background: #fdf6f3; }
.card__num {
  font-family: var(--font-serif); font-size: 3.2rem;
  font-weight: 300; color: var(--nude-md); line-height: 1;
}
.card__title {
  font-family: var(--font-serif); font-size: 1.35rem;
  font-weight: 400; color: var(--vinho); line-height: 1.3;
}
.card__text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray);
  line-height: 1.8;
}

/* =============================================
   NEWSLETTER — card em relevo
   ============================================= */
.newsletter {
  background: var(--nude-light);
  padding: 80px 0;
}
.newsletter__card {
  background: var(--white);
  border: 1px solid var(--nude-md);
  box-shadow: 0 8px 48px rgba(105,52,44,0.10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 60px;
  max-width: 900px;
  margin: 0 auto;
}
.newsletter__titulo {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300; color: var(--vinho);
  line-height: 1.2; margin-bottom: 12px;
}
.newsletter__sub {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gray);
  line-height: 1.8;
}
.newsletter__form {
  display: flex; flex-direction: column; gap: 16px;
}
.newsletter__campo { width: 100%; }
.newsletter .btn--primary { align-self: flex-start; margin-top: 8px; }

/* =============================================
   MÍDIA
   ============================================= */
.midia { background: var(--vinho); }
.midia .section__label { color: var(--nude-warm); }
.midia .section__title { color: var(--white); }
.midia__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(255,255,255,0.08); margin-top: 8px;
}
.midia__card {
  background: rgba(255,255,255,0.04); padding: 36px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--trans);
}
.midia__card:hover { background: rgba(255,255,255,0.1); }
.midia__outlet {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 400; color: var(--nude-warm);
}
.midia__desc {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.midia__desc em { font-style: italic; color: var(--nude-warm); }

/* =============================================
   CONTEÚDO
   ============================================= */
.conteudo { background: var(--white); }
.conteudo__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--nude-md); margin-top: 8px;
}
.conteudo__item {
  background: var(--white); padding: 44px 28px 36px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background var(--trans);
}
.conteudo__item:hover { background: var(--nude-light); }
.conteudo__plataforma {
  font-family: var(--font-serif); font-size: 1.5rem;
  font-weight: 300; color: var(--vinho);
}
.conteudo__desc {
  font-size: 0.87rem;
  font-weight: 800;
  color: var(--gray);
  line-height: 1.8;
  flex: 1;
}
.conteudo__arrow { color: var(--terracota); font-size: 1.1rem; transition: transform var(--trans); }
.conteudo__item:hover .conteudo__arrow { transform: translateX(6px); }

/* =============================================
   CONTATO
   ============================================= */
.contato { background: var(--nude-light); }
.contato__grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.contato__sub {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contato__dados { display: flex; flex-direction: column; gap: 16px; }
.contato__dados li { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; }
.contato__dados li i { color: var(--terracota); width: 18px; text-align: center; flex-shrink: 0; }
.contato__dados li a { color: var(--black); transition: color var(--trans); }
.contato__dados li a:hover { color: var(--terracota); }
.contato__form-title {
  font-family: var(--font-serif); font-size: 1.5rem;
  font-weight: 300; color: var(--vinho); margin-bottom: 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__group { margin-bottom: 14px; }
.form__input {
  width: 100%; border: none;
  border-bottom: 1px solid var(--nude-md);
  background: transparent; padding: 12px 4px;
  font-family: var(--font-sans); font-size: 0.9rem;
  color: var(--black); outline: none;
  transition: border-color var(--trans); border-radius: 0;
}
.form__input:focus { border-color: var(--terracota); }
.form__input::placeholder { color: #bbb; }
.form__textarea { resize: vertical; min-height: 120px; padding-top: 12px; }
.form__aviso { margin-top: 14px; font-size: 0.72rem; color: #aaa; font-style: italic; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--vinho); padding: 48px 0; }
.footer__inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer__logo { height: 46px; width: auto; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer__social { display: flex; gap: 20px; }
.footer__social a { color: rgba(255,255,255,0.6); font-size: 1.3rem; transition: color var(--trans); }
.footer__social a:hover { color: var(--nude-warm); }

/* =============================================
   BOTÃO TOPO
   ============================================= */
#btnTopo {
  position: fixed; bottom: 32px; right: 32px;
  width: 50px; height: 50px;
  background: var(--vinho); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease,
              transform 0.3s ease, background 0.3s ease;
}
#btnTopo.show { opacity: 1; visibility: visible; transform: translateY(0); }
#btnTopo:hover { background: var(--terracota); transform: translateY(-3px); }

/* =============================================
   FADE IN
   ============================================= */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.show { opacity: 1; transform: translateY(0); }

/* =============================================
   TABLET
   ============================================= */
@media (max-width: 1100px) {
  .midia__grid    { grid-template-columns: repeat(2, 1fr); }
  .conteudo__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__photo img { height: 70vh; }
  .sobre { min-height: 480px; max-height: 580px; }
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
  :root { --pad: 60px; }

  .nav-desktop  { display: none; }
  #btnSandwich  { display: flex; }

  .hero__inner {
    flex-direction: column; align-items: flex-start;
    justify-content: flex-start; padding: 0 6%;
    min-height: 100vh; gap: 0;
  }
  .hero__content { padding: 120px 0 24px; flex: none; width: 100%; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__photo { width: 100%; display: flex; justify-content: center; align-items: flex-end; flex: 1; }
  .hero__photo img { width: 80%; max-width: 360px; height: auto; mix-blend-mode: multiply; }
  .hero__scroll { display: none; }

  .sobre {
    display: flex; flex-direction: column;
    min-height: auto; max-height: none; overflow: visible;
  }
  .sobre__conteudo { order: 1; padding: 48px 24px 32px; }
  .sobre__foto {
    order: 2; position: relative;
    height: 80vw; max-height: 420px;
  }
  .sobre__foto img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 20%;
  }

  .experiencias__grid { grid-template-columns: 1fr; }
  .midia__grid        { grid-template-columns: 1fr; }
  .conteudo__grid     { grid-template-columns: 1fr; }
  .contato__grid      { grid-template-columns: 1fr; gap: 48px; }
  .form__row          { grid-template-columns: 1fr; }

  .newsletter__card {
    grid-template-columns: 1fr;
    gap: 32px; padding: 36px 24px;
  }

  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  #btnTopo { bottom: 20px; right: 16px; width: 46px; height: 46px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.85rem; }
  .hero__photo img { width: 90%; }
}