/* =========================================================
   CANTINHO PORTUGUÊS — LANDING PAGE CSS
   Ficheiro: style.css
   Assets esperados: ./assets/
========================================================= */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Lora:wght@400;500;600;700&display=swap");

:root {
  --brown-dark: #3a1f12;
  --brown-deep: #241007;
  --wood: #6b3a1e;
  --wood-light: #8b542d;
  --cream: #fff1c7;
  --cream-soft: #f8e4b8;
  --paper: #f4dfb4;
  --stone: #d8c3a5;
  --red: #8b1e12;
  --red-dark: #641207;
  --gold: #d6a84f;
  --gold-soft: #f1c66b;
  --fire: #e86a1a;
  --fire-light: #ff9a2e;
  --black: #120905;
  --white: #fffaf0;

  --font-title: "Cinzel", serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-body: "Lora", serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-warm: 0 18px 45px rgba(58, 31, 18, 0.28);
  --shadow-card: 0 12px 30px rgba(36, 16, 7, 0.35);
  --shadow-fire: 0 0 35px rgba(232, 106, 26, 0.45);

  --container: 1180px;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown-dark);
  background:
    radial-gradient(circle at top left, rgba(232, 106, 26, 0.08), transparent 35%),
    linear-gradient(180deg, #fff5d8 0%, #efd8aa 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

/* =========================================================
   GLOBAL UTILITIES
========================================================= */

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 90px 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  color: var(--red);
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}

.section-kicker {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b2817;
}

.decor-line {
  width: 140px;
  height: 18px;
  margin: 12px 0 28px;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.decor-line::before,
.decor-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.decor-line::before {
  left: 42%;
}

.decor-line::after {
  right: 42%;
}

.paper-bg {
  background:
    linear-gradient(rgba(255, 241, 199, 0.92), rgba(255, 241, 199, 0.92)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");
  background-size: cover;
}

.wood-bg {
  background:
    linear-gradient(rgba(36, 16, 7, 0.92), rgba(36, 16, 7, 0.92)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-wood_ba5tvy.png");
  background-size: cover;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid rgba(255, 241, 199, 0.75);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 241, 199, 0.45);
  z-index: -1;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.65s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-fire);
}

.btn:hover::after {
  left: 140%;
}

.btn-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--cream);
}

.btn-secondary {
  background: linear-gradient(180deg, var(--gold) 0%, #a66f27 100%);
  color: var(--white);
}

.btn-dark {
  background: linear-gradient(180deg, var(--wood) 0%, var(--brown-dark) 100%);
  color: var(--cream);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  --header-height: 132px;
  --header-height-scrolled: 132px;

  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);

  background:
    linear-gradient(rgba(255, 241, 211, 0.93), rgba(247, 228, 190, 0.93)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/texturepaperheader_svztim.png");

  background-size: cover;
  background-position: center;
  background-repeat: repeat;

  border-bottom: 2px solid rgba(93, 54, 28, 0.35);
  box-shadow:
    inset 0 -5px 0 rgba(92, 43, 20, 0.08),
    0 3px 12px rgba(33, 15, 6, 0.22);

  transition: none;
}

.header-inner {
  position: relative;
  width: min(1810px, calc(100% - 36px));
  height: 100%;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

/* LOGO */
.header-logo {
  position: absolute;
  left: 16px;
  top: 4px;
  z-index: 10;

  width: 355px;
  line-height: 0;
  transform-origin: top left;

  transition:
    width 0.32s ease,
    top 0.32s ease,
    transform 0.32s ease;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(20, 8, 3, 0.35));
}

.header-logo:hover {
  transform: scale(1.015);
}

/* NAV */
.main-nav {
  margin-left: 390px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 47px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
  color: #3a2114;
  text-decoration: none;
  white-space: nowrap;

  transition: color 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #9b2419;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -23px;

  width: 72px;
  height: 15px;

  transform: translateX(-50%);
  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/underline_rhwzs8.png") no-repeat center / contain;
}

.nav-link:not(.active)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -17px;

  width: 0;
  height: 2px;

  transform: translateX(-50%);
  background: #9b2419;
  transition: width 0.24s ease;
}

.nav-link:not(.active):hover::after {
  width: 42px;
}

/* CTA HEADER */
.header-cta {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 354px;
  height: 78px;
  padding: 0 26px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: #fff0d4;
  text-decoration: none;
  white-space: nowrap;

  background: linear-gradient(180deg, #a51f14 0%, #7c1109 100%);
  border: 2px solid #c89458;

  clip-path: polygon(
    15px 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    15px 100%,
    0 calc(100% - 15px),
    0 15px
  );

  box-shadow:
    inset 0 0 0 3px rgba(78, 13, 6, 0.62),
    inset 0 0 0 6px rgba(255, 224, 158, 0.16),
    0 4px 10px rgba(35, 10, 4, 0.2);

  text-shadow: 0 2px 1px rgba(40, 8, 4, 0.55);

  transition:
    transform 0.24s ease,
    filter 0.24s ease;
}

.header-cta::before {
  content: "";
  position: absolute;
  inset: 8px;

  border: 1px solid rgba(255, 219, 150, 0.7);

  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );

  pointer-events: none;
}

.header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* SCROLLED — SÓ O LOGO MUDA */
.site-header.is-scrolled {
  height: var(--header-height);
}

.site-header.is-scrolled .header-logo {
  width: 178px;
  top: 8px;
}

.site-header.is-scrolled .header-cta {
  width: 354px;
  height: 78px;
  font-size: 1.45rem;
}

.site-header.is-scrolled .nav-link {
  font-size: 1.32rem;
}

