/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
/*RESET CSS*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

a:focus {
  outline: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}
/*FIM RESET CSS*/

/*
   Breakpoints do projeto:
   ≤320px      mobile pequeno
   320px-767px mobile/tablets médios
   768px-991px tablets
   992px-1199px desktop pequeno
   ≥1200px     desktop grande
   Menu hamburger: max-width 991px
*/

/* ================================================
   DESIGN SYSTEM (variáveis e tokens)
   ================================================ */
:root {
  /* Cores principais (referência cantodaalma) */
  --primary-brown: #b97b54;
  --primary-green: #5c7264;
  --primary-beige: #ede7df;
  --primary-white: #ffffff;
  --primary-black: #443e36;
  --primary-gray: #f7f6f3;
  --accent-gold: #c19a77;
  /* Tipografia (padrão cantodaalma referência) */
  --font-family-primary: "Poppins", sans-serif;
  --font-family-secondary: "Lora", serif;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Lora", serif;
  --font-size-primary: 0.8rem;
  --line-height-primary: 1.2rem;
  --primary-color: #cfab92;
  --secondary-color: #fff9e9;
  --tertiary-color: #bc7853;
  --quaternary-color: #94a680;
  --quinary-color: #557061;
  --section-heading-size: 1.6rem;
  --section-heading-color: var(--quinary-color);
  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-brown),
    var(--accent-gold)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-brown)
  );
  --gradient-overlay: linear-gradient(
    rgba(68, 62, 54, 0.7),
    rgba(92, 114, 100, 0.8)
  );
  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  /* Bordas e sombras */
  --border-radius: 12px;
  --border-radius-large: 20px;
  --shadow-light: 0 2px 10px rgba(68, 62, 54, 0.1);
  --shadow-medium: 0 4px 20px rgba(68, 62, 54, 0.15);
  --shadow-heavy: 0 8px 30px rgba(68, 62, 54, 0.2);
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  /* Z-index */
  --z-dropdown: 1000;
  --z-modal: 10000;
  --z-tooltip: 20000;
}

@media (max-width: 767px) {
  :root {
    --section-heading-size: 1.2rem;
  }
}

/* Utilitários do design system */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.content-container.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-gradient {
  background: var(--gradient-overlay);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-xs {
  margin-top: 0.5rem;
}
.mt-sm {
  margin-top: 1rem;
}
.mt-md {
  margin-top: 2rem;
}
.mt-lg {
  margin-top: 3rem;
}
.mt-xl {
  margin-top: 4rem;
}
.mt-xxl {
  margin-top: 6rem;
}

.pt-xs {
  padding-top: 0.5rem;
}
.pt-sm {
  padding-top: 1rem;
}
.pt-md {
  padding-top: 2rem;
}
.pt-lg {
  padding-top: 3rem;
}
.pt-xl {
  padding-top: 4rem;
}
.pt-xxl {
  padding-top: 6rem;
}

/* Botões (design system) */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-gradient {
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-height: 48px;
  border: none;
  text-decoration: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-white);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-black);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--primary-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-brown);
  border: 2px solid var(--primary-brown);
}

.btn-outline:hover {
  background: var(--primary-brown);
  color: var(--primary-white);
}

.btn-gradient {
  background: var(--gradient-secondary);
  color: var(--primary-white);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
  min-height: 56px;
}

.btn-small,
.btn-outline-small {
  padding: 8px 16px;
  font-size: 14px;
  min-height: 36px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Section header padrão */
.section-header {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.section-header .section-title {
  margin-bottom: var(--spacing-sm);
}

.section-description {
  font-size: 1rem;
  color: var(--primary-black);
  opacity: 0.9;
  width: 100%;
  margin: 0 auto;
}

/* Formulários (base) */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--primary-black);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.section-title {
  line-height: 1.2;
  font-size: var(--section-heading-size);
  color: var(--section-heading-color);
  font-weight: bold;
  text-transform: uppercase;
}

.bg-gray {
  background-color: #f7f7f7;
}

.padding-section {
  padding: 1.25rem 0;
}

@media (max-width: 767px) {
  .padding-section {
    padding: 1.25rem 0;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-primary);
  line-height: var(--line-height-primary);
}

strong {
  display: inline;
  color: var(--quaternary-color);
  font-weight: 700;
}

svg,
img {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--line-height-primary);
}

