/* =============== CSS RESET (based on modern-normalize) =============== */
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;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFFFFF;
  color: #173359;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #00A3A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #173359;
  text-decoration: underline;
}

ul, ol { list-style-position: outside; margin-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: 0.5em; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Roboto', Arial, serif;
  font-weight: 700;
  color: #173359;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; letter-spacing: 0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p, address, blockquote, cite { font-size: 1rem; }

strong { font-weight: 700; }


/* =============== PLAYFUL_DYNAMIC BRAND COLORS =============== */
:root {
  --primary: #173359;
  --secondary: #00A3A6;
  --accent: #F3F7FA;
  --playful-1: #FFEA00;
  --playful-2: #FF7A5C;
  --playful-3: #38D9A9;
  --playful-4: #FED766;
  --text-dark: #173359;
  --text-light: #FFFFFF;
  --focus: #FFD166;
}


/* =============== Global Spacing and Layout =============== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 8px 28px 0 rgba(0,163,166,0.12);
  border-radius: 20px;
  background: var(--accent);
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 16px 32px 0 rgba(0,163,166,0.16);
  transform: translateY(-8px) scale(1.03);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(23,51,89,.11);
  margin-bottom: 20px;
  border: 2.5px solid var(--playful-2);
  max-width: 500px;
}
.testimonial-card .stars {
  color: var(--playful-2);
  font-size: 1.3rem;
}
.testimonial-card blockquote {
  font-family: 'Roboto Slab', serif;
  font-style: italic;
  margin: 0;
  color: var(--text-dark);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5;
}
.testimonial-card cite {
  margin-top: -8px;
  color: var(--secondary);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.feature-item, .features ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features ul li {
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  color: var(--primary);
  font-size: 1.05rem;
  padding: 12px 22px;
  margin-bottom: 18px;
  border-radius: 12px 6px 18px 6px;
  box-shadow: 0 2px 6px rgba(0,163,166,0.07);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}


/* =============== HEADER + NAVIGATION =============== */
header {
  background: var(--primary);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 18px 0 rgba(23,51,89,0.09);
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px 14px 20px;
}
.logo img {
  height: 48px;
  transition: filter 0.25s;
}
.logo:hover img {
  filter: brightness(0.85) drop-shadow(0 0 6px var(--playful-1));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 6px 10px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
  outline: 2px solid var(--focus);
}

.cta.primary {
  background: linear-gradient(90deg,var(--playful-1),var(--secondary));
  color: var(--primary)!important;
  font-weight: 900;
  font-family: 'Roboto Slab', serif;
  padding: 12px 24px;
  border-radius: 25px;
  margin-left: 30px;
  font-size: 1.06em;
  box-shadow: 0 4px 14px 0 rgba(253,108,72,0.13);
  border: 0;
  transition: box-shadow 0.22s, transform 0.13s, background 0.12s;
  cursor: pointer;
}
.cta.secondary {
  background: var(--playful-2);
  color: var(--text-light)!important;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1.05em;
  margin-left: 0px;
  border: 0;
  transition: box-shadow 0.22s, transform 0.13s, background 0.12s;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, var(--secondary), var(--playful-1));
  box-shadow: 0 8px 20px 0 rgba(0,163,166,.14);
  transform: translateY(-4px) scale(1.045);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: var(--playful-1)!important;
  box-shadow: 0 8px 20px 0 rgba(255,122,92,.22);
  transform: translateY(-4px) scale(1.025);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  border: none;
  color: var(--primary);
  font-size: 2.2em;
  cursor: pointer;
  border-radius: 12px;
  padding: 4px 16px 2px 16px;
  margin-left: 14px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 41;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--playful-1);
  box-shadow: 0 2px 10px #fed76678;
  outline: 2px solid var(--focus);
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 120;
  background: var(--primary);
  box-shadow: 0 0 120px 0 rgba(0,0,0,0.13);
  padding-top: 70px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.71,.02,.29,.98), opacity 0.30s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--playful-2);
  color: var(--text-light);
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 0 25px 22px 0;
  border-radius: 14px;
  padding: 4px 16px;
  cursor: pointer;
  box-shadow: 0 0px 8px rgba(253,108,72,0.15);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--playful-1);
  color: var(--primary);
  outline: 2px solid var(--playful-2);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 32px;
  margin-top: 16px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 800;
  padding: 9px 0 7px 8px;
  border-radius: 11px;
  background: none;
  transition: background 0.2s, color 0.2s;
  min-width: 130px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--playful-1);
  outline: 2px solid var(--focus);
}

