/* RESET & BASIC NORMALIZATION */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #23272C;
  color: #E7E5DF;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

/* CORE BRAND COLORS */
:root {
  --vf-primary: #2C3642;
  --vf-secondary: #C7A375;
  --vf-accent: #E7E5DF;
  --vf-dark: #23272C;
  --vf-grey: #484C53;
  --vf-midgrey: #979797;
  --vf-light: #F7F6F3;
  --shadow-card: 0 2px 12px 0 rgba(44,54,66,0.13);
  --radius: 12px;
  --transition: 0.25s cubic-bezier(0.7, 0, 0.4, 1.0);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--vf-accent);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p, ul, ol, table { font-size: 1.125rem; margin-bottom: 1em; }
strong { color: var(--vf-secondary); font-weight: 700; }
ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.3em;
}
ul li::before {
  content: '\2022';
  color: var(--vf-secondary);
  font-size: 1.2em;
  margin-right: 10px;
  vertical-align: middle;
}
a {
  color: var(--vf-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--vf-accent);
  text-decoration: underline;
  outline: none;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vf-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.text-section {
  margin-bottom: 40px;
  gap: 24px;
}

.card-container, .features, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--vf-grey);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--vf-accent);
  box-shadow: var(--shadow-card);
  position: relative;
  min-width: 270px;
  flex: 1 1 320px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(199,163,117,0.15);
  transform: translateY(-8px) scale(1.02);
}

.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .content-grid, .card-container, .features, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vf-grey);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 20px;
  color: var(--vf-accent);
  box-shadow: var(--shadow-card);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--vf-light);
  color: #23272C;
  border-left: 6px solid var(--vf-secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(44,54,66,0.08);
  max-width: 580px;
}
.testimonial-card p {
  color: #23272C;
  font-size: 1.18rem;
  margin-bottom: 0.5em;
}
.testimonial-card strong {
  color: var(--vf-primary);
}


/* BUTTONS */
.primary-cta {
  display: inline-block;
  padding: 14px 34px;
  background: var(--vf-secondary);
  color: #23272C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(199,163,117,0.05);
  margin-top: 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.primary-cta:hover,
.primary-cta:focus {
  background: #b08850;
  color: var(--vf-accent);
  box-shadow: 0 6px 20px 0 rgba(199,163,117,0.14);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--vf-secondary);
  cursor: pointer;
  outline: none;
  transition: color var(--transition);
  z-index: 2500;
}
button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  color: var(--vf-accent);
}

/* HEADER & NAVIGATION */
header {
  background: var(--vf-dark);
  box-shadow: 0 2px 12px 0 rgba(44,54,66,0.14);
  z-index: 1000;
  width: 100%;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 36px;
}
header img { height: 44px; margin-right: 16px; }
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vf-accent);
  font-size: 1.04rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 22px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.main-nav a.primary-cta {
  background: var(--vf-secondary);
  color: #23272C;
}
.main-nav a.primary-cta:hover {
  background: #b08850;
  color: var(--vf-accent);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vf-grey);
}
/* Hide mobile triggers on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(44, 54, 66, 0.98);
  transform: translateX(-105vw);
  transition: transform 0.32s cubic-bezier(0.7, 0, 0.4, 1.0);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 20px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 26px;
  font-size: 2.25rem;
  color: var(--vf-accent);
  background: none;
  border: none;
  z-index: 2300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 70px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 16px 0;
  color: var(--vf-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(231,229,223,0.09);
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vf-secondary);
  background: rgba(199,163,117,0.05);
  border-radius: 6px;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.5rem;
    color: var(--vf-secondary);
    background: none;
    border: none;
    margin-left: 8px;
    z-index: 2600;
  }
  header .container {
    gap: 12px;
  }
}

@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: var(--vf-grey);
  padding: 36px 0 20px 0;
  color: var(--vf-accent);
  border-top: 1px solid #363a41;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--vf-accent);
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.footer-nav a:hover {
  color: var(--vf-secondary);
}
.branding {
  display: flex;
  align-items: center;
  gap: 20px;
}
.branding img { height: 44px; }
.branding p {
  color: var(--vf-midgrey);
  font-size: 1.03rem;
  margin: 0;
}
@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* TABLES (Preços) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  background: var(--vf-dark);
  color: var(--vf-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
thead {
  background: var(--vf-primary);
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  color: var(--vf-secondary);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.12rem;
  border-bottom: 2px solid var(--vf-grey);
}
td {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--vf-grey);
  color: var(--vf-accent);
}
tr:last-child td {
  border-bottom: none;
}

/* BLOG ARTICLE GRID */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.blog-grid article {
  background: var(--vf-grey);
  border-radius: var(--radius);
  padding: 22px 20px 20px 20px;
  min-width: 260px;
  flex: 1 1 340px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-grid article:hover {
  box-shadow: 0 4px 18px 0 rgba(199,163,117,0.12);
  transform: scale(1.015) translateY(-6px);
}
.blog-grid article h2 {
  font-size: 1.3rem;
  color: var(--vf-secondary);
  margin-bottom: 10px;
}
.blog-grid article p {
  color: var(--vf-accent);
  margin-bottom: 14px;
}

.categories,
.categories span {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.categories span {
  background: #323940;
  color: var(--vf-secondary);
  font-size: 0.98rem;
  border-radius: 18px;
  padding: 7px 18px;
  margin-bottom: 10px;
  cursor: default;
}

/* FORM/INPUTS (if applicable) */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  background: #23272C;
  border: 1.5px solid var(--vf-midgrey);
  color: var(--vf-accent);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 1.08rem;
  margin-bottom: 16px;
  transition: border-color var(--transition), background var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--vf-secondary);
  background: #292f38;
}