/* MOBILE TOGGLE */
.nav-toggle {
  display: none;

  width: 46px;
  height: 46px;

  align-items: center;
  justify-content: center;

  border: 2px solid #9b2419;
  border-radius: 6px;

  background:
    linear-gradient(rgba(255, 241, 211, 0.96), rgba(247, 228, 190, 0.96)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/texturepaperheader_svztim.png");

  color: #9b2419;
  font-size: 1.55rem;
  font-weight: 900;
  cursor: pointer;
}

.nav-mobile-cta {
  display: none;
}

/* =========================================================
   HEADER RESPONSIVE
========================================================= */

@media (max-width: 1550px) {
  .header-logo {
    width: 320px;
  }

  .site-header.is-scrolled .header-logo {
    width: 170px;
    top: 8px;
  }

  .main-nav {
    margin-left: 340px;
  }

  .nav-menu {
    gap: 34px;
  }

  .nav-link {
    font-size: 1.12rem;
  }

  .site-header.is-scrolled .nav-link {
    font-size: 1.12rem;
  }

  .header-cta {
    width: 320px;
    height: 70px;
    font-size: 1.24rem;
  }

  .site-header.is-scrolled .header-cta {
    width: 320px;
    height: 70px;
    font-size: 1.24rem;
  }
}

@media (max-width: 1280px) {
  .site-header {
    --header-height: 104px;
    --header-height-scrolled: 104px;
  }

  .header-inner {
    width: min(100%, calc(100% - 28px));
    gap: 24px;
  }

  .header-logo {
    width: 250px;
    left: 4px;
    top: 2px;
  }

  .site-header.is-scrolled .header-logo {
    width: 150px;
    top: 6px;
  }

  .main-nav {
    margin-left: 270px;
  }

  .nav-menu {
    gap: 24px;
  }

  .nav-link {
    font-size: 0.94rem;
  }

  .site-header.is-scrolled .nav-link {
    font-size: 0.94rem;
  }

  .header-cta {
    width: 270px;
    height: 60px;
    font-size: 1rem;
  }

  .site-header.is-scrolled .header-cta {
    width: 270px;
    height: 60px;
    font-size: 1rem;
  }
}

@media (max-width: 1080px) {
  .site-header {
    --header-height: 88px;
    --header-height-scrolled: 88px;
  }

  .header-logo {
    width: 160px;
    left: 0;
    top: 4px;
  }

  .site-header.is-scrolled .header-logo {
    width: 128px;
    top: 6px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;

    margin: 0;
    padding: 14px;

    background:
      linear-gradient(rgba(255, 241, 211, 0.98), rgba(247, 228, 190, 0.98)),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/texturepaperheader_svztim.png");

    background-size: cover;
    border-bottom: 2px solid rgba(93, 54, 28, 0.25);
    box-shadow: 0 10px 22px rgba(33, 15, 6, 0.2);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);

    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease;
  }

  .site-header.is-scrolled .main-nav {
    top: var(--header-height);
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu {
    width: min(100%, 420px);
    margin-inline: auto;
    padding: 12px;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: rgba(255, 246, 225, 0.88);
    border: 1px solid rgba(93, 54, 28, 0.22);
    border-radius: 12px;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .site-header.is-scrolled .nav-link {
    font-size: 1.05rem;
  }

  .nav-link.active::after {
    left: 12px;
    bottom: 1px;
    width: 58px;
    transform: none;
  }

  .nav-link:not(.active)::after {
    display: none;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 12px;
  }

  .header-cta-mobile {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 58px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff0d4;
    text-decoration: none;

    background: linear-gradient(180deg, #a51f14 0%, #7c1109 100%);
    border: 2px solid #c89458;

    clip-path: polygon(
      12px 0,
      calc(100% - 12px) 0,
      100% 12px,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      12px 100%,
      0 calc(100% - 12px),
      0 12px
    );
  }
}

@media (max-width: 520px) {
  .site-header {
    --header-height: 78px;
    --header-height-scrolled: 78px;
  }

  .header-logo {
    width: 132px;
  }

  .site-header.is-scrolled .header-logo {
    width: 108px;
    top: 6px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }
}

/* =========================================================
   HERO 
========================================================= */

.hero {
  position: relative !important;

  height: clamp(690px, 78svh, 780px) !important;
  min-height: 690px !important;

  overflow: hidden !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  margin-bottom: 0 !important;

  background:
    linear-gradient(
      rgba(12, 5, 2, 0.12),
      rgba(12, 5, 2, 0.18)
    ),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606778/hero-frango-brasa_tir180.png") !important;

  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;

  width: min(100%, 1920px) !important;
  height: 100% !important;
  min-height: unset !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;

  padding-top: clamp(46px, 4.6vw, 64px) !important;
  padding-inline: 24px !important;
  padding-bottom: 150px !important;
}

.hero-copy {
  width: min(610px, 100%) !important;
  text-align: center !important;
  margin-inline: auto !important;

  transform: translateX(clamp(-95px, -4.6vw, -58px)) !important;
}

.hero-title {
  margin: 0 !important;

  font-family: var(--font-title, Georgia, "Times New Roman", serif) !important;
  font-size: clamp(4.45rem, 5.25vw, 6.15rem) !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: -0.035em !important;

  color: #fff1cf !important;
  text-transform: none !important;

  text-shadow:
    0 3px 0 rgba(46, 22, 10, 0.75),
    0 8px 18px rgba(0, 0, 0, 0.55) !important;
}

.hero-slogan {
  margin: 17px 0 0 !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: clamp(1.95rem, 2.55vw, 2.65rem) !important;
  line-height: 1.05 !important;

  color: #f0c85d !important;

  text-shadow:
    0 2px 3px rgba(40, 16, 5, 0.7),
    0 0 14px rgba(238, 168, 47, 0.22) !important;
}

.decor-line {
  width: min(490px, 100%) !important;
  height: 31px !important;

  margin: 3px auto 21px !important;

  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606776/underlinehero_fpepsl.png") no-repeat center / contain !important;
}

.hero-text {
  max-width: 535px !important;
  margin: 0 auto 28px !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.05rem, 1.18vw, 1.22rem) !important;
  font-weight: 700 !important;
  line-height: 1.48 !important;

  color: rgba(255, 241, 215, 0.95) !important;

  text-align: left !important;

  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.78),
    0 0 10px rgba(0, 0, 0, 0.35) !important;
}

.hero-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}

.hero-actions .btn {
  min-width: 255px !important;
  height: 66px !important;
  padding: 0 30px !important;

  font-size: 1.12rem !important;
}

/* =========================================================
   HERO END IMAGE
========================================================= */

.hero-end-band {
  display: none !important;
}

.hero-end-band img {
  display: none !important;
}

/* remove a antiga faixa se ainda existir */
.highlights-band {
  display: none !important;
}

/* espaço para o Sobre Nós começar depois do Hero */
#sobre {
  position: relative !important;
  z-index: 1 !important;
  padding-top: 54px !important;
  margin-top: 0 !important;
}