.section {
  max-width: 1440px;
  padding: 0 2rem;
}

/* ================================================
   HEADER & NAV (padrão cantodaalma referência)
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary-brown);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(237, 231, 223, 0.2);
  z-index: 9999;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: var(--primary-brown);
  box-shadow: var(--shadow-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.nav-logo .logo-link {
  display: block;
}

.nav-logo .logo-image {
  height: 50px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
}

.nav-logo a:hover .logo-image,
.logo-link:hover .logo-image {
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-white);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active-link::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active-link {
  color: #f0f0f0;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--primary-white);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--primary-white);
}

.nav-close {
  display: none;
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gray);
  align-items: center;
  justify-content: center;
  color: var(--primary-black);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-close:hover {
  background: var(--primary-beige);
}

/* Botão CTA no header (padrão cantodaalma referência) */
.header .btn-cta,
.btn-cta {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  color: #bc7853;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(245, 245, 245, 0.3);
  border: none;
  cursor: pointer;
}

.header .btn-cta i {
  display: inline-block;
  animation: cta-icon-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
}

.header .btn-cta:hover,
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 245, 245, 0.4);
  background: linear-gradient(135deg, #e8e8e8, #d8d8d8);
}

@keyframes cta-icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header .btn-cta i {
    animation: none;
  }
}

/* Menu hamburger: abaixo de 992px (tablet e mobile) */
@media (max-width: 991px) {
  .nav {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary-white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    transition: var(--transition-normal);
    z-index: 10000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.show {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--primary-beige);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    color: var(--primary-black);
    display: block;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active-link {
    color: var(--primary-brown);
  }

  .nav-close {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header .btn-cta {
    padding: 10px 16px;
    font-size: 13px;
  }
}

.back-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.back-top i {
  font-size: 1.5rem;
  color: var(--tertiary-color);
  cursor: pointer;
}

/* Rodapé: fonte e tamanhos iguais ao referência (cantodaalma) */
footer#footer {
  background-color: var(--primary-brown);
  color: var(--primary-white);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--spacing-md) 0 var(--spacing-sm);
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.6;
}

footer#footer .content-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

footer#footer .content-footer .unidades-menu,
footer#footer .content-footer .menu,
footer#footer .content-footer .support {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

footer#footer .content-footer .unidades-menu p {
  font-size: 14px;
  color: var(--primary-white);
  opacity: 0.8;
}

footer#footer .content-footer .title {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 16px;
  color: var(--primary-white);
  margin-bottom: var(--spacing-sm);
}

footer#footer .content-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: 300px;
}

footer#footer .content-footer ul li:not(:has(a)) {
  list-style: none;
  text-decoration: none;
  color: var(--primary-white);
  font-size: 14px;
  opacity: 0.8;
}

footer#footer .content-footer ul p {
  list-style: none;
  text-decoration: none;
  color: var(--primary-white);
  font-size: 14px;
  margin-top: 4px;
  opacity: 0.8;
}

footer#footer .content-footer ul li a {
  list-style: none;
  text-decoration: none;
  color: var(--primary-white);
  font-size: 14px;
  opacity: 0.8;
  transition: var(--transition-fast);
}

footer#footer .content-footer ul li a:hover {
  opacity: 1;
  color: var(--primary-brown);
}

footer#footer .content-footer .support a {
  font-size: 14px;
  color: var(--primary-white);
  text-decoration: none;
  opacity: 0.8;
}

footer#footer .content-footer .support a:hover {
  opacity: 1;
  color: var(--primary-brown);
}

