/* Madeira & Jardim Pro — NATURE ORGANIC CSS THEME */
/*------------- RESET & BASE TYPOGRAPHY -------------*/
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html,body { height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: #F6F4EE;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #395240;
  line-height: 1.6;
  font-weight: 400;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul,ol,li { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #A47E5E; outline-offset: 2px; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  color: inherit;
}
input, select, textarea { border-radius: 6px; border: 1px solid #D7CAB3; padding: 8px 12px; background: #fff; color: #395240; transition: border 0.2s; }
input:focus, select:focus, textarea:focus { border-color: #A47E5E; outline: none; }

/*-------------- BRAND COLOR PALETTE --------------*/
:root {
  --primary: #395240;
  --secondary: #A47E5E;
  --accent: #F6F4EE;
  --earth1: #837F6E;
  --earth2: #C2B8A3;
  --green-accent: #6C9773;
  --warning: #D8B168;
  --danger: #A45E5E;
}

/*-------------- TYPOGRAPHY SCALE --------------*/
h1, .h1 { font-family: 'Montserrat', Verdana, sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.2; color: var(--primary); letter-spacing: -1px; margin-bottom: 16px; }
h2, .h2 { font-family: 'Montserrat', Verdana, sans-serif; font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--primary); margin-bottom: 14px; }
h3, .h3 { font-family: 'Montserrat', Verdana, sans-serif; font-weight: 600; font-size: 1.18rem; line-height: 1.3; color: var(--primary); margin-bottom: 10px; }
h4, .h4 { font-family: 'Montserrat', Verdana, sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--primary); margin-bottom: 8px; }
h5, .h5, h6, .h6 { font-family: 'Montserrat', Verdana, sans-serif; font-size: 0.98rem; margin-bottom: 6px; color: var(--primary); }
p { margin-bottom: 14px; }
strong { font-weight: 700; }

@media (min-width: 600px) {
  h1, .h1 { font-size: 2.4rem; }
  h2, .h2 { font-size: 2rem; }
  h3, .h3 { font-size: 1.35rem; }
}
@media (min-width: 1000px) {
  h1, .h1 { font-size: 3rem; }
  h2, .h2 { font-size: 2.2rem; }
}

/*-------------- CONTAINER & SECTION SPACING --------------*/
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 32px;
}
section:last-of-type { margin-bottom: 0; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
  .section, section { padding: 60px 0 60px 0; }
}

/*-------------- HEADER & NAVBAR --------------*/
header {
  background: var(--accent);
  border-bottom: 1px solid var(--earth2);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  background: #F6F4EE;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  padding: 10px 32px;
  margin-left: 12px;
  letter-spacing: .03em;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(57,82,64,0.06);
  border: 2px solid var(--primary);
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(106,160,107,0.10);
}
.btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Verdana, sans-serif;
  border-radius: 24px;
  padding: 8px 24px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid var(--secondary);
  cursor: pointer;
  margin-top: 6px;
}
.btn:hover, .btn:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.04);
}

/*-------------- MOBILE MENU - BURGER NAV --------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  margin-left: 14px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  z-index: 200;
  left: 0; top: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 0 900px rgba(50,40,24,0.18);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.39,.58,.57,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 0;
  gap: 30px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: transparent;
  align-self: flex-end;
  margin-right: 30px;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
  z-index: 10;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-left: 36px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Verdana, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px solid #EEE6da;
  width: 85%;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--green-accent);
}
@media (max-width: 1000px) {
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
  .btn-primary { display: inline-block !important; }
}

/*-------------- HERO SECTION --------------*/
.hero-section {
  background: linear-gradient(115deg, #f2eee7 68%, #eaf0e7 100%);
  border-radius: 32px;
  min-height: 320px;
  margin-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.28rem;
  color: var(--earth1);
  max-width: 600px;
  margin-bottom: 24px;
}
.hero-section .btn-primary {
  font-size: 1.18rem;
}
@media (min-width: 700px) {
  .hero-section .container { flex-direction: row; justify-content: space-between; }
  .hero-section .content-wrapper { max-width: 600px; margin-left: 10%; }
}
/*-------------- FLEX ALIGNMENT PATTERNS --------------*/
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 20px; box-shadow: 0 2px 12px rgba(87,74,28,0.08); transition: box-shadow 0.2s, transform 0.12s; }
.card:hover, .card:focus-within { box-shadow: 0 8px 32px rgba(65,105,75,0.11); transform: translateY(-3px) scale(1.01); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: #f6f4ee; border-radius: 18px; box-shadow: 0 2px 6px rgba(65,105,75,0.09); margin-bottom: 20px; flex-direction: column; text-align: left; color: #3a3a3a; border-left: 4px solid var(--green-accent); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/*-------------- FEATURES & CATEGORIES --------------*/
.feature-grid, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid li, .category-list li {
  flex: 1 1 230px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(65,105,75,.08);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 4px solid var(--green-accent);
}
.feature-grid li:hover, .category-list li:hover {
  box-shadow: 0 7px 29px rgba(57,82,64,.13);
  transform: translateY(-3px) scale(1.015);
}
.feature-grid h3, .category-list h3 { color: var(--primary); }

/*-------------- WORKFLOW, STEPS --------------*/
.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  counter-reset: step;
  flex-direction: column;
}
.workflow-steps li {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px 18px 48px;
  box-shadow: 0 2px 8px rgba(57,82,64,0.06);
  margin-bottom: 8px;
  font-size: 1.03rem;
}
.workflow-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--green-accent);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat';
  font-size: 1.08rem;
  font-weight: 700;
}
@media (min-width: 700px) {
  .workflow-steps { flex-direction: row; }
  .workflow-steps li { flex: 1 1 210px; }
}

