@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Cormorant+SC:wght@300;400;600;700&family=Jost:wght@200;300;400;500;600&display=swap');

/* ════════════════════════════════════════════════════
   VARIÁVEIS
════════════════════════════════════════════════════ */
:root {
  --red:          #9B1407;
  --red-dark:     #6e0d04;
  --red-light:    #b81a08;
  --black:        #0d0d0d;
  --black-mid:    #1c1c1c;
  --white:        #ffffff;
  --off-white:    #faf8f6;
  --cream:        #f4f0eb;
  --gray-light:   #e8e4df;
  --gray:         #999187;
  --gray-dark:    #555047;

  --shadow-sm:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 6px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 16px 60px rgba(0,0,0,0.13);
  --shadow-red:   0 8px 40px rgba(155,20,7,0.22);

  --font-display: 'Cormorant SC', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Jost', sans-serif;

  --max-w:        1200px;
  --header-h:     88px;
}

/* ════════════════════════════════════════════════════
   RESET
════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ════════════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-btn {
  width: 54px; height: 54px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(155,20,7,.4);
  transition: transform .3s, box-shadow .3s;
  animation: waPulse 2.8s infinite;
  flex-shrink: 0; cursor: pointer;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 26px; height: 26px; fill: white; }
.wa-label {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 2px;
  white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  order: -1;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 24px rgba(155,20,7,.35); }
  50%      { box-shadow: 0 4px 44px rgba(155,20,7,.6); }
}

/* ════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  /* FIX: adicionado prefixo -webkit- para suporte amplo */
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: var(--shadow-md); }

.logo-link { display: flex; align-items: center; gap: 12px; }
/* FIX: adicionado flex-shrink: 0 para evitar distorção em containers flex */
.logo-img  { height: 52px; width: auto; object-fit: contain; flex-shrink: 0; }

.logo-ph {
  height: 52px; width: 52px;
  background: var(--red); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--white); letter-spacing: .05em; flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: .12em; color: var(--black); line-height: 1;
}
.logo-name span {
  display: block;
  font-family: var(--font-ui);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gray); margin-top: 4px;
}

nav.main-nav {
  display: flex; align-items: center; gap: 36px;
}
nav.main-nav a {
  font-family: var(--font-ui);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray-dark); position: relative; transition: color .2s;
}
nav.main-nav a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--red);
  transform: scaleX(0); transition: transform .3s;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--red); }
nav.main-nav a:hover::after,
nav.main-nav a.active::after { transform: scaleX(1); }

.btn-cta {
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 12px 24px; border-radius: 1px;
  box-shadow: var(--shadow-red);
  transition: background .2s, transform .2s; white-space: nowrap;
}
.btn-cta:hover { background: var(--red-light); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════
   MENU MOBILE — DROPDOWN + BARRA INFERIOR
════════════════════════════════════════════════════ */
.mob-menu-btn {
  display: none;
  width: 42px; height: 42px;
  background: var(--red);
  border: none; border-radius: 6px;
  color: white; font-size: 22px;
  align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background .2s;
  line-height: 1;
}
.mob-menu-btn:hover { background: var(--red-light); }
.mob-menu-btn i { font-size: 22px; }

.mob-dropdown {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  right: 14px;
  width: 220px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
  z-index: 10002;
  opacity: 0;
  transform: translateY(-10px) scale(.96);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.16,1,.3,1), transform .22s cubic-bezier(.16,1,.3,1);
}
.mob-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mob-dd-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  color: rgba(255,255,255,.82);
  font-family: var(--font-ui);
  font-size: .73rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s, color .15s;
}
.mob-dd-item:last-child { border-bottom: none; }
.mob-dd-item i {
  font-size: 18px; color: var(--red);
  width: 22px; text-align: center; flex-shrink: 0;
}
.mob-dd-item:hover { background: rgba(155,20,7,.2); color: #fff; }
.mob-dd-item:hover i { color: #fff; }

.mob-dd-footer {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mob-dd-orcamento {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--red); color: white;
  font-family: var(--font-ui);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 12px; border-radius: 8px;
  transition: background .2s;
}
.mob-dd-orcamento i { font-size: 17px; }
.mob-dd-orcamento:hover { background: var(--red-light); }

.mob-dd-backdrop {
  display: none;
  position: fixed; inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,.4);
  /* FIX: adicionado prefixo -webkit- */
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.mob-dd-backdrop.open { display: block; }

/* ════════════════════════════════════════════════════
   BARRA INFERIOR MÓVEL
════════════════════════════════════════════════════ */
.mob-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid var(--gray-light);
  box-shadow: 0 -2px 16px rgba(0,0,0,.08);
  z-index: 9995;
  align-items: stretch;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mob-bar-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; flex: 1;
  color: var(--gray);
  font-family: var(--font-ui);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 2px;
  transition: color .18s;
  position: relative;
}
.mob-bar-item i { font-size: 23px; line-height: 1; }
.mob-bar-item span { line-height: 1; }
.mob-bar-item::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%;
  height: 2px; background: var(--red);
  border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transition: transform .18s;
}
.mob-bar-item.active,
.mob-bar-item:hover { color: var(--red); }
.mob-bar-item.active::before { transform: scaleX(1); }

