/* ==========================================================================
   Coffee Block — static HTML conversion
   Ported from the "Coffee Block" WordPress FSE theme (SKT Themes).
   Design tokens come from the theme's theme.json; presentational rules are
   ported from the theme's style.css and the block inline styles.
   Single stylesheet, no build step — ready to drop into a .NET wwwroot.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Fonts (local woff2, copied into ../fonts)
   ------------------------------------------------------------------------- */
@font-face { font-family: "Poppins"; font-weight: 100; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Thin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Light.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/Poppins-Italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Poppins-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Poppins-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/Poppins-Black.woff2") format("woff2"); }

@font-face { font-family: "Oswald"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Oswald-Light.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Oswald-Regular.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Oswald-Medium.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Oswald-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Oswald-Bold.woff2") format("woff2"); }

/* ----------------------------------------------------------------------------
   2. Design tokens (from theme.json)
   ------------------------------------------------------------------------- */
:root {
  /* palette */
  --color-foreground: #282828;
  --color-background: #ffffff;
  --color-primary:    #ffac47;  /* amber */
  --color-secondary:  #281f1d;  /* near-black brown */
  --color-tertiary:   #282828;

  /* accents used across the theme */
  --coffee-dark:      #5f1c00;  /* dark roast headings */
  --coffee-heading:   #4e1700;
  --coffee-tan:       #c28030;  /* buttons / accent blocks */
  --coffee-clay:      #b7772a;  /* clients band */
  --coffee-cream:     #f9f4eb;  /* soft section background */
  --coffee-overlay:   #110704;  /* image overlays */
  --coffee-night:     #272727;  /* solid inner-page header/band */
  --coffee-border:    #644019;  /* footer border */
  --coffee-espresso:  #300e00;

  /* type */
  --font-body: "Poppins", sans-serif;
  --font-head: "Oswald", sans-serif;

  --fs-small:    14px;
  --fs-medium:   16px;
  --fs-large:    20px;
  --fs-xlarge:   30px;
  --fs-xxlarge:  40px;

  --lh-tiny:   1.15;
  --lh-small:  1.2;
  --lh-medium: 1.4;
  --lh-normal: 1.6;

  --container: 1200px;
}

/* ----------------------------------------------------------------------------
   3. Reset / base (trimmed from theme style.css)
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-medium);
  line-height: var(--lh-normal);
  color: var(--color-foreground);
  background: var(--color-background);
  overflow-x: hidden;               /* guard against stray horizontal scroll */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
figure { margin: 0; }
a { color: var(--color-secondary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--color-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  clear: both;
  margin: 0;
  font-weight: 600;
  color: inherit;
}
h1 { font-size: var(--fs-xxlarge); line-height: var(--lh-tiny); }
h2 { font-size: var(--fs-xlarge);  line-height: var(--lh-small); }
h3 { font-size: var(--fs-large);   line-height: var(--lh-medium); }
h4 { font-size: var(--fs-medium);  line-height: var(--lh-medium); }
h5 { font-size: var(--fs-small);   line-height: var(--lh-normal); }
h6 { font-size: var(--fs-small);   line-height: var(--lh-normal); }
p  { margin: 0 0 25px; }
p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------------------
   4. Layout helpers
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  color: var(--coffee-heading);
  margin: 0 0 5px;
}

.section-title {
  font-family: var(--font-head);
  color: var(--coffee-dark);
  font-size: 49px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

/* pill button — matches core/button + theme radius */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  border-radius: 100px;
  padding: 17px 40px;
  border: 0;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover, .btn:focus { opacity: .9; }

.btn--light { background: var(--color-background); color: #1b0c08; }
.btn--tan   { background: var(--coffee-tan);       color: var(--color-background); }
.btn--light:hover, .btn--tan:hover { color: inherit; }

/* ----------------------------------------------------------------------------
   5. Header (transparent, floats over the hero)
   ------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  padding-bottom: 40px;
}

/* solid variant for inner pages (no hero behind the header) */
.site-header--solid {
  position: static;
  background: var(--coffee-night);
  padding-bottom: 40px;
}

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-background);
}
.header-call img, .header-call svg { flex: none; width: 42px; height: auto; }
.header-call .call-label  { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.2; }
.header-call .call-number { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.2; }

.header-logo { text-align: center; }
.header-logo img { max-height: 60px; width: auto; }

.header-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-background);
  font-weight: 500;
}
.header-cart svg { width: 26px; height: 26px; }
.header-cart .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--coffee-espresso);
  font-size: 11px;
  font-weight: 700;
  margin-left: -14px;
  margin-top: -14px;
}

/* nav pill */
.header-nav {
  background: #ffffff21;
  border-radius: 100px;
}
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0 20px;
  font-family: var(--font-head);
}
.main-nav a {
  display: inline-block;
  padding: 17px 0;
  color: var(--color-background);
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.main-nav a:hover,
.main-nav .is-active a { color: var(--color-primary); }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-background);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 34px; height: 34px; }

