/* =============================================
   DULCHE CAFETERIA — STYLESHEET v3
   Style: BMW Brasil + Sterna Café
   Premium · Editorial · Com movimento
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* === VARIÁVEIS === */
:root {
  --navy:   #1B2A4A;
  --gold:   #C9996E;
  --creme:  #FAF7F4;
  --branco: #ffffff;
  --texto:  #1c1c1c;
  --sutil:  #7a7a7a;
  --trans:  .4s cubic-bezier(.25,.46,.45,.94);
  --fonte-display: 'Cormorant Garamond', Georgia, serif;
  --fonte-corpo:   'Raleway', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte-corpo);
  background: var(--creme);
  color: var(--texto);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
  font-family: var(--fonte-display);
  font-weight: 300;
  line-height: 1.05;
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 400; }
p  { font-size: 1rem; color: var(--sutil); line-height: 1.85; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
section { position: relative; }

/* === OVERLINE === */
.overline {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* === BOTÕES === */
.btn {
  display: inline-block;
  padding: 16px 44px;
  font-family: var(--fonte-corpo);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--trans);
  border-radius: 0;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}

/* === SÍMBOLO DE FUNDO (decorativo) === */
.simbolo-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  background: url('../img/logo-simbolo.png') center/contain no-repeat;
  opacity: .04;
  pointer-events: none;
  z-index: 0;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: #fff;
  border-bottom: 1px solid rgba(27,42,74,.08);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(27,42,74,.12); }
.navbar-brand { display: flex; align-items: center; }
.navbar-logo { height: 80px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-links a {
  color: rgba(27,42,74,.55);
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--trans);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { right: 0; }
.nav-links .btn { padding: 11px 28px; font-size: .67rem; }

/* Hamburger */
@keyframes hamburger-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .65; transform: scale(1.12); }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  animation: hamburger-pulse 2.4s ease-in-out infinite;
}
.hamburger.open { animation: none; }
.hamburger span {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--trans);
  box-shadow: 0 0 6px rgba(201,153,110,.5);
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: var(--navy);
  padding: 32px 40px;
  gap: 20px;
  z-index: 199;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--trans);
}
.nav-mobile a:hover { color: var(--gold); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  padding-top: 88px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/foto2.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,42,74,.75) 0%,
    rgba(27,42,74,.6) 50%,
    rgba(27,42,74,.9) 100%
  );
}
.hero .simbolo-bg {
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 720px;
  height: 720px;
  opacity: .07;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  max-width: 900px;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 56px;
  line-height: 1.85;
  font-weight: 300;
}

/* Números hero */
.hero-numeros {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 28px 0;
  max-width: 560px;
}
.hero-num {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-num:last-child { border-right: none; padding-right: 0; padding-left: 32px; }
.hero-num:first-child { padding-left: 0; }
.hero-num strong {
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-num span {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 600;
}

/* === NOSSA HISTÓRIA === */
.historia {
  background: #fff;
  padding: 120px 0;
}
.historia-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 100px;
}
.historia-img-wrap {
  position: relative;
  overflow: hidden;
}
.historia-img-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform .8s ease;
}
.historia-img-wrap:hover img { transform: scale(1.03); }
.historia-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(27,42,74,.3), transparent);
  z-index: 1;
}
.historia-texto h2 { color: var(--navy); margin-bottom: 28px; }
.historia-texto p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.9;
}
.historia-texto p strong { color: var(--navy); font-weight: 600; }
.historia-quote {
  border-left: 2px solid var(--gold);
  padding: 8px 28px;
  margin: 40px 0;
}
.historia-quote p {
  font-family: var(--fonte-display);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.35;
}

/* MVV */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  margin-bottom: 1px;
}
.mvv-card {
  background: var(--creme);
  padding: 56px 52px;
  transition: var(--trans);
}
.mvv-card:hover { background: var(--navy); }
.mvv-card:hover .mvv-titulo,
.mvv-card:hover p { color: rgba(255,255,255,.8); }
.mvv-card:hover .overline { color: var(--gold); }
.mvv-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
  transition: var(--trans);
}
.mvv-card p { font-size: .95rem; transition: var(--trans); }