body.has-bottom-bar {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
body.has-bottom-bar .wa-float {
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

/* ════════════════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5vw; }
section    { padding: 100px 5vw; }

.sec-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.sec-tag::before {
  content: ''; display: block;
  width: 36px; height: 1px; background: var(--red);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600; letter-spacing: .04em;
  line-height: 1.1; color: var(--black); margin-bottom: 22px;
}
.sec-title em { font-style: italic; color: var(--red); }
.sec-sub {
  font-family: var(--font-body);
  font-size: 1.15rem; font-weight: 300;
  line-height: 1.85; color: var(--gray-dark); max-width: 560px;
}

.divider { width: 48px; height: 1px; background: var(--red); margin: 28px 0; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ════════════════════════════════════════════════════
   BOTÕES
════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 16px 36px; border-radius: 1px;
  box-shadow: var(--shadow-red);
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 14px 50px rgba(155,20,7,.3); }
.btn-primary svg { width: 16px; height: 16px; fill: white; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--black); background: transparent;
  padding: 15px 36px;
  border: 1px solid rgba(0,0,0,.25); border-radius: 1px;
  transition: border-color .2s, background .2s, color .2s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ════════════════════════════════════════════════════
   FADE IN
════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .1s; }
.fade-up.d2 { transition-delay: .2s; }
.fade-up.d3 { transition-delay: .3s; }
.fade-up.d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════════
   IMAGE PLACEHOLDER
════════════════════════════════════════════════════ */
.img-ph {
  background: var(--cream);
  border: 1.5px dashed var(--gray-light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--gray);
  font-family: var(--font-ui);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  text-align: center; padding: 20px;
}
.img-ph svg { width: 32px; height: 32px; fill: var(--gray-light); }

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  padding: 0; display: flex; flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('teto.png') center/cover no-repeat;
}
/* FIX: @media movido para fora do seletor (era @media aninhado incorreto) */
@media (max-width: 768px) {
  .hero-bg {
    background-position: center center;
  }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.65) 45%,
    rgba(255,255,255,.15) 100%);
}
.hero-inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 5vw 80px;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-content { max-width: 660px; }
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--red);
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--red); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  font-weight: 600; letter-spacing: .04em;
  line-height: .98; color: var(--black); margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--red); display: block; }