footer#footer .content-footer .support .address {
  color: var(--primary-white);
  font-size: 14px;
  opacity: 0.8;
}

footer#footer .content-footer .support .cellphone {
  color: var(--primary-white);
  font-size: 14px;
  display: flex;
  gap: var(--spacing-xs);
  opacity: 0.8;
}

footer#footer .content-footer .support .cellphone i {
  color: var(--primary-white);
}

footer#footer .content-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-top: 1px solid rgba(185, 123, 84, 0.2);
}

footer#footer .content-bottom .social {
  display: flex;
  gap: var(--spacing-sm);
}

footer#footer .content-bottom .social a {
  text-decoration: none;
  color: var(--primary-white);
  font-size: 18px;
  opacity: 0.8;
  transition: var(--transition-fast);
}

footer#footer .content-bottom .social a:hover {
  opacity: 1;
  color: var(--primary-brown);
}

.site-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--primary-black);
  padding: var(--spacing-md) 0;
  opacity: 0.7;
}

.site-details .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: var(--spacing-sm);
}

.site-details .content .copy p,
.site-details .content a {
  text-decoration: none;
  color: var(--primary-black);
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  footer#footer .content-footer {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  footer#footer .content-footer .unidades-menu,
  footer#footer .content-footer .menu,
  footer#footer .content-footer .support {
    align-items: center;
  }

  footer#footer .content-footer ul {
    text-align: center;
  }

  footer#footer .content-footer .support .cellphone {
    align-items: center;
  }

  .site-details .content {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}

.whatsapp {
  position: fixed;
  background-color: #25d366;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  bottom: 50px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.whatsapp a {
  text-decoration: none;
  color: #212121;
  font-size: 1.9rem;
}

/* 404 */
.error-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-top: 70px;
  padding: 6rem 0;
}

.error-404 .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.error-404 h1 {
  font-size: 4.5rem;
  color: var(--tertiary-color);
  font-weight: 600;
  text-align: center;
}

.error-404 h2 {
  font-size: 2rem;
  color: var(--quinary-color);
  text-align: center;
  line-height: 1.2;
}

.error-404 p {
  font-size: 1.2rem;
  color: var(--quinary-color);
  text-align: center;
}

.error-404 a {
  text-decoration: none;
  color: var(--tertiary-color);
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: 2px solid var(--tertiary-color);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
  text-align: center;
}

.message {
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  width: 100%;
}

.message.success {
  background-color: #4caf50;
}

.message.error {
  background-color: #f44336;
}

.message.warning {
  background-color: #ff9800;
}

.modal-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-alert .content {
  height: auto;
  overflow-y: auto;
  width: 50%;
  margin: 0 auto;
  background-color: #fff;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  gap: 1rem;
}

.modal-alert.active {
  opacity: 1;
  visibility: visible;
}

.modal-alert .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  height: 4rem;
  width: 100%;
  text-align: center;
}

.modal-alert .title h3 {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--quinary-color);
  flex: 1;
  text-align: center;
}

.modal-alert .title .close {
  font-size: 1.5rem;
  color: var(--quinary-color);
  cursor: pointer;
}

.modal-alert .text {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 2rem;
  line-height: 1.5;
  white-space: pre-line;
}

.modal-alert .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.modal-alert .actions button {
  min-width: 140px;
}

.modal-alert .classes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  flex-direction: column;
}

.modal-alert .class {
  padding: 1rem;
  background-color: var(--color-secondary);
  border-radius: 5px;
  color: var(--color-primary);
}

.modal-alert .class h5 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .modal-alert .content {
    width: 90%;
    max-height: 90%;
  }

  .modal-alert .actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .modal-alert .actions button {
    width: 100%;
    min-width: 0;
  }

  .modal-alert .classes {
    grid-template-columns: 1fr;
  }
}

.clear {
  clear: both;
  width: 100%;
  height: 0;
  margin-bottom: 24px;
}

.about {
  white-space: normal !important;
}