/* ----------------------------------------------------------------------------
   6. Hero banner
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--coffee-overlay) url("../images/banner-img.jpg") center/cover no-repeat;
  padding-top: 200px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coffee-overlay);
  opacity: .9;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 40px;
  align-items: end;
  padding-top: 20px;
}
.hero-content { padding-top: 80px; padding-bottom: 60px; color: var(--color-background); }
.hero-content h1 {
  font-size: 61px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
.hero-content h1 .accent { color: var(--color-primary); }
.hero-content p {
  font-size: 18px;
  padding-top: 20px;
  padding-bottom: 30px;
  margin: 0;
  max-width: 420px;
}
.hero-image { align-self: end; text-align: right; }

@media (min-width: 1024px) {
  .hero > .container { padding-left: 60px; }
}

/* ----------------------------------------------------------------------------
   7. Section 1 — How we prepare our coffee beans
   ------------------------------------------------------------------------- */
.section1 {
  background: var(--coffee-cream);
  padding: 80px 0;
}
.section1-grid {
  display: grid;
  grid-template-columns: 33.33% 6.66% 60%;
  align-items: center;
}
.section1-left h2 {
  color: var(--coffee-dark);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}
.section1-left p { font-size: 18px; padding: 25px 0 45px; }

.beans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bean-card { text-align: center; min-width: 0; }
.bean-card .bean-circle {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--coffee-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
.bean-card .bean-circle img { width: 53%; max-width: 90px; height: auto; }
.bean-card h3 {
  color: var(--coffee-heading);
  font-size: 21px;
  font-weight: 500;
  padding-top: 20px;
  transition: color .25s ease;
}
.bean-card:hover .bean-circle { background: var(--coffee-tan); }
.bean-card:hover h3 { color: var(--coffee-tan); }

/* ----------------------------------------------------------------------------
   8. Section 2 — About company
   ------------------------------------------------------------------------- */
.section2 { padding: 80px 0 30px; }
.section2-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 30px;
  align-items: center;
}
.section2-right .eyebrow { color: var(--coffee-heading); }
.section2-right > h2 {
  color: var(--coffee-dark);
  font-size: 49px;
  font-weight: 700;
  padding: 5px 0 50px;
  line-height: 1.1;
}
.about-box {
  display: grid;
  grid-template-columns: 22% 78%;
  gap: 12px;
  align-items: start;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
}
.about-box:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.about-box h3 {
  color: var(--coffee-heading);
  font-size: 26px;
  font-weight: 500;
  padding-bottom: 15px;
}
.about-box p { font-size: 18px; }

/* ----------------------------------------------------------------------------
   9. Section 3 — What we do
   ------------------------------------------------------------------------- */
.section3 {
  background: var(--coffee-cream);
  padding: 80px 0;
}
.section3-grid {
  display: grid;
  grid-template-columns: 45% 10% 45%;
  align-items: start;
}
.section3-left .eyebrow { color: var(--coffee-heading); }
.section3-left h2 {
  color: var(--coffee-dark);
  font-size: 49px;
  font-weight: 700;
  padding: 5px 0 20px;
  line-height: 1.1;
}
.section3-left p { font-size: 18px; padding-bottom: 40px; }
.section3-left .btn { margin-top: 30px; }