.hero-desc {
  font-family: var(--font-body);
  font-size: 1.2rem; font-weight: 300;
  line-height: 1.85; color: var(--gray-dark);
  max-width: 480px; margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════
   STATS RIBBON
════════════════════════════════════════════════════ */
.stats-ribbon {
  position: relative; z-index: 2;
  background: var(--red); display: flex; flex-wrap: wrap;
}
.stat-cell {
  flex: 1; min-width: 140px; padding: 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-cell:last-child { border-right: none; }
.stat-n {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600;
  letter-spacing: .04em; color: var(--white); line-height: 1;
}
.stat-n span { color: rgba(255,255,255,.99); }
.stat-l {
  font-family: var(--font-ui);
  font-size: .62rem; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════ */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.about-imgs { position: relative; height: 520px; }
.about-img-main {
  position: absolute; top: 0; left: 0;
  width: 76%; height: 82%;
  object-fit: cover; box-shadow: var(--shadow-lg);
}
.about-img-sec {
  position: absolute; bottom: 0; right: 0;
  width: 54%; height: 54%;
  object-fit: cover;
  /* FIX: substituído outline (não respeita cantos arredondados) por box-shadow duplo */
  box-shadow: 0 12px 50px rgba(155,20,7,.18), 0 0 0 1px var(--gray-light);
  border: 3px solid var(--white);
}
.years-badge {
  position: absolute; bottom: 72px; left: -28px;
  background: var(--red); color: var(--white);
  padding: 22px 26px; z-index: 2; box-shadow: var(--shadow-red);
}
.years-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 3rem; font-weight: 600; line-height: 1;
}
.years-badge span {
  font-family: var(--font-ui); font-size: .62rem;
  letter-spacing: .28em; text-transform: uppercase; opacity: .85;
}
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 40px;
}
.feat-item { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 20px; height: 20px; fill: var(--red); }
.feat-txt h5 {
  font-family: var(--font-ui); font-size: .72rem;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--black); margin-bottom: 4px;
}
.feat-txt p {
  font-family: var(--font-body); font-size: .95rem;
  font-weight: 300; color: var(--gray); line-height: 1.5;
}

/* ════════════════════════════════════════════════════
   SERVICES GRID
════════════════════════════════════════════════════ */
#servicos-home { background: var(--off-white); }
#servicos-page { background: var(--white); padding-top: calc(var(--header-h) + 70px); }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 60px;
}
.serv-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--cream); cursor: pointer;
}
.serv-card img,
.serv-card .img-ph { width: 100%; height: 100%; object-fit: cover; }
.serv-card img { transition: transform .7s cubic-bezier(.25,.46,.45,.94); }
.serv-card:hover img { transform: scale(1.06); }
.serv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,13,13,.88) 0%, rgba(13,13,13,.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 28px; transition: background .4s;
}
.serv-card:hover .serv-overlay {
  background: linear-gradient(0deg, rgba(155,20,7,.9) 0%, rgba(13,13,13,.5) 60%, transparent 100%);
}
.serv-num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 300; color: rgba(255,255,255,.12); line-height: 1;
  transition: color .3s;
}
.serv-card:hover .serv-num { color: rgba(255,255,255,.22); }
.serv-cat {
  font-family: var(--font-ui); font-size: .62rem;
  font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 6px;
}
.serv-overlay h3 {
  font-family: var(--font-display); font-size: 1.7rem;
  font-weight: 600; letter-spacing: .04em; color: var(--white); margin-bottom: 0;
}
.serv-overlay p {
  font-family: var(--font-body); font-size: .95rem;
  font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.8);
  max-height: 0; overflow: hidden;
  transition: max-height .4s, margin-top .4s;
}
.serv-card:hover .serv-overlay p { max-height: 100px; margin-top: 10px; }
.serv-card.span2 { grid-column: span 2; aspect-ratio: auto; min-height: 360px; }
.serv-card.span3 { grid-column: span 1; }

/* ════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════ */
#galeria-home { background: var(--white); }
#galeria-page { background: var(--white); padding-top: calc(var(--header-h) + 70px); }