/*-------------- SUPPLIER LISTINGS --------------*/
.supplier-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.supplier-card {
  background: #fff;
  flex: 1 1 270px;
  min-width: 270px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(65,105,75,0.08);
  padding: 28px 26px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid var(--secondary);
}
.supplier-card h2 { font-size: 1.2rem; color: var(--primary); }
.supplier-card ul { margin-left: 10px; }
.supplier-card:hover {
  box-shadow: 0 7px 29px rgba(57,82,64,.13);
  transform: translateY(-3px) scale(1.01);
  border-left: 4px solid var(--green-accent);
}

/*-------------- FILTERS BAR (CATALOGO) --------------*/
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: #ece8df;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
}
.filters-bar label { font-weight: 600; font-size: 0.98rem; margin-right: 4px; font-family: 'Montserrat'; }
.filters-bar input[type=text] { max-width: 180px; background: #fff; border: 1px solid #C2B8A3; }
.filters-bar select { min-width: 95px; background: #fff; border: 1px solid #C2B8A3; }

/*-------------- BRIEFS & OPPORTUNITY CARDS --------------*/
.brief-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.brief-card {
  background: #fff;
  flex: 1 1 260px;
  min-width: 260px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(57,82,64,.07);
  padding: 22px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 10px;
  border-left: 4px solid var(--green-accent);
}
.brief-card h3 { margin-bottom: 4px; }

/*-------------- TESTIMONIALS & REVIEWS --------------*/
.testimonials-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 12px 0;
  justify-content: flex-start;
}
.review-list { display: flex; flex-wrap: wrap; gap: 24px; margin: 18px 0; }
.testimonial-card span {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.99rem;
  color: #2d3e29;
  font-style: italic;
  margin-top: 10px;
}
.star-rating-summary { color: #80613a; font-weight: 600; margin-top: 8px; }

/*-------------- CTA SECTION --------------*/
.cta-section {
  background: var(--green-accent);
  border-radius: 32px;
  margin-bottom: 0;
  color: #fff;
}
.cta-section h2 { color: #fff; margin-bottom: 18px; }
.cta-section .btn-primary { background: #fff; color: var(--green-accent); border-color: #fff; }
.cta-section .btn-primary:hover { background: #A47E5E; color: #fff; border-color: #A47E5E; }

/*-------------- FOOTER --------------*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  margin-top: 30px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 -5px 32px rgba(57,82,64,0.07);
}
footer .container { padding: 32px 20px 20px 20px; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #647b6b;
  padding-bottom: 20px;
}
.footer-logo img {
  width: 64px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px dotted #A47E5E;
  padding-bottom: 4px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--warning); }
.footer-contact {
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ececec;
}
.footer-contact img { vertical-align: middle; width: 20px; margin-right: 8px; filter: brightness(0) invert(1); }
.footer-bottom {
  text-align: center;
  padding: 18px 0 0 0;
  font-size: 0.97rem;
  color: #f1e8db;
  opacity: 0.86;
}

/*-------------- COOKIE CONSENT BANNER --------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #ece8df;
  color: #395240;
  box-shadow: 0 -4px 18px rgba(87,74,28,0.14);
  padding: 24px 24px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  transition: transform 0.32s;
}
.cookie-banner p {
  font-size: 1rem;
  flex: 2 1 320px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 auto;
  align-items: center;
}
.cookie-btn {
  background: var(--green-accent);
  color: #fff;
  font-family: 'Montserrat', Verdana, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 22px;
  margin-right: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn.settings { background: var(--secondary); }
.cookie-btn.reject { background: var(--danger); }
.cookie-btn:hover, .cookie-btn:focus { background: var(--warning); color: #395240; }

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(57,82,64,0.32);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 25px 28px 25px;
  max-width: 390px;
  width: 90vw;
  box-shadow: 0 4px 32px rgba(80, 62, 48, 0.16);
  color: #395240;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; }
.cookie-modal .category-toggle {
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-modal .toggle {
  appearance: none;
  width: 36px; height: 20px;
  background: #C2B8A3;
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
  outline: none;
  cursor: pointer;
}
.cookie-modal .toggle:checked {
  background: var(--green-accent);
}
.cookie-modal .toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-modal .toggle:checked::after { left: 18px; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { margin-right: 0; }

/*-------------- MISC ELEMENTS --------------*/
.client-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 18px 0 0 0;
}
.client-logos img {
  width: 60px;
  height: auto;
  background: #fff;
  border-radius: 10px;
}

/* FAQ Style */
.faq-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list dt {
  font-weight: 700;
  font-family: 'Montserrat';
  color: var(--primary);
  padding: 12px 0 5px 0;
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 6px;
  color: #3a3a3a;
  font-size: 1rem;
}

/*-------------- LINKS: A11Y --------------*/
a:focus-visible { outline: 2px solid #68A676; outline-offset: 1px; }

/*-------------- RESPONSIVE DESIGN (MOBILE-FIRST) --------------*/
@media (max-width: 900px) {
  .section, section {
    padding: 32px 8px;
    margin-bottom: 38px;
    border-radius: 16px;
  }
  .footer-top { flex-direction: column; gap: 24px; }
  .content-grid, .feature-grid, .category-list, .brief-cards, .supplier-listings, .testimonials-carousel, .review-list { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 600px) {
  .logo img { height: 36px; }
  .footer-logo img { width: 48px; }
  .hero-section { padding-top: 36px; padding-bottom: 32px; border-radius: 18px; }
}
/*------------- MICRO-INTERACTIONS & ANIMATIONS -------------*/
.btn, .btn-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.card, .feature-grid li, .category-list li, .supplier-card, .brief-card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover, .feature-grid li:hover, .category-list li:hover, .supplier-card:hover, .brief-card:hover,
.card:focus-within, .feature-grid li:focus-within, .category-list li:focus-within, .supplier-card:focus-within, .brief-card:focus-within {
  box-shadow: 0 7px 27px rgba(61,84,61,.12);
  transform: scale(1.02) translateY(-4px);
}

/* Organic shapes for cards: subtle and modern */
.card, .feature-grid li, .category-list li, .supplier-card, .brief-card, .testimonial-card {
  border-radius: 18px 26px 18px 24px / 18px 18px 24px 26px;
}

/* Scrollbar "organic" look */
::-webkit-scrollbar { width: 10px; background: #e6e0d0; }
::-webkit-scrollbar-thumb { background: #A47E5E; border-radius: 8px; }

/* Misc Utility for id spacing (never grid): ensure all content has at least 20px between */
.section, section, .card-container, .feature-grid, .category-list, .brief-cards, .supplier-listings, .testimonials-carousel, .review-list, .content-grid, .text-image-section {
  gap: 20px;
}
.card, .feature-grid li, .category-list li, .supplier-card, .brief-card, .testimonial-card {
  margin-bottom: 20px;
}

/* Confirmation Section */
.confirmation-section { background: #eaf0e7; border-radius: 18px; margin-bottom: 68px; }
.confirmation-section .btn-primary { background: var(--primary); color: #fff; }
.confirmation-section .btn-primary:hover { background: var(--green-accent); color: #fff; }

/* Hide cookie banner/modal when not active (toggle with .active via JS) */
.cookie-banner, .cookie-modal-overlay { transition: transform 0.3s, opacity 0.2s; }
.cookie-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }

/* Ensure no grid, absolute or column properties for layouts */
/* ----- END OF CSS FILE ----- */