/* Valores */
.valores-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: #fff;
  padding: 40px 52px 0;
  background: var(--navy);
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy);
  border: 1px solid var(--navy);
  margin-top: 1px;
}
.valor-card {
  background: var(--navy);
  padding: 48px 40px;
  transition: var(--trans);
}
.valor-card:hover { background: rgba(201,153,110,.12); }
.valor-nome {
  font-family: var(--fonte-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 16px;
}
.valor-card p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.85; }

/* === FRANQUIAS === */
.franquias {
  background: var(--navy);
  padding: 120px 0;
  overflow: hidden;
}
.franquias .simbolo-bg {
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}
.franquias-header { margin-bottom: 80px; position: relative; z-index: 1; }
.franquias-header h2 { color: #fff; margin-bottom: 20px; }
.franquias-header p { max-width: 540px; color: rgba(255,255,255,.45); }

.franquias-numeros {
  display: flex;
  gap: 0;
  margin-bottom: 80px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 36px 0;
  position: relative; z-index: 1;
}
.f-num {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.f-num:last-child { border-right: none; }
.f-num strong {
  display: block;
  font-family: var(--fonte-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.f-num span {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  font-weight: 600;
}

.modelos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 72px;
  position: relative; z-index: 1;
}
.modelo-card {
  background: var(--navy);
  padding: 56px 52px;
  transition: var(--trans);
  cursor: default;
}
.modelo-card:hover { background: rgba(201,153,110,.1); }
.modelo-num {
  font-family: var(--fonte-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(201,153,110,.2);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--trans);
}
.modelo-card:hover .modelo-num { color: var(--gold); }
.modelo-titulo {
  font-family: var(--fonte-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
}
.modelo-desc { font-size: .9rem; color: rgba(255,255,255,.4); line-height: 1.85; }

.franquias-cta { text-align: center; position: relative; z-index: 1; }
.franquias-cta p { color: rgba(255,255,255,.4); margin-bottom: 28px; font-size: .88rem; letter-spacing: .05em; }

/* Fotos franquias */
.franquias-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  margin-top: 80px;
  overflow: hidden;
  position: relative; z-index: 1;
}
.franquias-foto-item {
  overflow: hidden;
  position: relative;
}
.franquias-foto-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .8s ease;
  display: block;
}
.franquias-foto-item:hover img { transform: scale(1.04); }
.franquias-foto-label {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  z-index: 2;
}

/* === UNIDADES === */
.unidades {
  background: var(--creme);
  padding: 120px 0;
  overflow: hidden;
}
.unidades .simbolo-bg {
  right: -80px;
  top: 100px;
}
.unidades-header { margin-bottom: 72px; }
.unidades-header h2 { color: var(--navy); }

.unidades-group { margin-bottom: 80px; position: relative; z-index: 1; }
.unidades-group-title {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .4;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(27,42,74,.1);
}

.unidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(27,42,74,.08);
  border: 1px solid rgba(27,42,74,.08);
}
.unidade-card {
  background: #fff;
  padding: 44px 40px;
  transition: var(--trans);
}
.unidade-card:hover {
  background: var(--navy);
}
.unidade-card:hover .unidade-bairro,
.unidade-card:hover h3,
.unidade-card:hover .unidade-end { color: rgba(255,255,255,.85); }
.unidade-card:hover .unidade-bairro { color: var(--gold); }
.unidade-card:hover .unidade-link { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.2); }
.unidade-card:hover .unidade-link:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.unidade-bairro {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  transition: var(--trans);
}
.unidade-card h3 {
  font-family: var(--fonte-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: var(--trans);
}
.unidade-end {
  font-size: .88rem;
  color: var(--sutil);
  line-height: 1.7;
  margin-bottom: 24px;
  transition: var(--trans);
}
.unidade-link {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(27,42,74,.25);
  padding-bottom: 3px;
  transition: var(--trans);
}
.unidade-link:hover { color: var(--gold); border-color: var(--gold); }

/* Quiosques tem 3 colunas mas apenas 3 itens */
.quiosques-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* === PRODUTOS === */
.produtos {
  padding: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.produtos-bg {
  position: absolute;
  inset: 0;
  background: url('../img/foto7.jpg') center/cover no-repeat;
  z-index: 0;
}
.produtos-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,.82);
}
.produtos .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}
.produtos h2 { color: #fff; margin-bottom: 20px; }
.produtos h2 em { color: var(--gold); font-style: italic; }
.produtos p { color: rgba(255,255,255,.45); max-width: 480px; margin: 0 auto; }

/* === CONTATO === */
.contato {
  background: #fff;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.contato .simbolo-bg {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  opacity: .035;
}
.contato .container { position: relative; z-index: 1; }
.contato h2 { color: var(--navy); margin-bottom: 16px; }
.contato h2 em { color: var(--gold); font-style: italic; }
.contato p { margin-bottom: 48px; max-width: 440px; margin-left: auto; margin-right: auto; }
.contato-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === INSTAGRAM === */
.instagram {
  background: var(--navy);
  padding: 120px 0 0;
  overflow: hidden;
}
.instagram .simbolo-bg {
  right: -80px;
  top: 60px;
}
.instagram-header { margin-bottom: 60px; position: relative; z-index: 1; }
.instagram-header h2 { color: #fff; }
.instagram-handle {
  font-family: var(--fonte-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,.4);
  margin-top: 8px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  position: relative; z-index: 1;
}
.instagram-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  display: block;
}
.instagram-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,.4);
  opacity: 0;
  transition: opacity .4s ease;
}
.instagram-item:hover::after { opacity: 1; }
.instagram-cta {
  text-align: center;
  padding: 60px 0 80px;
  position: relative; z-index: 1;
}