.gallery-intro { text-align: center; margin-bottom: 60px; }
.gallery-intro .sec-sub { margin: 0 auto; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 240px; gap: 3px;
}
.g-item { overflow: hidden; position: relative; background: var(--cream); }
.g-item.tall  { grid-row: span 2; }
.g-item.wide  { grid-column: span 2; }
.g-item img   { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: brightness(.9); }
.g-item:hover img { transform: scale(1.06); filter: brightness(1); }
.g-item .img-ph { width: 100%; height: 100%; }
.g-overlay {
  position: absolute; inset: 0;
  background: rgba(155,20,7,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay svg { width: 36px; height: 36px; fill: white; }

/* ════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════ */
#depoimentos { background: var(--off-white); }
.depo-header { text-align: center; margin-bottom: 60px; }
.depo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.depo-card {
  background: var(--white); padding: 40px 32px;
  border-bottom: 3px solid transparent; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.depo-card:hover { box-shadow: var(--shadow-md); border-color: var(--red); transform: translateY(-4px); }
.depo-q { font-family: var(--font-display); font-size: 5rem; color: var(--red); line-height: .5; opacity: .3; margin-bottom: 20px; }
.depo-txt { font-family: var(--font-body); font-size: 1.1rem; font-weight: 300; font-style: italic; line-height: 1.85; color: var(--gray-dark); margin-bottom: 28px; }
.depo-author { display: flex; align-items: center; gap: 14px; }
.depo-av { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--white); flex-shrink: 0; }
.depo-info h5 { font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .1em; color: var(--black); }
.depo-info span { font-family: var(--font-ui); font-size: .7rem; font-weight: 400; letter-spacing: .08em; color: var(--gray); }
.stars { color: var(--red); font-size: .75rem; letter-spacing: 3px; margin-top: 3px; }

/* ════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════ */
#contato-home { background: var(--white); }
#contato-page { background: var(--white); padding-top: calc(var(--header-h) + 70px); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: .04em; color: var(--black); margin-bottom: 18px; }
.contact-info > p { font-family: var(--font-body); font-size: 1.1rem; font-weight: 300; line-height: 1.85; color: var(--gray-dark); margin-bottom: 42px; }
.info-row { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.info-ic { width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--gray-light); display: flex; align-items: center; justify-content: center; }
.info-ic svg { width: 20px; height: 20px; fill: var(--red); }
.info-txt label { display: block; font-family: var(--font-ui); font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.info-txt span { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--black); }
.wa-cta { display: inline-flex; align-items: center; gap: 12px; background: #25D366; color: white; padding: 15px 28px; border-radius: 1px; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 8px 30px rgba(37,211,102,.3); transition: background .2s, transform .2s; margin-top: 10px; }
.wa-cta:hover { background: #1da855; transform: translateY(-2px); }
.wa-cta svg { width: 20px; height: 20px; fill: white; }

.contact-form { background: var(--off-white); padding: 48px 44px; border-top: 3px solid var(--red); }
.form-ttl { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 36px; color: var(--black); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-ui); font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-dark); margin-bottom: 9px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; background: var(--white); border: 1px solid var(--gray-light); padding: 14px 16px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; color: var(--black); outline: none; transition: border-color .2s, box-shadow .2s; border-radius: 0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(155,20,7,.07); }
.form-group textarea { height: 140px; resize: vertical; }
/* FIX: adicionado prefixo -webkit- para appearance */
.form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; }
#form-success { display: none; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.3); padding: 18px; text-align: center; font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #1a8a45; margin-top: 16px; }

/* ════════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════ */
.page-hero { padding: calc(var(--header-h) + 80px) 5vw 80px; background: var(--black); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--red); }
.page-hero-bg { position: absolute; inset: 0; background: url('teto.jpg') center/cover no-repeat; opacity: .18; }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; }
.page-hero .breadcrumb { font-family: var(--font-ui); font-size: .65rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 20px; }
.page-hero .breadcrumb a { color: var(--red); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 600; letter-spacing: .04em; color: var(--white); line-height: 1; }
.page-hero h1 em { font-style: italic; color: rgba(255,255,255,.45); }

/* ════════════════════════════════════════════════════
   SOBRE PAGE
════════════════════════════════════════════════════ */
#sobre-missao { background: var(--white); }
.missao-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--gray-light); margin-top: 60px; }
.missao-card { background: var(--white); padding: 48px 36px; transition: background .3s; }
.missao-card:hover { background: var(--off-white); }
.missao-card .mi-num { font-family: var(--font-display); font-size: 4rem; font-weight: 300; color: var(--red); opacity: .2; line-height: 1; margin-bottom: 16px; }
.missao-card h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .04em; color: var(--black); margin-bottom: 14px; }
.missao-card p { font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--gray-dark); }

#nossa-historia { background: var(--off-white); }
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.historia-img { height: 550px; position: relative; }
.historia-img .img-ph,
.historia-img img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }

.timeline { margin-top: 48px; }
.tl-item { display: flex; gap: 22px; padding-bottom: 36px; border-left: 1px solid var(--gray-light); margin-left: 8px; padding-left: 28px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.tl-item:last-child { border-left: none; padding-bottom: 0; }
/* FIX: trocado min-width por width + flex-shrink: 0 para evitar colapso do ano */
.tl-year { font-family: var(--font-ui); font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--red); width: 44px; flex-shrink: 0; }
.tl-text h5 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; color: var(--black); margin-bottom: 6px; }
.tl-text p { font-family: var(--font-body); font-size: .95rem; font-weight: 300; line-height: 1.7; color: var(--gray-dark); }

#equipe { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 60px; }
.team-photo { aspect-ratio: 3/4; margin-bottom: 20px; overflow: hidden; position: relative; }
.team-photo img,
.team-photo .img-ph { width: 100%; height: 100%; object-fit: cover; }
.team-photo img { transition: transform .6s; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; color: var(--black); }
.team-card span { font-family: var(--font-ui); font-size: .65rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--red); display: block; margin-top: 4px; }

/* ════════════════════════════════════════════════════
   FOUNDER SECTION
════════════════════════════════════════════════════ */
.founder-intro {
  background: var(--cream);
  padding: 64px 5vw 0;
  text-align: center;
}
.founder-intro .sec-tag { justify-content: center; }
.founder-intro .sec-title { margin-bottom: 0; }

.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
  background: #f5f0eb;
}

.founder-img-wrap {
  position: relative;
  overflow: hidden;
  background: #b5a090;
}
.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}
.founder-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, #f5f0eb 100%);
}

.founder-quote {
  background: #f5f0eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 48px;
  position: relative;
}
.founder-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  line-height: 1;
  color: #c0392b;
  opacity: .18;
  position: absolute;
  top: 24px;
  left: 40px;
  pointer-events: none;
}
.founder-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
  color: #1a0f0f;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.founder-quote blockquote em {
  font-style: italic;
  color: #9B1407;
}
.founder-divider {
  width: 48px;
  height: 2px;
  background: #9B1407;
  margin-bottom: 24px;
}
.founder-body-text {
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
  font-weight: 300;
  color: #3a2a2a;
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 32px;
}
.founder-sig {
  /* FIX: trocado 'cursive' por 'serif' — genérico correto para Cormorant Garamond */
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: #1a0f0f;
  line-height: 1;
  margin-bottom: 4px;
}
.founder-title-label {
  font-family: 'Cormorant SC', serif;
  font-size: .7rem;
  letter-spacing: .2em;
  color: #7a5a5a;
  font-weight: 600;
  margin-bottom: 20px;
}
.founder-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 12px 28px;
  border-radius: 1px;
  box-shadow: var(--shadow-red);
  transition: background .2s, transform .2s;
  width: fit-content;
  margin-top: 4px;
}
.founder-cta-btn:hover { background: var(--red-light); transform: translateY(-2px); }
.founder-cta-btn i { font-size: 15px; }