/* Hide main nav, show hamburger on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =============== HERO SECTION (/) =============== */
.hero {
  min-height: 42vh;
  background: linear-gradient(130deg, var(--accent) 70%, var(--playful-1) 100%);
  border-radius: 0 0 45px 45px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 60px;
  padding: 40px 0 60px 0;
  animation: heroFadeIn 0.9s cubic-bezier(.98,.03,.47,.88);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.7em;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.hero p {
  color: var(--primary);
  font-size: 1.25em;
  margin-bottom: 26px;
}
.hero .cta.primary {
  margin-left: 0;
  margin-top: 8px;
}


/* =============== Services and Feature Cards =============== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  background: var(--playful-3);
  color: var(--text-light);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,163,166,0.13);
  padding: 32px 24px;
  flex: 1 1 250px;
  min-width: 210px;
  max-width: 345px;
  transition: box-shadow 0.19s, transform 0.14s;
  border: 2.5px solid var(--playful-4);
  position: relative;
  z-index: 1;
}
.service-card:hover {
  box-shadow: 0 7px 33px 0 rgba(0,163,166,0.20);
  transform: scale(1.028) translateY(-7px);
  background: var(--playful-2);
  color: var(--accent);
}
.service-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.35em;
  margin-bottom: 15px;
  color: #fff;
}
.service-card p {
  color: var(--accent);
  font-size: 1.05em;
  line-height: 1.35;
}

/* Services List Page */
.services-list ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.services-list li {
  background: var(--accent);
  border-radius: 20px;
  padding: 28px 28px;
  box-shadow: 0 4px 24px 0 rgba(0,163,166,0.10);
  margin-bottom: 20px;
  border-left: 8px solid var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.services-list li:hover {
  box-shadow: 0 8px 26px 0 rgba(0,163,166,0.17);
  transform: translateY(-6px) scale(1.016);
  border-left-color: var(--playful-2);
}
.services-list h2 {
  font-size: 1.35em;
  margin-bottom: 7px;
  color: var(--primary);
}
.services-list p {
  color: var(--primary);
}


/* =============== CTA and FINAL SECTIONS =============== */
.section.cta, .cta {
  background: var(--playful-1);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 2px 14px #f3f7fa45;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.section.cta h2, .cta h2, .section.cta p, .cta p {
  color: var(--primary);
}
.section.cta .cta.primary, .cta .cta.primary {
  margin-left: 0;
}


/* =============== LEGAL TEXT STYLES ==================== */
.legal .text-section {
  background: var(--accent);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 2px 8px 0 rgba(23,51,89,.09);
  margin-bottom: 16px;
}


/* =============== TEAM & ABOUT (sobre-nos.html) =============== */
.team .text-section,
.about .content-wrapper > ul {
  background: var(--playful-1);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 2px 8px 0 rgba(253,108,72,0.06);
}
.team ul li,
.about ul li {
  color: var(--primary);
}


/* =============== BOOKING FORM & CONTACT ====================== */
.booking-form, .contact-form, .contact, .map, .info {
  background: var(--accent);
  border-radius: 18px;
  margin-bottom: 44px;
  box-shadow: 0 4px 18px rgba(0,163,166,0.07);
  padding: 32px 0;
}

address {
  font-style: normal;
  color: var(--primary);
  font-size: 1.08em;
  margin-bottom: 18px;
}
address p {
  margin-bottom: 7px;
}


/* =============== FOOTER =============== */
footer {
  background: var(--primary);
  color: var(--accent);
  font-size: 1em;
  padding: 44px 0 18px 0;
  margin-top: 40px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 20px rgba(23,51,89,0.09);
}
.footer-content {
  display: flex;
  flex-direction: row;
  gap: 46px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 0 0 0;
}
.footer-content > div, .footer-links, .footer-legal {
  flex: 1 1 180px;
}
footer img {
  height: 40px;
  margin-bottom: 11px;
}
.footer-links h3, .footer-legal h3 {
  margin-bottom: 12px;
  color: var(--playful-1);
  font-size: 1.08em;
  font-weight: 700;
}
.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-links a, .footer-legal a {
  color: var(--accent);
  font-size: 1em;
  border-radius: 8px;
  padding: 3px 4px 3px 0;
  transition: color .15s, background .18s;
}
.footer-links a:hover,.footer-legal a:hover {
  color: var(--playful-1);
  background: var(--playful-2);
}
footer p, footer a {
  color: var(--accent);
  font-size: 1em;
}


/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 10px 24px 10px;
  box-shadow: 0 -2px 30px rgba(0,163,166,.09);
  font-size: 1.1em;
  animation: bannerDropIn 0.46s;
}
@keyframes bannerDropIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--playful-1);
  color: var(--primary);
  border: none;
  font-weight: 700;
  font-size: 1em;
  margin-left: 10px;
  padding: 10px 22px;
  border-radius: 22px;
  box-shadow: 0 1px 8px rgba(253,108,72,0.10);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--playful-2);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--playful-3);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--playful-4);
  color: var(--primary);
}