/* BLOCKQUOTES (for possible blog/testimonial quotes) */
blockquote {
  background: var(--vf-grey);
  color: var(--vf-accent);
  border-left: 4px solid var(--vf-secondary);
  padding: 24px 28px;
  font-style: italic;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 1.17rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(44,54,66,0.96);
  color: var(--vf-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 16px 18px 16px;
  box-shadow: 0 -1px 32px 0 rgba(199,163,117,0.12);
  z-index: 5000;
  gap: 14px;
  transition: transform 0.35s var(--transition), opacity 0.15s;
  font-size: 1.08rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 8px 22px;
  margin: 0 0;
  min-width: 110px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-accept {
  background: var(--vf-secondary);
  color: #23272C;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: #b08850;
  color: var(--vf-accent);
}
.cookie-banner .cookie-reject {
  background: #4F545C;
  color: var(--vf-accent);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #23272C;
  color: var(--vf-secondary);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--vf-secondary);
  border: 1.5px solid var(--vf-secondary);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--vf-secondary);
  color: #23272C;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(44,54,66,0.83);
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: modalFadeIn 0.18s;
}
@keyframes modalFadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: var(--vf-primary);
  color: var(--vf-accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 36px 0 rgba(44,54,66,0.22);
  max-width: 370px;
  width: 100%;
  padding: 32px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  z-index: 6100;
}
.cookie-modal h2 {
  color: var(--vf-secondary);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.cookie-category label {
  color: var(--vf-accent);
  font-size: 1.07rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--vf-secondary);
  width: 21px;
  height: 21px;
  margin-right: 3px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--vf-accent);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 6200;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: var(--vf-secondary);
}

/* Responsive - Mobile First */
body, html {
  font-size: 16px;
}
@media (max-width: 648px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.29rem; }
  h3 { font-size: 1.11rem; }
  .container, .content-wrapper { padding: 0 8px; }
  .section { padding: 28px 8px; }
  .blog-grid article, .card, .feature-item { padding: 13px 10px; }
  .branding img { height: 32px; }
}

/* Spacing Rules for Consistency */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features, .card-grid, .content-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
  margin-bottom: 20px;
}

/* Animations/Micro-interactions */
.primary-cta:active {
  transform: scale(0.97);
}
.card:active,
.blog-grid article:active {
  transform: scale(0.99) translateY(3px);
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--vf-grey);
}
::-webkit-scrollbar-thumb {
  background: var(--vf-secondary);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b08850;
}

/* Decorative metallic accents */
.section, .feature-item, .card, .testimonial-card, .blog-grid article {
  border-bottom: 3px solid var(--vf-secondary);
}

/* Accessibility/Selection */
::selection {
  background: var(--vf-secondary);
  color: #23272C;
}

/* Utility Classes */
.mt-2 { margin-top: 12px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/* Hide non-content abspos elements,
   prevent overlap (NO abspos for content cards!) */

/* End of CSS */