/* ════════════════════════════════════════════════════
   CTA BAR
════════════════════════════════════════════════════ */
.cta-bar {
  background: #e8ddd2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.cta-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #9B1407;
  color: #fff;
  text-decoration: none;
  padding: 22px 64px;
  font-family: 'Cormorant SC', serif;
  font-size: .9rem;
  letter-spacing: .18em;
  font-weight: 700;
  transition: background .25s;
  white-space: nowrap;
  width: 100%;
}
.cta-bar-btn:hover { background: #7a0e05; }
.cta-bar-btn i { font-size: 1.3rem; }

/* ══ FOOTER ══ */
    .footer { background: #0d0d0d; }
    .footer-main {
      max-width: var(--max-w); margin: 0 auto;
      padding: 80px 6vw 60px;
      display: grid; grid-template-columns: 1.4fr 1fr;
      gap: 60px;
    }
  
    .footer-rule { width: 36px; height: 1px; background: var(--red); margin-bottom: 20px; }
    .footer-tagline {
      font-family: var(--font-body); font-size: 1rem; font-weight: 300;
      color: rgba(255,255,255,.4); line-height: 1.8; margin-bottom: 28px;
    }
    .footer-socials { display: flex; gap: 10px; }
    .footer-socials a {
      width: 38px; height: 38px;
      border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .85rem; color: rgba(255,255,255,.45);
      transition: border-color .2s, color .2s, background .2s;
    }
    .footer-socials a:hover { border-color: var(--red); color: var(--white); background: var(--red); }
    .footer-col-head {
      font-family: var(--font-ui); font-size: .62rem; font-weight: 600;
      letter-spacing: .35em; text-transform: uppercase;
      color: rgba(255,255,255,.4); margin-bottom: 16px;
    }
    .contact-list { display: flex; flex-direction: column; gap: 20px; }
    .contact-row { display: flex; align-items: flex-start; gap: 14px; }
    .contact-icon {
      width: 36px; height: 36px; flex-shrink: 0;
      border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .85rem; color: var(--red);
    }
    .contact-text { display: flex; flex-direction: column; gap: 2px; }
    .contact-text strong {
      font-family: var(--font-ui); font-size: .8rem; font-weight: 500; color: var(--white);
    }
    .contact-text span {
      font-family: var(--font-ui); font-size: .65rem;
      color: rgba(255,255,255,.35); letter-spacing: .05em;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.07);
      padding: 22px 6vw; text-align: center;
      font-family: var(--font-ui); font-size: .65rem;
      color: rgba(255,255,255,.28); letter-spacing: .08em;
    }
    
    /* Footer: mantém 2 colunas, só ajusta padding e gap */
      .footer-main {
        gap: 32px;
        padding: 48px 5vw 40px;
      }

      .main-nav, .btn-cta { display: none; }
      .mob-menu-btn { display: block; }
      .mob-bottom-bar { display: flex; }
    
     /* Footer mobile: 2 colunas compactas */
      .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 36px 5vw 28px;
      }
      