/* quando o header encolhe, só o logo muda */
.site-header.is-scrolled + main .hero {
  height: clamp(690px, 78svh, 780px) !important;
  min-height: 690px !important;
  margin-bottom: 0 !important;
}

.site-header.is-scrolled + main .hero-content {
  height: 100% !important;
  min-height: unset !important;
  padding-top: clamp(46px, 4.6vw, 64px) !important;
  padding-inline: 24px !important;
  padding-bottom: 150px !important;
}

.site-header.is-scrolled + main .hero .hero-end-band {
  display: none !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1550px) {
  .hero {
    height: clamp(590px, 72svh, 660px) !important;
    min-height: 590px !important;
    margin-bottom: 0 !important;
  }

  .hero-copy {
    width: min(555px, 100%) !important;
    transform: translateX(clamp(-75px, -3.8vw, -38px)) !important;
  }

  .hero-title {
    font-size: clamp(4rem, 4.9vw, 5.45rem) !important;
  }

  .hero-slogan {
    font-size: clamp(1.78rem, 2.35vw, 2.38rem) !important;
  }

  .decor-line {
    width: min(430px, 100%) !important;
  }

  .hero-text {
    max-width: 495px !important;
    font-size: 1.06rem !important;
  }

  .hero-actions .btn {
    min-width: 230px !important;
    height: 60px !important;
    font-size: 1rem !important;
  }

  .hero-end-band {
    display: none !important;
  }

  .site-header.is-scrolled + main .hero {
    height: clamp(590px, 72svh, 660px) !important;
    min-height: 590px !important;
    margin-bottom: 0 !important;
  }

  .site-header.is-scrolled + main .hero-content {
    height: 100% !important;
    min-height: unset !important;
    padding-top: clamp(46px, 4.6vw, 64px) !important;
  }

  .site-header.is-scrolled + main .hero .hero-end-band {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  .hero {
    height: auto !important;
    min-height: calc(100svh - 104px) !important;
    margin-bottom: 0 !important;

    background:
      linear-gradient(
        rgba(12, 5, 2, 0.25),
        rgba(12, 5, 2, 0.38)
      ),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606778/hero-frango-brasa_tir180.png") !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  .hero-content {
    min-height: calc(100svh - 104px) !important;
    height: auto !important;

    align-items: center !important;

    padding: 78px 20px 72px !important;
  }

  .hero-copy {
    width: min(590px, 100%) !important;
    transform: none !important;
  }

  .hero-title {
    font-size: clamp(3.5rem, 8vw, 5rem) !important;
  }

  .hero-slogan {
    font-size: clamp(1.65rem, 4.5vw, 2.25rem) !important;
  }

  .decor-line {
    width: min(350px, 86%) !important;
    height: 26px !important;
  }

  .hero-text {
    max-width: 100% !important;
    text-align: center !important;
    font-size: 1rem !important;
  }

  .hero-end-band {
    display: none !important;
  }

  #sobre {
    padding-top: 46px !important;
  }

  .site-header.is-scrolled + main .hero {
    height: auto !important;
    min-height: calc(100svh - 104px) !important;
    margin-bottom: 0 !important;
  }

  .site-header.is-scrolled + main .hero-content {
    min-height: calc(100svh - 104px) !important;
    height: auto !important;
    padding: 78px 20px 72px !important;
  }

  .site-header.is-scrolled + main .hero .hero-end-band {
    display: none !important;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: calc(100svh - 78px) !important;
    margin-bottom: 0 !important;
  }

  .hero-content {
    min-height: calc(100svh - 78px) !important;
    padding: 62px 15px 62px !important;
  }

  .hero-title {
    font-size: clamp(2.55rem, 14vw, 3.75rem) !important;
    line-height: 0.92 !important;
  }

  .hero-slogan {
    font-size: clamp(1.25rem, 7vw, 1.8rem) !important;
  }

  .decor-line {
    width: min(260px, 82%) !important;
    height: 22px !important;
    margin-bottom: 18px !important;
  }

  .hero-text {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
  }

  .hero-actions {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 13px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-width: unset !important;
    height: 56px !important;
    font-size: 0.96rem !important;
  }

  .hero-end-band {
    display: none !important;
  }

  #sobre {
    padding-top: 42px !important;
  }

  .site-header.is-scrolled + main .hero {
    min-height: calc(100svh - 78px) !important;
    margin-bottom: 0 !important;
  }

  .site-header.is-scrolled + main .hero-content {
    min-height: calc(100svh - 78px) !important;
    padding: 62px 15px 62px !important;
  }

  .site-header.is-scrolled + main .hero .hero-end-band {
    display: none !important;
  }
}


/* =========================================================
   SOBRE NÓS
========================================================= */

.about {
  position: relative;
  padding: 54px 0 22px;

  background-image: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;

  border-top: 1px solid rgba(120, 73, 39, 0.18);
  border-bottom: 1px solid rgba(120, 73, 39, 0.18);
}

.about .container {
  width: min(1860px, calc(100% - 56px));
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(460px, 760px) minmax(520px, 1fr);
  gap: 58px;
  align-items: start;
}

/* IMAGEM */
.about-image {
  position: relative;
  line-height: 0;
  overflow: visible;
  box-shadow: none;
  filter: none;
  border-radius: 0;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  clip-path: none;
  box-shadow: none;
  filter: none;
}

.about-image::before,
.about-image::after {
  display: none;
  content: none;
}

/* CONTEÚDO */
.about-content {
  padding-top: 6px;
}

.about .section-kicker {
  display: none;
}

.about .section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 4.3vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #65150f;
  text-transform: none;
}

.about .decor-line {
  position: relative;
  width: 320px;
  height: 28px;
  margin: 12px 0 18px;
}

.about .decor-line::before,
.about .decor-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 115px;
  height: 2px;
  background: rgba(201, 165, 86, 0.72);
  transform: translateY(-50%);
}

.about .decor-line::before {
  left: 0;
}

.about .decor-line::after {
  right: 0;
}

.about .decor-line {
  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606776/underlinehero_fpepsl.png") no-repeat center / 90px auto;
}

.about .section-text {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 1.75vw, 1.62rem);
  line-height: 1.35;
  font-weight: 600;
  color: #4d2b18;
}

