/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F3ECE7;
  color: #38221B;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #8C4733;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C85C24;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
li {
  margin-bottom: 0.5em;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #52241C;
  margin-bottom: 18px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4, h5, h6 { font-size: 1rem; }
strong { color: #8C4733; }

.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #C85C24;
  margin-bottom: 16px;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* --- HEADER --- */
header {
  background: #F7C59F;
  border-bottom: 4px solid #8C4733;
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  min-height: 80px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
  color: #8C4733;
}
header nav a:hover, header nav a:focus {
  background: #8C4733;
  color: #fff;
}
header img[alt="Doce Forno Express"],
header img[alt="Doce Forno Express Logo"] {
  height: 50px;
  width: auto;
  display: block;
}

.btn-primary {
  background: #8C4733;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 64px 64px 44px 44px / 52px 42px 64px 38px;
  box-shadow: 0 2px 8px rgba(54,34,27,0.09);
  margin-left: 15px;
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.22s, transform 0.18s, box-shadow 0.25s;
  outline: none;
  display: inline-block;
  position: relative;
}
.btn-primary:after {
  content: '';
  position: absolute;
  right: 16px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #F7C59F;
  opacity: 0.6;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C85C24;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 24px rgba(150,68,24,0.16);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  background: #8C4733;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 7px rgba(80,30,10,0.05);
  z-index: 300;
}
.mobile-menu-toggle:focus {
  background: #C85C24;
  outline: 2px solid #52241C;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 330px;
  min-width: 220px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 23px 2px rgba(120,60,30,0.10);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.76,.02,.26,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.2rem;
  background: #F7C59F;
  color: #8C4733;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
  z-index: 100001;
}
.mobile-menu-close:focus {
  outline: 2px solid #8C4733;
  background: #F7C59F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #8C4733;
  padding: 12px 0 12px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7C59F;
  color: #C85C24;
}
@media (max-width: 1020px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav, header .btn-primary {
    display: flex !important;
  }
}

/* --- MAIN SECTIONS / SPACING / CREATIVE LAYOUT --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 24px 0 rgba(240, 106, 81, 0.07), 0 1.5px 9px 0 rgba(139, 70, 51, .05);
  position: relative;
  overflow: visible;
}
main > section:first-child {
  background: linear-gradient(127deg, #F7C59F 75%, #f5be81 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: none;
  padding-top: 48px;
  min-height: 300px;
}
.text-section {
  max-width: 700px;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  width: 100%;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 330px;
  background: #F3ECE7;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(140,71,51,0.07);
  padding: 26px 20px 16px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.15s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.features-grid > div:hover {
  box-shadow: 0 8px 28px rgba(140,71,51,0.16);
  transform: translateY(-2px) scale(1.02);
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(255,180,75,0.08));
}
.features-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #C85C24;
}
.features-grid p {
  font-size: 1rem;
  color: #52241C;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px rgba(140,71,51,0.10);
  padding: 30px 22px;
  transition: box-shadow 0.15s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(200,92,36,0.18);
  transform: scale(1.017);
}
.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;
}
@media (max-width: 768px) {
  .features-grid, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  section {
    padding: 30px 6vw;
    margin-bottom: 36px;
  }
}

/* --- TESTIMONIALS & CARDS --- */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fffbe8;
  border-radius: 23px;
  box-shadow: 0 4px 30px rgba(247,197,159,0.14);
  border: 1.5px solid #f3dfb7;
  padding: 20px 24px 20px 32px;
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
  max-width: 600px;
  color: #38221B;
  font-size: 1.07rem;
  transition: box-shadow 0.15s, transform 0.22s;
}
.testimonial-card::before {
  content: '\201C';
  color: #F7C59F;
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 2.9rem;
  font-family: 'Montserrat', cursive, sans-serif;
  opacity: 0.33;
  line-height: 1;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(140,71,51,0.12);
  transform: translateY(-2px) scale(1.011);
}
.testimonial-card span {
  color: #8C4733;
  font-size: 1rem;
}
.star-rating {
  color: #F7C59F;
  font-size: 1.3rem;
  letter-spacing: 1px;
  padding-top: 2px;
}
.review-summary {
  margin-top: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #C85C24;
  font-weight: 600;
  font-size: 1.17rem;
}

/* --- FOOTER --- */
footer {
  background: #FFF9F2;
  border-top: 3px solid #F7C59F;
  font-size: 0.97rem;
  margin-top: 44px;
}
footer .container {
  padding: 38px 22px 26px 22px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #8C4733;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0 0 0 0;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #C85C24;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  color: #52241C;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 7px;
}
footer img[alt="Doce Forno Express Logo"] {
  height: 42px;
  width: auto;
  margin-bottom: 0.5em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- MAP & EMBED --- */
.map-embed {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f9f3ec;
  border-radius: 13px;
  padding: 22px 14px;
}

/* --- FAQ / CARD SECTIONS --- */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.faq-list > div {
  background: #fff;
  border: 1.7px dashed #F7C59F;
  border-radius: 18px;
  padding: 22px 19px;
  box-shadow: 0 2px 12px 0 rgba(140,71,51,0.07);
  flex: 1 1 230px;
  min-width: 180px;
  margin-bottom: 20px;
}
.faq-list h3 {
  color: #C85C24;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* --- MISC --- */
ul li {
  margin-bottom: 8px;
}
ol li {
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #8C4733;
}
div[role='alert'] {
  color: #C85C24;
  background: #fff5e4;
  padding: 18px 26px;
  border-radius: 18px;
  font-size: 1.07rem;
  margin: 16px 0;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(110px);
  width: calc(98vw - 44px);
  max-width: 480px;
  background: #fffbe8;
  color: #38221B;
  box-shadow: 0 10px 44px rgba(78,51,27,0.18);
  border-radius: 22px;
  border: 2px solid #F7C59F;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 20px 28px;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.35s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner h4 {
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #C85C24;
  margin-bottom: 7px;
}
.cookie-banner p {
  font-size: 0.94rem;
  color: #52241C;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  margin-top: 7px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(140,71,51,0.06);
  padding: 9px 22px;
  font-weight: bold;
  border: none;
  outline: none;
  margin-right: 4px;
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
.cookie-accept {
  background: #8C4733;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #C85C24;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #8C4733;
  border: 2px solid #F7C59F;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F7C59F;
  color: #52241C;
}
.cookie-settings {
  background: #F7C59F;
  color: #8C4733;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fffbe8;
  color: #C85C24;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 1000000;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(0.92);
  width: 93vw;
  max-width: 420px;
  background: #fffbe8;
  color: #38221B;
  border-radius: 20px;
  box-shadow: 0 8px 34px rgba(55,29,12,0.18);
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.36s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h4 {
  color: #C85C24;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F7C59F;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 2px rgba(120,60,30,0.09);
}
.cookie-toggle:checked {
  background: #8C4733;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 100%;
  transition: left 0.18s;
  box-shadow: 0 1px 5px rgba(175,100,30,0.06);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  font-size: 1rem;
}
.cookie-modal .cookie-accept {
  background: #8C4733;
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  background: #F7C59F;
  color: #8C4733;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fffbe8;
  color: #C85C24;
}

/* --- VISUAL CREATIVE/ARTISTIC ELEMENTS --- */
section, .card, .testimonial-card, .faq-list > div, .features-grid > div {
  border-radius: 30px 80px 31px 36px/55px 39px 42px 36px;
}
section {
  border-style: solid;
  border-width: 1.5px 3px 2.4px 1.7px;
  border-color: #fff #F3ECE7 #F7C59F #fff;
  box-shadow: 0 4px 18px rgba(247,197,159,0.15), 0 0.5px 2px rgba(140,71,51,0.10);
}

.features-grid > div {
  border-top: 4px dotted #F7C59F;
  border-bottom: 4px dotted #C85C24;
}

.card, .testimonial-card, .faq-list > div {
  background-image:
    repeating-linear-gradient(135deg, rgba(247,197,159,0.12) 0 8px, transparent 8px 16px),
    linear-gradient(99deg, #fff 70%, #f7efea 100%);
}

/* --- UTILITIES & SPACING --- */
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.pt-2 { padding-top: 16px !important; }
.pb-2 { padding-bottom: 16px !important; }
.pt-3 { padding-top: 24px !important; }
.pb-3 { padding-bottom: 24px !important; }

/* --- TYPOGRAPHY HIERARCHY --- */
.display-fancy {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.8rem;
  color: #C85C24;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px #f7c59f33;
}
h1, .display-fancy {
  text-transform: none;
  letter-spacing: -.01em;
}
h2 {
  color: #8C4733;
}
h3 {
  color: #DC8930;
}

@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .display-fancy { font-size: 2rem; }
  .container { padding: 0 5vw; }
  section { padding: 17vw 4vw 9vw; }
}

/* --- SCROLLBAR STYLE --- */
html {
  scrollbar-color: #F7C59F #fff;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #F7C59F;
  border-radius: 8px;
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .testimonial-card, .features-grid > div, .faq-list > div, .btn-primary,
.cookie-banner, .cookie-modal, .cookie-accept, .cookie-reject, .cookie-settings {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, transform 0.17s;
}
.btn-primary, .cookie-accept, .cookie-reject, .cookie-settings {
  transition: background 0.13s, color 0.16s, box-shadow 0.19s, transform 0.11s;
}
.mobile-menu, .cookie-modal, .cookie-banner {
  will-change: transform, opacity;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2.5px solid #8C4733;
  outline-offset: 3px;
}

/* Hide for screenreaders but keep for layout */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px);
}

/* --- CUSTOM FONT EMBED --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600,700&display=swap');

/* --- END OF CSS --- */