/* ════════════════════════════════════════════════════
   PAGE BAR
════════════════════════════════════════════════════ */
.page-bar { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999; background: var(--black); display: flex; align-items: center; justify-content: center; gap: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.page-bar-item { font-family: var(--font-ui); font-size: .65rem; font-weight: 500; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 14px 32px; position: relative; transition: color .2s; }
.page-bar-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

/* Tablet grande */
@media (max-width: 1100px) {
  .services-grid    { grid-template-columns: repeat(2,1fr); }
  .serv-card.span2,
  .serv-card.span3  { grid-column: span 2; }
  .gallery-grid     { grid-template-columns: repeat(3,1fr); }
  .team-grid        { grid-template-columns: repeat(2,1fr); }
  .footer-main      { grid-template-columns: 1fr 1fr; gap: 44px; }
  .about-grid,
  .historia-grid    { gap: 50px; }
}

/* Tablet / Mobile (≤860px) */
@media (max-width: 860px) {
  :root { --header-h: 68px; }

  nav.main-nav { display: none; }
  .btn-cta     { display: none; }

  .mob-menu-btn   { display: flex; }
  .mob-bottom-bar { display: flex; }

  body.has-bottom-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  .about-grid,
  .historia-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-imgs        { height: 400px; }
  .about-img-main    { width: 80%; height: 85%; }
  .about-img-sec     { display: block; width: 50%; height: 52%; }
  .years-badge       { left: 0; bottom: 40px; }

  .depo-grid         { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .serv-card.span2,
  .serv-card.span3   { grid-column: span 2; }
  .gallery-grid      { grid-template-columns: repeat(2,1fr); }
  .team-grid         { grid-template-columns: repeat(2,1fr); }
  .footer-main       { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-logo-col   { grid-column: span 2; }
  .contact-form      { padding: 32px 24px; }
  .form-row          { grid-template-columns: 1fr; }
  .stats-ribbon      { flex-wrap: wrap; }
  .stat-cell         { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .missao-grid       { grid-template-columns: 1fr 1fr; }
  .features-grid     { grid-template-columns: 1fr 1fr; }
  .logo-img          { height: 44px; }

  /* Founder tablet */
  .founder-section { grid-template-columns: 1fr; min-height: auto; }
  .founder-img-wrap { height: 320px; }
  .founder-img-wrap::after { background: linear-gradient(to bottom, transparent 55%, #f5f0eb 100%); }
  .founder-quote { padding: 36px 28px 44px; }
  .founder-intro { padding: 48px 5vw 0; }
  .founder-cta-btn { margin-top: 8px; }
}

/* Mobile (≤580px) */
@media (max-width: 580px) {
  section { padding: 64px 5vw; }

  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-desc  { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; text-align: center; }

  .about-grid   { grid-template-columns: 1fr; gap: 32px; }
  .about-imgs   { height: 360px; width: 100%; position: relative; }
  .about-img-main { position: absolute; top: 0; left: 0; width: 72%; height: 80%; object-fit: cover; box-shadow: var(--shadow-lg); display: block !important; }
  .about-img-sec  { display: block !important; position: absolute; bottom: 0; right: 0; width: 50%; height: 48%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 8px 30px rgba(155,20,7,.18), 0 0 0 1px var(--gray-light); }
  .years-badge    { left: 0; bottom: 12px; padding: 14px 18px; }
  .years-badge strong { font-size: 2.2rem; }
  .years-badge span   { font-size: .55rem; }

  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .g-item.wide  { grid-column: span 2; }
  .g-item.tall  { grid-row: span 1; }

  .services-grid { grid-template-columns: repeat(2,1fr); gap: 2px; margin-top: 32px; }
  .serv-card     { aspect-ratio: 3/4; }
  .serv-card.span2,
  .serv-card.span3 { grid-column: span 2; aspect-ratio: 16/9; min-height: 200px; }

  .depo-grid  { grid-template-columns: 1fr; }
  .depo-card  { padding: 28px 20px; }

  .features-grid { grid-template-columns: 1fr; gap: 18px; }
  .missao-grid   { grid-template-columns: 1fr; }
  .missao-card   { padding: 32px 24px; }

  .historia-grid { grid-template-columns: 1fr; gap: 32px; }
  .historia-img  { height: 260px; }
  .team-grid     { grid-template-columns: repeat(2,1fr); }

  .stat-cell { min-width: 50%; }

  .form-row      { grid-template-columns: 1fr; }
  .contact-form  { padding: 28px 18px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 32px; }

  /* Footer mobile: 2 colunas */
  .footer-main       { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-logo-col   { grid-column: span 2; }
  .footer-bottom     { flex-direction: column; text-align: center; gap: 8px; }

  /* Founder mobile */
  .founder-section   { grid-template-columns: 1fr; }
  .founder-img-wrap  { height: 260px; }
  .founder-img-wrap::after { background: linear-gradient(to bottom, transparent 55%, #f5f0eb 100%); }
  .founder-quote     { padding: 28px 24px 36px; }
  .founder-quote::before { font-size: 5rem; top: 12px; left: 16px; }
  .founder-intro     { padding: 40px 5vw 0; }
  .founder-title-label { margin-bottom: 16px; }
  .founder-cta-btn   { padding: 11px 24px; }

  .cta-bar-btn { padding: 22px 24px; }

  .wa-float      { bottom: 80px; right: 14px; }
  .wa-label      { display: none; }
  .wa-btn        { width: 50px; height: 50px; }

  .btn-primary,
  .btn-outline   { width: 100%; justify-content: center; }
  .wa-cta,
  .footer-brand .btn-primary { width: auto; }
}

/* Mobile pequeno (≤420px) */
@media (max-width: 420px) {
  .logo-img   { height: 38px; }
  .logo-ph    { height: 38px; width: 38px; font-size: 1rem; }
  .logo-name  { font-size: 1.1rem; }
  .hero-title { font-size: 2.2rem; }

  .about-imgs     { height: 300px; }
  .about-img-main { width: 68%; height: 76%; }
  .about-img-sec  { width: 52%; height: 46%; }

  .services-grid  { grid-template-columns: 1fr; }
  .serv-card.span2,
  .serv-card.span3 { grid-column: span 1; aspect-ratio: 4/3; }
  .team-grid      { grid-template-columns: 1fr; }

  .gallery-grid   { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-item.wide    { grid-column: span 1; }
  .g-item.tall    { grid-row: span 1; }

  .stat-cell      { min-width: 50%; }
  .years-badge    { left: 0; }

  /* Footer pequeno: 1 coluna */
  .footer-main       { grid-template-columns: 1fr; }
  .footer-logo-col   { grid-column: span 1; }
}