/* FEATURES */
.about-features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: start;
}

.about-feature {
  text-align: center;
  padding: 8px 18px 0;
  border-left: 1px solid rgba(175, 134, 67, 0.42);
}

.about-feature:first-child {
  border-left: 0;
}

.about-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 10px;
}

.about-feature-icon img {
  display: block;
  max-width: 58px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-feature strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  color: #4a2a18;
  text-transform: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1600px) {
  .about-grid {
    grid-template-columns: minmax(400px, 700px) minmax(500px, 1fr);
    gap: 42px;
  }

  .about .section-title {
    font-size: clamp(2.9rem, 4vw, 4.4rem);
  }

  .about .section-text {
    font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  }

  .about-feature strong {
    font-size: 0.88rem;
  }
}

@media (max-width: 1220px) {
  .about {
    padding: 46px 0 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-image {
    max-width: 860px;
    margin: 0 auto;
  }

  .about-content {
    max-width: 980px;
    margin: 0 auto;
  }

  .about .section-title,
  .about .decor-line,
  .about .section-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about .decor-line::before,
  .about .decor-line::after {
    width: 100px;
  }

  .about-features {
    margin-top: 28px;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .about-feature:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .about {
    padding: 38px 0 18px;
  }

  .about .container {
    width: min(100%, calc(100% - 28px));
  }

  .about .section-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .about .decor-line {
    width: 240px;
    height: 24px;
    margin-top: 10px;
    margin-bottom: 16px;
  }

  .about .decor-line::before,
  .about .decor-line::after {
    width: 76px;
  }

  .about .section-text {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .about-feature {
    border-left: 0;
    padding-inline: 12px;
  }

  .about-feature-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 8px;
  }

  .about-feature-icon img {
    max-width: 48px;
    max-height: 48px;
  }

  .about-feature strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-feature {
    padding-top: 0;
  }

  .about .decor-line::before,
  .about .decor-line::after {
    width: 58px;
  }
}

/* =========================================================
   O QUE FAZEMOS
========================================================= */

.services {
  position: relative;
  overflow: hidden;

  padding: 46px 0 52px;

  color: #fff1cf;

  background:
    linear-gradient(
      rgba(19, 9, 4, 0.7),
      rgba(19, 9, 4, 0.72)
    ),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-wood_ba5tvy.png");

  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    radial-gradient(circle at 18% 35%, rgba(214, 120, 38, 0.12), transparent 28%),
    radial-gradient(circle at 84% 50%, rgba(0, 0, 0, 0.22), transparent 34%);

  pointer-events: none;
}

.services-container {
  position: relative;
  z-index: 1;

  width: min(1640px, calc(100% - 56px));
  margin-inline: auto;
}

/* TÍTULO */
.services .section-kicker {
  display: none;
}

.services .section-title {
  margin: 0 0 28px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.3vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;

  color: #fff1cf;

  text-transform: none;

  text-shadow:
    0 3px 0 rgba(38, 17, 8, 0.8),
    0 8px 18px rgba(0, 0, 0, 0.45);
}

/* remove underline antigo da secção */
.services > .decor-line,
.services .container > .decor-line {
  display: none !important;
}

/* LAYOUT */
.services-layout {
  display: grid;
  grid-template-columns: minmax(680px, 1fr) 470px;
  gap: 70px;
  align-items: stretch;
}

/* =========================================================
   CARDS
========================================================= */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 28px;
  align-items: start;
}

.service-card {
  position: relative;
  overflow: hidden;

  height: auto;
  min-height: unset;

  background:
    linear-gradient(rgba(255, 241, 205, 0.94), rgba(244, 222, 179, 0.94)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");

  background-size: cover;
  background-position: center;

  color: #3b2114;

  border: 3px solid rgba(206, 158, 82, 0.95);
  border-radius: 3px;

  box-shadow:
    inset 0 0 0 1px rgba(102, 54, 27, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.34);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;

  border: 1px solid rgba(95, 53, 28, 0.38);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(102, 54, 27, 0.25),
    0 14px 28px rgba(0, 0, 0, 0.42);
}

.service-card-img {
  position: relative;
  height: 188px;
  overflow: hidden;
  border-bottom: 1px solid rgba(95, 53, 28, 0.22);
}

.service-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

.service-card-title {
  position: relative;
  z-index: 2;

  margin: 0;
  padding: 22px 18px 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.35vw, 1.55rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;

  color: #3b2114;

  background:
    linear-gradient(rgba(255, 241, 205, 0.96), rgba(244, 222, 179, 0.98)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");

  background-size: cover;
  background-position: center;
}

/* =========================================================
   MENU CALLOUT
========================================================= */

.menu-callout {
  position: relative;

  min-height: 100%;
  padding: 34px 38px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  color: #3b2114;

  background:
    linear-gradient(rgba(255, 241, 205, 0.95), rgba(244, 222, 179, 0.95)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");

  background-size: cover;
  background-position: center;

  border: 4px solid rgba(206, 158, 82, 0.95);
  border-radius: 3px;

  box-shadow:
    inset 0 0 0 1px rgba(102, 54, 27, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.36);
}

.menu-callout::before {
  content: "";
  position: absolute;
  inset: 15px;

  border: 1px solid rgba(95, 53, 28, 0.35);
  pointer-events: none;
}

.menu-callout-logo {
  display: block;

  width: 142px;
  height: auto;

  margin: 0 auto 16px;

  filter: drop-shadow(0 5px 7px rgba(58, 24, 10, 0.2));
}

.menu-callout h3 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 3.5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;

  color: #9b2419;
  text-transform: none;
}

.menu-callout p {
  max-width: 360px;

  margin: 16px auto 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.45vw, 1.48rem);
  font-weight: 600;
  line-height: 1.25;

  color: #3b2114;
}

.menu-callout-line {
  width: 260px;
  height: 26px;

  margin: 4px auto 22px;

  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606776/underlinehero_fpepsl.png") no-repeat center / contain;
}

/* botão sem ícone */
.menu-pdf-btn {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 315px;
  height: 72px;
  padding: 0 26px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;

  color: #fff0d4;
  text-decoration: none;
  white-space: nowrap;

  background: linear-gradient(180deg, #a51f14 0%, #7c1109 100%);
  border: 2px solid #c89458;

  clip-path: polygon(
    13px 0,
    calc(100% - 13px) 0,
    100% 13px,
    100% calc(100% - 13px),
    calc(100% - 13px) 100%,
    13px 100%,
    0 calc(100% - 13px),
    0 13px
  );

  box-shadow:
    inset 0 0 0 3px rgba(78, 13, 6, 0.62),
    inset 0 0 0 6px rgba(255, 224, 158, 0.16),
    0 4px 10px rgba(35, 10, 4, 0.2);

  text-shadow: 0 2px 1px rgba(40, 8, 4, 0.55);

  transition:
    transform 0.24s ease,
    filter 0.24s ease;
}

.menu-pdf-btn::before {
  content: "";
  position: absolute;
  inset: 8px;

  border: 1px solid rgba(255, 219, 150, 0.7);

  clip-path: polygon(
    9px 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    9px 100%,
    0 calc(100% - 9px),
    0 9px
  );

  pointer-events: none;
}

.menu-pdf-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.menu-placeholder {
  display: block;

  margin-top: 18px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  line-height: 1.2;

  color: #3b2114;
  opacity: 0.85;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1450px) {
  .services-layout {
    grid-template-columns: minmax(600px, 1fr) 420px;
    gap: 44px;
  }

  .service-cards {
    gap: 22px;
  }

  .service-card-img {
    height: 100px;
  }

  .service-card-title {
    font-size: 1.18rem;
  }

  .menu-callout {
    padding-inline: 30px;
  }

  .menu-callout-logo {
    width: 122px;
  }

  .menu-pdf-btn {
    width: 285px;
    height: 64px;
    font-size: 1.12rem;
  }
}

@media (max-width: 1160px) {
  .services {
    padding: 42px 0 46px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-callout {
    max-width: 560px;
    min-height: auto;
    margin-inline: auto;
    padding: 34px 30px;
  }
}

@media (max-width: 820px) {
  .services-container {
    width: min(100%, calc(100% - 30px));
  }

  .services .section-title {
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 10vw, 4rem);
    text-align: center;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .service-card-img {
    height: 120px;
  }

  .service-card-title {
    min-height: 68px;
    font-size: 1rem;
  }

  .menu-callout h3 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
  }

  .menu-callout p {
    font-size: 1.08rem;
  }
}

@media (max-width: 540px) {
  .services {
    padding: 36px 0 38px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card-img {
    height: 150px;
  }

  .service-card-title {
    font-size: 1.08rem;
  }

  .menu-callout {
    padding: 30px 20px;
  }

  .menu-callout-logo {
    width: 110px;
  }

  .menu-callout-line {
    width: 220px;
  }

  .menu-pdf-btn {
    width: 100%;
    max-width: 300px;
    height: 60px;
    font-size: 1rem;
  }
}

/* =========================================================
   GALERIA
========================================================= */

.gallery {
  position: relative;
  padding: 58px 0 68px;

  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;

  border-top: 1px solid rgba(115, 69, 35, 0.22);
  border-bottom: 1px solid rgba(115, 69, 35, 0.22);
}

.gallery-container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.gallery .section-kicker,
.gallery .decor-line,
.gallery-action {
  display: none !important;
}

/* HEADER DA GALERIA */
.gallery-heading {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.gallery .section-title {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;

  color: #8f1f16;
  text-transform: none;

  text-shadow:
    0 2px 0 rgba(255, 235, 190, 0.5),
    0 5px 12px rgba(85, 39, 17, 0.14);
}

.gallery-title-line {
  width: 220px;
  height: 22px;
  margin: 10px auto 0;

  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606776/underlinehero_fpepsl.png") no-repeat center / contain;
  opacity: 0.95;
}

/* GRID NORMAL, LIMPO E ALINHADO */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;

  width: 100%;
  margin-inline: auto;
}

/* CARD */
.gallery-item {
  position: relative;
  margin: 0;

  aspect-ratio: 1.32 / 1;
  overflow: hidden;

  background: #2c160b;

  border: 3px solid #8a5529;
  border-radius: 8px;

  box-shadow:
    inset 0 0 0 2px rgba(255, 224, 162, 0.32),
    0 8px 18px rgba(75, 39, 18, 0.24);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;

  border: 1px solid rgba(255, 224, 162, 0.55);
  border-radius: 4px;

  pointer-events: none;
}

.gallery-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);

  box-shadow:
    inset 0 0 0 2px rgba(255, 224, 162, 0.38),
    0 14px 26px rgba(75, 39, 18, 0.3);
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: brightness(0.94) saturate(1.05);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .gallery-container {
    width: min(100%, calc(100% - 38px));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .gallery {
    padding: 46px 0 54px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery .section-title {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
  }

  .gallery-title-line {
    width: 190px;
  }

  .gallery-item {
    aspect-ratio: 1.22 / 1;
  }
}

@media (max-width: 520px) {
  .gallery {
    padding: 40px 0 46px;
  }

  .gallery-container {
    width: min(100%, calc(100% - 24px));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-item {
    aspect-ratio: 1.35 / 1;
  }

  .gallery .section-title {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }

  .gallery-title-line {
    width: 165px;
    height: 20px;
  }
}

/* =========================================================
   CONTACTOS
========================================================= */

.contact {
  position: relative;
  padding: 64px 0 72px;

  background-image: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;

  border-top: 1px solid rgba(120, 73, 39, 0.18);
  border-bottom: 1px solid rgba(120, 73, 39, 0.18);
}

.contact-container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.contact .section-kicker,
.contact .decor-line {
  display: none !important;
}

.contact-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.contact .section-title {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;

  color: #8f1f16;
  text-transform: none;

  text-shadow:
    0 2px 0 rgba(255, 235, 190, 0.5),
    0 5px 12px rgba(85, 39, 17, 0.14);
}

.contact-title-line {
  width: 220px;
  height: 22px;
  margin: 10px auto 18px;

  background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606776/underlinehero_fpepsl.png") no-repeat center / contain;
}

.contact-intro {
  margin: 0 auto;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.35vw, 1.32rem);
  line-height: 1.45;
  font-weight: 600;

  color: #4d2b18;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

.contact-info {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-card {
  position: relative;

  padding: 24px 26px;

  background:
    linear-gradient(rgba(255, 242, 210, 0.22), rgba(244, 222, 180, 0.22)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");

  background-size: cover;
  background-position: center;

  border: 2px solid rgba(168, 113, 52, 0.45);
  border-radius: 10px;

  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 190, 0.38),
    0 8px 18px rgba(78, 43, 20, 0.12);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 9px;

  border: 1px solid rgba(112, 62, 31, 0.2);
  border-radius: 6px;

  pointer-events: none;
}

.contact-label {
  display: block;

  margin-bottom: 8px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;

  color: #8f1f16;
}

.contact-card p {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 600;

  color: #3b2114;
}

.contact-card a {
  color: #3b2114;
  text-decoration: none;
  transition: color 0.22s ease;
}

.contact-card a:hover {
  color: #8f1f16;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-actions .btn {
  min-width: 190px;
  height: 58px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;
}

/* MAPA */
.contact-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;

  border: 4px solid rgba(168, 113, 52, 0.72);
  border-radius: 12px;

  background: #2b170c;

  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 190, 0.32),
    0 12px 28px rgba(78, 43, 20, 0.22);
}

.contact-map::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;

  border: 1px solid rgba(255, 235, 190, 0.45);
  border-radius: 7px;

  pointer-events: none;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;

  border: 0;

  filter:
    sepia(0.18)
    saturate(0.86)
    contrast(0.96);
}

.map-open-link {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;

  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  height: 54px;
  padding: 0 24px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 700;

  color: #fff0d4;
  text-decoration: none;
  white-space: nowrap;

  background: linear-gradient(180deg, #a51f14 0%, #7c1109 100%);
  border: 2px solid #c89458;

  box-shadow:
    inset 0 0 0 2px rgba(78, 13, 6, 0.62),
    0 5px 14px rgba(35, 10, 4, 0.25);

  transition:
    transform 0.24s ease,
    filter 0.24s ease;
}

.map-open-link:hover {
  transform: translateX(-50%) translateY(-2px);
  filter: brightness(1.05);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;

  color: #fff1cf;

  background:
    linear-gradient(rgba(22, 10, 4, 0.68), rgba(22, 10, 4, 0.72)),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-wood_ba5tvy.png");

  background-size: cover;
  background-position: center;
  background-repeat: repeat;

  border-top: 3px solid rgba(214, 168, 79, 0.45);

  box-shadow:
    inset 0 1px 0 rgba(255, 235, 190, 0.16);
}

.footer-inner {
  width: min(1420px, calc(100% - 56px));
  margin-inline: auto;
  padding: 34px 0 24px;

  display: grid;
  grid-template-columns: 0.95fr 1.15fr 1fr auto;
  gap: 42px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 165px;
  height: auto;

  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

.footer-slogan {
  display: none;
}

.footer-title {
  margin: 0 0 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;

  color: #e6bd61;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li,
.footer-reserve p {
  margin: 0 0 8px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;

  color: rgba(255, 241, 207, 0.86);
}

.footer-list a,
.footer-reserve-link {
  color: rgba(255, 241, 207, 0.9);
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-list a:hover,
.footer-reserve-link:hover {
  color: #e6bd61;
}

.footer-reserve-link {
  display: inline-flex;
  margin-top: 4px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;

  color: #e6bd61;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-socials a {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  border: 2px solid rgba(255, 225, 160, 0.78);

  background: rgba(230, 189, 97, 0.94);
  color: #32190c;

  text-decoration: none;

  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 244, 206, 0.35);

  transition:
    transform 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

.footer-socials a svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: #fff1cf;
  color: #8f1f16;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 241, 199, 0.16);

  text-align: center;

  padding: 15px 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 600;

  color: rgba(255, 241, 199, 0.78);
}

/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    width: min(100%, calc(100% - 30px));
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* =========================================================
   CONTACTOS / FOOTER RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .contact {
    padding: 46px 0 54px;
  }

  .contact-container {
    width: min(100%, calc(100% - 28px));
  }

  .contact .section-title {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .contact-title-line {
    width: 180px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 360px;
  }

  .map-open-link {
    width: calc(100% - 48px);
    min-width: unset;
  }

  .footer-inner {
    width: min(100%, calc(100% - 30px));
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-socials {
    justify-content: center;
  }
}
/* =========================================================
   SCROLL REVEAL / JS HOOKS
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.95s ease,
    transform 0.95s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.95s ease,
    transform 0.95s ease;
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes embersFloat {
  0% {
    background-position: 0 0, 0 0;
    transform: translateY(0);
  }

  100% {
    background-position: 140px -420px, -90px -360px;
    transform: translateY(-20px);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes firePulse {
  0%,
  100% {
    box-shadow: 0 0 22px rgba(232, 106, 26, 0.25);
  }

  50% {
    box-shadow: 0 0 42px rgba(232, 106, 26, 0.58);
  }
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }

  .nav-menu {
    gap: 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-food-card {
    min-height: 360px;
  }

  .about-grid,
  .services-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 82px;
  }

  .header-logo {
    width: 135px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background:
      linear-gradient(rgba(255, 241, 199, 0.98), rgba(244, 223, 180, 0.98)),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png");
    border-bottom: 3px solid var(--red);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.45s ease,
      opacity 0.45s ease;
    box-shadow: 0 18px 35px rgba(36, 16, 7, 0.25);
  }

  body.nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(107, 58, 30, 0.18);
  }

  .nav-link {
    display: block;
    padding: 18px 28px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 68px 0;
  }

  .hero-badge {
    width: 170px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-item {
    border-bottom: 1px solid rgba(107, 58, 30, 0.22);
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-label {
    position: static;
    transform: none;
    width: auto;
    margin: 120px 20px 20px;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .hero-content,
  .highlights-grid,
  .footer-inner {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-slogan {
    font-size: 1.65rem;
  }

  .highlights-grid,
  .service-cards,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    border-right: 0;
  }

  .about-image img {
    height: 330px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-feature {
    border-left: 0;
    border-top: 1px solid rgba(107, 58, 30, 0.2);
  }

  .contact-buttons .btn {
    min-height: 56px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   FIX FINAL — HERO SEM HEROEND E SEM FUNDO REPETIDO
========================================================= */

.hero {
  position: relative !important;
  overflow: hidden !important;
  z-index: 5 !important;
  margin-bottom: 0 !important;

  background:
    linear-gradient(
      rgba(12, 5, 2, 0.12),
      rgba(12, 5, 2, 0.18)
    ),
    url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606778/hero-frango-brasa_tir180.png") !important;

  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

.hero-end-band,
.hero-end-band img {
  display: none !important;
  content: none !important;
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;
}

#sobre {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
}

/* =========================================================
   MOBILE — HERO SEM HEROEND
========================================================= */

@media (max-width: 768px) {
  .hero {
    margin-bottom: 0 !important;
    overflow: hidden !important;

    background:
      linear-gradient(
        rgba(12, 5, 2, 0.25),
        rgba(12, 5, 2, 0.38)
      ),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606778/hero-frango-brasa_tir180.png") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }

  .hero::before,
  .hero::after,
  .hero-end-band,
  .hero-end-band img {
    display: none !important;
    content: none !important;
  }

  #sobre {
    padding-top: 42px !important;
  }
}

/* =========================================================
   AJUSTE FINAL HEADER — FUNDO, ALTURA, LOGO E POSIÇÃO
========================================================= */

/* fundo texture-paper.png sem máscara e header um pouco mais baixo */
.site-header,
.site-header.is-scrolled {
  --header-height: 104px !important;
  --header-height-scrolled: 104px !important;

  height: 104px !important;
  min-height: 104px !important;

  background-image: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: repeat !important;
}

/* aproxima menu/botão do logo */
.header-inner {
  width: min(1810px, calc(100% - 36px)) !important;
  gap: 28px !important;
}

/* logo inicial mantém forte mas um pouco mais controlado */
.header-logo {
  width: 285px !important;
  top: 3px !important;
}

/* no scroll só o logo muda — ligeiramente menor */
.site-header.is-scrolled .header-logo {
  width: 138px !important;
  top: 7px !important;
}

/* puxa a navegação para a esquerda, reduzindo o espaço branco após o logo */
.main-nav {
  margin-left: 295px !important;
}

/* textos e botão mantêm tamanho pequeno em todas as posições */
.nav-link,
.site-header.is-scrolled .nav-link {
  font-size: 0.98rem !important;
}

.nav-menu {
  gap: 28px !important;
}

.header-cta,
.site-header.is-scrolled .header-cta {
  width: 280px !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 20px !important;
  font-size: 1rem !important;
}

/* underline proporcional */
.nav-link.active::after {
  bottom: -17px !important;
  width: 52px !important;
  height: 10px !important;
}

/* =========================================================
   DESKTOP — PUXAR MENU E BOTÃO MAIS PARA A ESQUERDA
========================================================= */

@media (min-width: 1281px) {
  .header-inner {
    justify-content: flex-start !important;
    padding-left: 320px !important;
    gap: 30px !important;
  }

  .main-nav {
    margin-left: 0 !important;
  }

  .nav-menu {
    gap: 28px !important;
  }

  .header-cta,
  .site-header.is-scrolled .header-cta {
    margin-left: auto !important;
  }
}

@media (min-width: 1551px) {
  .header-inner {
    padding-left: 350px !important;
    gap: 32px !important;
  }

  .nav-menu {
    gap: 30px !important;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1550px) {
  .site-header,
  .site-header.is-scrolled {
    --header-height: 98px !important;
    --header-height-scrolled: 98px !important;

    height: 98px !important;
    min-height: 98px !important;
  }

  .header-logo {
    width: 255px !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 132px !important;
  }

  .main-nav {
    margin-left: 265px !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    font-size: 0.88rem !important;
  }

  .nav-menu {
    gap: 22px !important;
  }

  .header-cta,
  .site-header.is-scrolled .header-cta {
    width: 245px !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 1280px) {
  .site-header,
  .site-header.is-scrolled {
    --header-height: 90px !important;
    --header-height-scrolled: 90px !important;

    height: 90px !important;
    min-height: 90px !important;
  }

  .header-logo {
    width: 205px !important;
    left: 4px !important;
    top: 2px !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 122px !important;
    top: 6px !important;
  }

  .main-nav {
    margin-left: 215px !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    font-size: 0.76rem !important;
  }

  .nav-menu {
    gap: 16px !important;
  }

  .header-cta,
  .site-header.is-scrolled .header-cta {
    width: 205px !important;
    height: 48px !important;
    min-height: 48px !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 1080px) {
  .site-header,
  .site-header.is-scrolled {
    --header-height: 80px !important;
    --header-height-scrolled: 80px !important;

    height: 80px !important;
    min-height: 80px !important;
  }

  .header-logo {
    width: 142px !important;
    left: 0 !important;
    top: 4px !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 112px !important;
    top: 6px !important;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    top: 80px !important;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-header.is-scrolled {
    --header-height: 72px !important;
    --header-height-scrolled: 72px !important;

    height: 72px !important;
    min-height: 72px !important;
  }

  .header-logo {
    width: 116px !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 94px !important;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    top: 72px !important;
  }
}

/* =========================================================
   FIX MOBILE FINAL — SEM ARRASTAR PARA O LADO + MENU COLADO AO HEADER
========================================================= */

/* corta qualquer overflow horizontal no site inteiro */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body {
  position: relative !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* garante que nada passa a largura do ecrã */
main,
section,
.site-header,
.site-footer {
  width: 100% !important;
  max-width: 100vw !important;
}

/* =========================================================
   MOBILE HEADER / MENU
========================================================= */

@media (max-width: 1080px) {
  .site-header,
  .site-header.is-scrolled {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;

    width: 100% !important;
    max-width: 100vw !important;

    overflow: visible !important;
  }

  .header-inner {
    position: relative !important;

    width: calc(100% - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    height: 100% !important;

    margin-inline: auto !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 0 !important;
  }

  .header-logo {
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    z-index: 5002 !important;

    width: 142px !important;
    max-width: 42vw !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 112px !important;
    top: 6px !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 5003 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    margin-left: auto !important;

    border: 2px solid #9b2419 !important;
    border-radius: 8px !important;

    background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png") center / cover repeat !important;
    color: #9b2419 !important;

    font-size: 1.45rem !important;
    line-height: 1 !important;

    box-shadow: 0 4px 10px rgba(40, 18, 7, 0.14) !important;
  }

  .header-cta {
    display: none !important;
  }

  /* MENU AGORA FICA LIGADO AO HEADER */
  .main-nav,
  .site-header.is-scrolled .main-nav {
    position: absolute !important;

    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    width: min(330px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;

    margin: 0 !important;
    padding: 12px 0 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(-8px) !important;

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease,
      transform 0.22s ease !important;
  }

  .site-header.menu-open .main-nav,
  body.nav-open .main-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-menu {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 14px 12px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;

    overflow: hidden !important;

    background:
      linear-gradient(
        rgba(255, 242, 210, 0.78),
        rgba(244, 222, 180, 0.78)
      ),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: repeat !important;

    border: 2px solid rgba(190, 145, 75, 0.62) !important;
    border-radius: 12px !important;

    box-shadow:
      0 16px 34px rgba(40, 18, 7, 0.24),
      inset 0 0 0 1px rgba(255, 238, 190, 0.4) !important;
  }

  .nav-menu li {
    width: 100% !important;
    max-width: 100% !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 14px 10px !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;

    color: #3a2114 !important;
    text-decoration: none !important;

    border-bottom: 1px solid rgba(120, 73, 39, 0.18) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #9b2419 !important;
  }

  .nav-link.active::after {
    left: 50% !important;
    bottom: 2px !important;

    width: 42px !important;
    height: 9px !important;

    transform: translateX(-50%) !important;

    background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/underline_rhwzs8.png") no-repeat center / contain !important;
  }

  .nav-link:not(.active)::after {
    display: none !important;
  }

  .nav-mobile-cta {
    display: block !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .header-cta-mobile {
    width: 100% !important;
    max-width: 100% !important;

    height: 54px !important;
    min-height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 16px !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center !important;

    color: #fff0d4 !important;
    text-decoration: none !important;

    background: linear-gradient(180deg, #a51f14 0%, #7c1109 100%) !important;
    border: 2px solid #c89458 !important;

    clip-path: polygon(
      12px 0,
      calc(100% - 12px) 0,
      100% 12px,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      12px 100%,
      0 calc(100% - 12px),
      0 12px
    ) !important;
  }
}

/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 520px) {
  .site-header,
  .site-header.is-scrolled {
    --header-height: 72px !important;
    --header-height-scrolled: 72px !important;

    height: 72px !important;
    min-height: 72px !important;
  }

  .header-inner {
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  .header-logo {
    width: 116px !important;
    max-width: 38vw !important;
    top: 4px !important;
  }

  .site-header.is-scrolled .header-logo {
    width: 94px !important;
    top: 6px !important;
  }

  .nav-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.35rem !important;
  }

  .main-nav,
  .site-header.is-scrolled .main-nav {
    top: 100% !important;
    right: 0 !important;

    width: min(300px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;

    padding-top: 10px !important;
  }

  .nav-menu {
    padding: 12px 10px !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    padding: 13px 8px !important;
    font-size: 0.86rem !important;
  }

  .header-cta-mobile {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 0.86rem !important;
  }
}

/* =========================================================
   GARANTIR QUE ELEMENTOS DO HERO NÃO CRIAM OVERFLOW MOBILE
========================================================= */

@media (max-width: 768px) {
  .hero,
  .hero-content,
  .hero-copy,
  .about,
  .services,
  .gallery,
  .contact {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .hero-copy {
    transform: none !important;
  }

  .hero-end-band,
  .hero::after {
    display: none !important;
    content: none !important;
  }
}

/* =========================================================
   FIX FINAL MOBILE POPUP — OVERLAY FULLSCREEN + CENTRO REAL
========================================================= */

@media (max-width: 1080px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.nav-open {
    overflow: hidden !important;
  }

  .site-header {
    z-index: 6000 !important;
  }

  .header-inner {
    position: relative !important;
    z-index: 6002 !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 6003 !important;
  }

  /* overlay ocupa mesmo o viewport inteiro */
  .main-nav,
  .site-header.is-scrolled .main-nav {
    position: fixed !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: auto !important;
    height: auto !important;
    min-width: 100vw !important;
    min-height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(18, 9, 5, 0.64) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;

    border: 0 !important;
    box-shadow: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: none !important;

    z-index: 6001 !important;

    transition:
      opacity 0.22s ease,
      visibility 0.22s ease !important;
  }

  body.nav-open .main-nav,
  .site-header.menu-open .main-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* popup centrado */
  .nav-menu {
    position: relative !important;

    width: min(320px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    max-height: calc(100dvh - 44px) !important;

    margin: 0 !important;
    padding: 14px 14px 16px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    background:
      linear-gradient(rgba(255, 245, 220, 0.98), rgba(245, 228, 190, 0.98)),
      url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606782/texture-paper_vb2m2e.png") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: repeat !important;

    border: 2px solid rgba(201, 165, 86, 0.72) !important;
    border-radius: 16px !important;

    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.38),
      inset 0 0 0 1px rgba(255, 240, 205, 0.4) !important;

    transform: none !important;
  }

  .nav-menu li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 54px !important;
    padding: 14px 10px !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    color: #3a2114 !important;
    text-decoration: none !important;

    border-bottom: 1px solid rgba(120, 73, 39, 0.16) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #9b2419 !important;
  }

  .nav-link.active::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 6px !important;

    width: 42px !important;
    height: 8px !important;

    transform: translateX(-50%) !important;

    background: url("https://res.cloudinary.com/dar0frznj/image/upload/v1778606779/underline_rhwzs8.png") no-repeat center / contain !important;
  }

  .nav-link:not(.active)::after {
    display: none !important;
  }

  .nav-mobile-cta {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  .header-cta-mobile {
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 16px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center !important;
    text-decoration: none !important;

    color: #fff0d4 !important;

    background: linear-gradient(180deg, #b01f14 0%, #8a110a 100%) !important;
    border: 2px solid #c89458 !important;

    clip-path: polygon(
      12px 0,
      calc(100% - 12px) 0,
      100% 12px,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      12px 100%,
      0 calc(100% - 12px),
      0 12px
    ) !important;
  }
}

@media (max-width: 520px) {
  .nav-menu {
    width: min(300px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 32px) !important;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link {
    min-height: 50px !important;
    font-size: 0.9rem !important;
  }

  .header-cta-mobile {
    min-height: 54px !important;
    font-size: 0.9rem !important;
  }
}
