@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/FrauncesThin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/FrauncesThinItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-display: swap;
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lexend-v26-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/lexend-v26-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/lexend-v26-latin-600.woff2') format('woff2');
}

:root {
  --color-green:       #666634;
  --color-green-dark:  #4d4d26;
  --color-green-soft:  #B8B88A;
  --color-green-light: #d8d8c0;
  --color-white:       #fff;
  --color-gray-light:  #f8f6f2;
  --color-green-darker: #3a3a1c;  
  --color-green-pale:   #eeeee0;
  --color-gray-mid:     #e8e8d8;

  --text-dark:  #555542;
  --text-light: #f8f6f2;
  --text-darkest:       #2e2e18;
  --text-muted:         #888870;

  --heading: "Fraunces", serif;
  --body:    "Lexend", sans-serif;

  --gap-xs:  8px;
  --gap-sm:  16px;
  --gap-md:  24px;
  --gap-lg:  32px;
  --gap-xl:  48px;
  --gap-2xl: 64px;

  --section-px: 24px;
  --section-py: 48px;
}

@media (min-width: 769px) {
  :root {
    --section-px: 8vw;
    --section-py: 10vh;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

body {
  background-color: var(--color-gray-light);
  color: var(--text-dark);
}

.header-padding {
  padding-top: 68px;
}

main {
  min-width: 360px;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 120%;
  color: var(--text-dark);
}

p {
  font-family: var(--body);
  font-weight: 400;
  line-height: 160%;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* On dark/gradient backgrounds, inherit white from parent */
.gradient-bg p,
.green-bg p {
  color: var(--text-dark); /* gradient is light, keep dark */
}

li {
  font-family: var(--body);
  font-weight: 400;
  line-height: 160%;
  color: var(--text-dark);
}

a {
  font-family: var(--body);
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

.link {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--text-dark);
}

.link:hover {
  opacity: 0.5;
}

.green-bg a,
.green-bg .link {
  color: var(--text-light);
}

.heading-xl {
  font-size: 2rem;
  text-align: center;
}

.heading-lg {
  font-size: 2rem;
  text-align: center;
}

.heading-md {
  font-family: var(--heading);
  line-height: 120%;
  font-size: 1.55rem;
  text-align: center;
}

.section-title--center {
  text-align: center !important;
}

.section-title--left {
  text-align: center;
}

@media (min-width: 769px) {
  .heading-xl   { font-size: 3rem; }
  .heading-lg   { font-size: 2.4rem; }
  .heading-md   { font-size: 1.55rem; }

  .section-title--left {
    text-align: left !important;
  }
}

.text {
  font-family: var(--body);
  line-height: 160%;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.text.lg {
  font-size: 1.3rem;
}

@media (min-width: 769px) {
  .text { font-size: 0.95rem; }
}

.auxiliar {
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 100%;
  color: var(--text-dark);
}

.auxiliar-sm { font-size: 0.66em; }
.auxiliar-md { font-size: 0.88rem; }

.italic { font-style: italic; }

.btn {
  display: inline-flex;
  gap: var(--gap-xs);
  align-items: center;
  justify-content: center;
  min-width: fit-content;
  max-width: 100%;
  text-align: center;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--body);
  cursor: pointer;
}

.btn .icon {
  max-width: 24px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--color-green);
  color: var(--color-white);
}
.btn--primary:hover {
  background-color: var(--color-green-dark);
  opacity: 1;
}

.btn-border {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-border:hover {
  background-color: var(--color-white);
  color: var(--color-green);
  opacity: 1;
}

.btn-border--dark {
  background-color: transparent;
  color: var(--color-green-dark);
  border: 1px solid var(--color-green-dark);
}
.btn-border--dark:hover {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  opacity: 1;
}

/* Ícone dark que inverte no hover */
.btn .icon--dark {
  max-width: 24px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(26%) sepia(12%) saturate(1849%) hue-rotate(21deg) brightness(95%) contrast(85%);
}
.btn:hover .icon--dark {
  filter: brightness(0) saturate(100%) invert(98%) sepia(97%) saturate(2%) hue-rotate(288deg) brightness(105%) contrast(100%);
}

.green-bg {
  background-color: var(--color-green);
  color: var(--color-white);
}

.gradient-bg {
  background: linear-gradient(#dad8c1 0%, #f5ecd7 100%);
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-responsive-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.flex-responsive-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 769px) {
  .flex-responsive-col {
    flex-direction: row;
  }
}

.two-cols {
  display: grid;
  gap: var(--gap-lg);
}

@media (min-width: 769px) {
  .two-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-2xl);
  }
}

.three-cols {
  display: grid;
  gap: var(--gap-lg);
}

@media (min-width: 769px) {
  .three-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  align-items: center;
  text-align: center;
  width: 100%;
}

.section-header p {
  max-width: 750px;
}
@media (min-width: 769px) {
  .two-cols > .section-header,
  .two-cols > *:first-child .section-header,
  .two-cols > *:first-child.section-header {
    align-items: flex-start;
    text-align: left;
  }

  .two-cols > .section-header h2,
  .two-cols > .section-header p,
  .two-cols > *:first-child .section-header h2,
  .two-cols > *:first-child .section-header p,
  .two-cols > *:first-child.section-header h2,
  .two-cols > *:first-child.section-header p {
    text-align: left;
  }
}

.three-cols > .section-header,
.three-cols .section-header {
  align-items: center;
  text-align: center;
}

.three-cols > .section-header h2,
.three-cols .section-header h2,
.three-cols > .section-header p,
.three-cols .section-header p {
  text-align: center;
}

.section-xl,
.section-lg,
.section-md {
  padding: var(--section-py) var(--section-px);
}

@media (min-width: 769px) {
  .section-xl { padding: 12vh 10vw; }
  .section-lg { padding: 12vh 12vw; }
  .section-md { padding: 12vh 16vw; }
}

.hidden--mobile { display: none; }

@media (min-width: 481px) {
  .hidden--mobile { display: block; }
}

.vertical-divider {
  height: 80px;
  width: 1px;
  margin: 0 auto;
  background-color: var(--color-green-dark);
}

@media (min-width: 481px) {
  .vertical-divider { display: none; }
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.fab {
  display: none; /* mobile: oculto */
}

@media (min-width: 1024px) {
  .fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 999;
  }

  .fab:hover {
    transform: translateY(-3px);
    opacity: 0.85;
  }

  /* Go to Top */
  .fab--top {
    left: 30px;
    background-color: var(--color-green);
    color: var(--text-light);
  }

  /* WhatsApp */
  .fab--whatsapp {
    right: 30px;
    background-color: #25D366;
    animation: pulse 2.5s ease-in-out infinite;
  }
  .fab--whatsapp img {
    width: 24px;
    height: 24px;
  }
  .fab--whatsapp:hover {
    animation: none;
    transform: translateY(-3px);
    opacity: 0.85;
  }

  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50%       { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  }
}