/* === FOOTER === */
.footer {
  background: #0e1a2d;
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 28px;
}
.footer-logo { height: 52px; width: auto; opacity: .8; }
.footer-handle {
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  letter-spacing: .1em;
  transition: var(--trans);
}
.footer-handle:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.2); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  z-index: 300;
  transition: var(--trans);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* === ANIMAÇÕES DE ENTRADA === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* === RESPONSIVO === */
@media (max-width: 1024px) {
  .unidades-grid { grid-template-columns: repeat(2, 1fr); }
  .quiosques-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .franquias-fotos { grid-template-columns: 1fr; }
  .franquias-foto-item img { height: 320px; }
}

@media (max-width: 900px) {
  .container { padding: 0 28px; }
  .navbar { padding: 0 28px; height: 80px; }
  .nav-mobile { top: 80px; padding: 24px 28px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .historia-layout { grid-template-columns: 1fr; gap: 48px; }
  .historia-img-wrap img { height: 420px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .modelos-grid { grid-template-columns: 1fr; }
  .unidades-grid { grid-template-columns: 1fr; }
  .quiosques-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-numeros { max-width: 100%; }
  .franquias-fotos { grid-template-columns: 1fr 1fr; }
  .franquias-numeros { flex-wrap: wrap; }
  .f-num { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px; }
  .f-num:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  section { padding: 80px 0; }
  .historia, .franquias, .unidades, .contato, .instagram { padding: 80px 0; }
  h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .valores-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-numeros { padding: 20px 0; }
  .hero-num { padding: 0 12px; }
  .hero-num strong { font-size: 2.2rem; }
  .hero-num span { font-size: .55rem; letter-spacing: .14em; }
  .mvv-card { padding: 40px 32px; }
  .modelo-card { padding: 44px 36px; }
  .franquias-fotos { grid-template-columns: 1fr; }
}