/* =============== COOKIE MODAL =============== */
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 60px) scale(0.97);
  background: #fff;
  color: var(--primary);
  border-radius: 23px;
  box-shadow: 0 8px 48px rgba(23,51,89,.17);
  z-index: 1000;
  min-width: 320px;
  max-width: 95vw;
  padding: 38px 30px 32px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.24s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  margin-bottom: 5px;
  color: var(--secondary);
  font-size: 1.22em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-toggle {
  accent-color: var(--playful-2);
  width: 22px; height: 22px;
}
.cookie-category label {
  font-size: 1.07em;
}
.cookie-category.essential label {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline wavy var(--playful-1) 1.8px;
}
.cookie-category.essential .cookie-toggle { opacity: 0.45; pointer-events: none; }
.cookie-modal .cookie-btn {
  margin-top: 10px;
  margin-left: 0;
  min-width: 120px;
}
.cookie-modal .cookie-btn:last-child { margin-top: 0; }
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 21px;
  background: none;
  border: none;
  font-size: 1.89em;
  color: var(--playful-2);
  cursor: pointer;
  z-index: 3;
  transition: color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
}

/* =============== CONFIRMATION/OBRIGADO PAGE =============== */
.confirmation {
  min-height: 43vh;
  background: linear-gradient(140deg, var(--accent) 60%, var(--playful-4) 100%);
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 3px 18px rgba(253,108,72,0.07);
  animation: heroFadeIn 0.8s cubic-bezier(.78,.1,.3,.97);
}
.confirmation h1 {
  color: var(--secondary);
}
.confirmation p {
  color: var(--primary);
}

/* =============== ANIMATIONS & MICRO-INTERACTIONS =============== */
button, .cta, .cookie-btn {
  transition: background 0.13s, color 0.14s, box-shadow 0.15s, transform 0.10s;
  outline: none;
}

/* Fun, playful bounce on focus/active for buttons */
.cta:active, .cookie-btn:active, .cookie-modal-close:active {
  transform: scale(0.96) translateY(1.5px);
}

/* =============== PLAYFUL FONTS =============== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700;900&family=Roboto:wght@400;700&display=swap');


/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .footer-content {
    flex-direction: column;
    gap: 26px;
  }
}

@media (max-width: 768px) {
  .content-wrapper,
  .footer-content,
  .card-container,
  .service-cards,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .section, .section.cta, .cta, .hero, .booking-form, .contact-form, .contact, .map, .info {
    padding: 28px 4px;
    border-radius: 13px;
    margin-bottom: 32px;
  }
  .service-card, .card, .testimonial-card, .booking-form,
  .contact-form, .confirmation, .team .text-section, .about .content-wrapper > ul {
    min-width: 90%;
    padding: 21px 12px;
  }
  h1 { font-size: 2em; }
  h2 { font-size: 1.4em; }
  header .container {
    gap: 8px;
    padding: 10px 6px 10px 10px;
  }
  .cta.primary, .cta.secondary, .cookie-banner .cookie-btn {
    font-size: 0.98em;
    padding: 10px 16px;
  }
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 6vw 19px 6vw;
    min-width: 1px;
  }
  .service-card, .testimonial-card {
    padding: 15px 6px;
    min-width: 92vw;
    max-width: 99vw;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 18px 0 30px 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* Prevent content overlap everywhere */
main > section, .section, .card, .testimonial-card {
  margin-bottom: 32px;
}

/* ==== Scrollbar Styling for Playful Dynamic Theme ==== */
body::-webkit-scrollbar {
  width: 12px;
  background: var(--accent);
}
body::-webkit-scrollbar-thumb {
  background: var(--playful-3);
  border-radius: 6px;
  border: 2.5px solid var(--accent);
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--playful-2);
}

/* =============== ACCESSIBILITY FOCUS RINGS =============== */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, input:focus, textarea:focus {
  outline: 2.5px solid var(--focus);
  outline-offset: 2.5px;
  background: #FFFEE6;
}

/* =============== SIMPLE UTILITY CLASSES =============== */
.mb-0 { margin-bottom: 0px !important; }
.mt-0 { margin-top: 0px !important; }
.hidden { display: none !important; }

/* =============== END OF CSS =============== */