.section3-right {
  background: var(--coffee-tan);
  border-radius: 20px;
  padding: 50px;
}
.taste-box {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 40px;
}
.taste-box:last-child { padding-bottom: 0; }
.taste-box .taste-icon {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.taste-box .taste-icon img { width: 54%; max-width: 54px; height: auto; }
.taste-box h3 {
  color: var(--color-background);
  font-size: 26px;
  font-weight: 500;
  padding-bottom: 15px;
}
.taste-box p { color: var(--color-background); font-size: 18px; }

/* ----------------------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--coffee-overlay) url("../images/footer-bg.jpg") center/cover no-repeat;
  color: #d1d1d1;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coffee-overlay);
  opacity: .9;
}
.site-footer > .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 40px; }

.footer-logo { text-align: center; padding-bottom: 60px; }
.footer-logo img { max-height: 70px; width: auto; }

.footer-columns {
  display: grid;
  grid-template-columns: 29% 23% 23% 25%;
  gap: 0;
  border: 1px solid var(--coffee-border);
  border-radius: 10px;
  padding: 80px 40px;
}
.footer-col { padding-right: 24px; }
.footer-col h3 {
  color: var(--color-background);
  font-size: var(--fs-large);
  font-weight: 600;
  padding-bottom: 20px;
}
.footer-col p { color: #d1d1d1; line-height: 1.8; }
.footer-col p a { color: var(--color-primary); }
.footer-col p a:hover { color: #fff; }

.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.footer-menu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transition: background .2s ease;
}
.footer-menu a { color: #d8d8d8; }
.footer-menu a:hover { color: #ff8502; }
.footer-menu li:hover::before { background: #ff8502; }

.footer-social {
  display: flex;
  gap: 7px;
  margin-top: 24px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-tertiary);
}
.footer-social a:hover { background: var(--color-primary); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 40px;
}
.footer-copyright p { color: #d1d1d1; line-height: 1.8; margin: 0; }
.footer-copyright .credlink { color: var(--color-primary); }
.footer-copyright .credlink:hover { color: #fff; }

/* ----------------------------------------------------------------------------
   13. Inner-page banner + content blocks
   ------------------------------------------------------------------------- */
/* solid dark band (404 / search title) */
.title-band {
  background: var(--coffee-night);
  padding: 250px 0 100px;
  text-align: center;
}
.title-band h3 {
  color: var(--color-background);
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 404 */
.error-404 { text-align: center; padding: 50px 15px 80px; }
.error-404 .code {
  color: var(--coffee-dark);
  font-size: 150px;
  font-weight: 700;
  line-height: 1;
}

/* ----------------------------------------------------------------------------
   15. One-page site — Nádia Laís Confeitaria
   (header social, doce cards, gallery, reviews, partners, footer)
   ------------------------------------------------------------------------- */

/* header social icons — float over the hero */
.header-social { display: flex; gap: 8px; }
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff21;
  color: var(--color-background);
}
.header-social a:hover { background: var(--color-primary); color: var(--coffee-espresso); }
.header-social svg { width: 18px; height: 18px; }

/* Doces cards — a round photo fills the circle instead of an icon */
.bean-card .bean-circle.photo { padding: 0; overflow: hidden; }
.bean-card .bean-circle.photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
}

/* Nossos Doces — photo gallery */
.gallery { background: var(--color-secondary); padding: 80px 0; }
.gallery .eyebrow { color: var(--color-background); text-align: center; }
.gallery-title {
  text-align: center;
  color: var(--color-background);
  font-size: 49px;
  font-weight: 700;
  line-height: 1.1;
  padding: 5px 0 50px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }

/* Reviews — Casamentos.com.br widget */
.reviews { background: var(--coffee-cream); padding: 80px 0; text-align: center; }
.reviews-eyebrow { color: var(--coffee-dark); text-align: center; }
.reviews-title {
  color: var(--coffee-dark);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 auto 40px;
  max-width: 760px;
}
.reviews-widget { max-width: 900px; margin: 0 auto; }

/* Parcerias — portrait + partner logo grid */
.partners .section2-grid { grid-template-columns: 38% 62%; align-items: start; }
.partners-photo {
  width: 100%;
  max-height: 560px;
  border-radius: 20px;
  object-fit: cover;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 16px;
  margin-top: 10px;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--coffee-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.partner img { height: 58px; width: auto; object-fit: contain; }
.partner:hover { color: var(--coffee-tan); }

/* Footer — three columns on this site */
.footer-columns { grid-template-columns: 1.6fr 1fr 1.3fr; }
.footer-col--about { padding-right: 6%; }

/* ----------------------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: 50px; }
}

@media (max-width: 1023px) {
  /* header collapses to a top bar + toggle */
  .site-header { position: static; background: var(--coffee-night); }
  .site-header .header-topbar { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .header-nav {
    background: transparent;
    border-radius: 0;
    width: 100%;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    background: #ffffff14;
    border-radius: 10px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav li { width: 100%; text-align: center; border-bottom: 1px solid #ffffff1f; }
  .main-nav a { padding: 14px 0; }

  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-content { padding-top: 0; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-image { text-align: center; }

  .section1-grid,
  .section2-grid,
  .section3-grid,
  .partners .section2-grid { grid-template-columns: minmax(0, 1fr); }

  .section1, .section2, .section3, .gallery, .reviews { padding: 50px 0; }
  .section1-left { text-align: center; }
  .beans-grid { margin-top: 30px; }
  .section2-right { margin-top: 30px; }
  .about-box { text-align: left; }
  .partners-photo { max-height: 420px; }
  .partners-grid { margin-top: 30px; }

  .section3-right { margin-top: 40px; padding: 30px; }

  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 40px 25px; }
  .footer-copyright { flex-direction: column; text-align: center; }

  .title-band { padding: 120px 0 60px; }
}

@media (max-width: 600px) {
  .header-call .call-label, .header-call .call-number { font-size: 16px; }
  .hero-content h1 { font-size: 32px; }
  .section-title, .section1-left h2, .section2-right > h2,
  .section3-left h2, .gallery-title, .reviews-title { font-size: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-columns { grid-template-columns: minmax(0, 1fr); }
  .error-404 .code { font-size: 90px; }
}
