/* ============================
   CSS RESET & BASE TYPOGRAPHY
   ============================ */

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,
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; background: #F7F9FC; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1A2331;
  background: #F7F9FC;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; vertical-align: middle; height: auto; }
ul, ol { list-style: none; }
a {
  color: #16325C;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus { color: #3A7A4D; outline: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  color: #16325C;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
.subtitle { font-size: 1.125rem; color: #3A7A4D; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; margin-top: -10px; margin-bottom: 20px; }
strong { font-weight: 700; }

/* ============================
   CONTAINER & LAYOUT
   ============================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(22,50,92,0.04), 0 1.5px 6px rgba(58,122,77,.03);
}

@media (max-width: 768px) {
  .section { padding: 28px 10px; margin-bottom: 32px; border-radius: 8px; }
  .container { padding-left: 10px; padding-right: 10px; }
}

/* ============================
   HEADER & NAVIGATION
   ============================ */

header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(22,50,92,0.03);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #16325C;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #3A7A4D;
}
.btn-primary {
  background: #16325C;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  margin-left: 20px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(22,50,92,0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3A7A4D;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 20px 0 rgba(58, 122, 77, 0.12);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #16325C;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  padding: 7px 7px;
  margin-left: 18px;
  border-radius: 5px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #3A7A4D;
  background: #e8e3d935;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
  }
  .btn-primary { margin-left: 10px; padding: 11px 20px; font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================
   MOBILE MENU
   ============================ */

.mobile-menu {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(22,50,92,0.94);
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.8,.03,.29,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 19px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  padding: 5px;
  transition: background 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #3A7A4D;
  color: #fff;
  outline: none;
}
.mobile-nav {
  margin-top: 90px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 9px 0 9px 5px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  width: fit-content;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #3A7A4D;
  color: #fff;
}
@media (max-width: 900px) {
  .mobile-menu { display: flex; }
}

/* ============================
   HERO & PAGE SECTIONS
   ============================ */

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px rgba(22,50,92,0.035);
}
section:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  section { padding: 24px 6px; margin-bottom: 26px; border-radius: 7px; }
}

/* ============================
   CARD, GRID, FLEX LAYOUTS
   ============================ */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 14px 0 rgba(22,50,92,0.055);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 22px 18px 22px;
  min-width: 240px;
  transition: box-shadow .23s, transform .13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(58,122,77,0.11);
  transform: translateY(-2px) scale(1.018);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.content-grid > * {
  flex: 1 1 340px;
  min-width: 300px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #F7F9FC;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px rgba(22,50,92,.08);
  margin-bottom: 26px;
  border: 1.5px solid #e8e3d9;
  transition: box-shadow 0.18s;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card p {
  color: #1A2331;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card .client {
  color: #16325C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card .rating {
  color: #3A7A4D;
  font-size: 1.11rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 800px) {
  .card-container, .content-grid, .feature-list, .service-list, .service-highlights {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid > * {
    min-width: 90%;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ============================
   FEATURE & SERVICE LISTS
   ============================ */

.feature-list, .service-list, .service-highlights, .highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
  align-items: stretch;
}
.feature-list li, .service-list li, .service-highlights li, .highlight-list li {
  background: #F7F9FC;
  padding: 17px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(22,50,92,0.05);
  font-size: 1rem;
  color: #1A2331;
  flex: 1 1 188px;
  min-width: 188px;
  margin-bottom: 0;
  margin-right: 0;
  transition: background .18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li img, .vehicle-features li img {
  height: 28px;
  width: 28px;
  margin-bottom: 6px;
}

.vehicle-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.vehicle-categories li {
  background: #e8e3d9;
  color: #16325C;
  padding: 15px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-width: 180px;
  flex: 1 1 180px;
  margin-bottom: 0;
}
.vehicle-features {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 14px;
}
.vehicle-features li {
  background: #F7F9FC;
  border-radius: 7px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 90px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ============================
   SERVICE GRID (servicos.html)
   ============================ */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.service-card {
  background: #F7F9FC;
  border-radius: 10px;
  box-shadow: 0 1.5px 9px rgba(22,50,92,0.04);
  padding: 24px 18px 20px 18px;
  flex: 1 1 300px;
  min-width: 260px;
  margin-bottom: 0;
  position: relative;
  border: 1.5px solid #E8E3D9;
  transition: box-shadow 0.17s, transform .17s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 7px 18px 0 rgba(22,50,92,.09);
  transform: translateY(-2px) scale(1.018);
}
@media (max-width: 900px) {
  .service-grid { flex-direction: column; gap: 16px; }
  .service-card { min-width: 98%; }
}

/* ============================
   AWARDS & BADGES
   ============================ */
.awards {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.award {
  background: #E8E3D9;
  color: #16325C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 15px;
}

/* ============================
   TEXT, FAQ & STEPS FORMATTING
   ============================ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}
.faq-list dt {
  font-weight: 700;
  color: #16325C;
  margin-top: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.faq-list dd {
  margin-left: 8px;
  color: #1A2331;
  padding-bottom: 6px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 0;
}
.steps li {
  font-size: 1rem;
  background: #E8E3D9;
  color: #16325C;
  padding: 10px 16px;
  border-radius: 7px;
}
.confirmation {
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3A7A4D;
  margin-bottom: 13px;
  font-weight: 600;
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .container, .section { padding-left: 7px; padding-right: 7px; }
}

/* ============================
   FOOTER
   ============================ */
footer {
  background: #16325C;
  color: #fff;
  padding: 40px 0 18px 0;
  box-shadow: 0 -3px 12px rgba(22,50,92,0.045);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-logo img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #E8E3D9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #3A7A4D;
}
.footer-contact {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #e8e3d9dc;
  line-height: 1.5;
}
.footer-contact a {
  color: #3A7A4D;
  text-decoration: underline;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}

/* ============================
   BUTTONS & LINKS
   ============================ */
button, .btn-primary, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.14s;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  border: 1.5px solid #E8E3D9;
  padding: 10px 12px;
}

/* BUTTON VARIANTS for cookie banner and settings */
.btn-secondary {
  background: #f7f9fc;
  color: #16325C;
  border: 1.3px solid #3A7A4D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 22px;
  margin-right: 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #3A7A4D;
  color: #fff;
  outline: none;
}
.btn-tertiary {
  background: #fff;
  color: #3A7A4D;
  border: 1.3px solid #e8e3d9;
  padding: 11px 15px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #e8e3d9;
  color: #16325C;
  outline: none;
}

/* ============================
   RESPONSIVE UTILITIES
   ============================ */

@media (max-width: 768px) {
  .container, .footer .container, .content-wrapper {
    padding-left: 0; padding-right: 0;
  }
  .main-nav { display: none; }
}

/* ============================
   COOKIE CONSENT BANNER
   ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 9999;
  background: #16325C;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(22,50,92,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 20px 16px;
  gap: 24px;
  font-size: 1rem;
  transition: bottom 0.35s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  bottom: -160px;
}
.cookie-banner-text {
  flex: 1 1 0px;
  font-size: 1rem;
  color: #fff;
  max-width: 520px;
  padding-right: 15px;
}
.cookie-banner-btns {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
  align-items: center;
}
@media (max-width: 730px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .cookie-banner-text { padding-right: 0; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(22,50,92,0.60);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}

.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #16325C;
  max-width: 410px;
  width: 92vw;
  border-radius: 9px;
  box-shadow: 0 6px 50px 0 rgba(22,50,92,0.19);
  padding: 27px 22px 21px 22px;
  z-index: 10020;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.33s cubic-bezier(.87,-0.32,.22,1.38);
}
@keyframes modalIn {
  0% { transform: scale(.91) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #3A7A4D;
  width: 1.1em;
  height: 1.1em;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  color: #16325C;
}
.cookie-category .category-desc {
  font-size: 0.92rem;
  opacity: 0.65;
  margin-left: 2px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}
@media (max-width: 400px) {
  .cookie-modal { padding: 14px 4vw; }
}

/* ============================
   UTILITIES
   ============================ */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mr-8 { margin-right: 8px; }

/* ============================
   CUSTOM SCROLLBARS (Webkit)
   ============================ */
::-webkit-scrollbar {
  width: 10px; background: #E8E3D9;
}
::-webkit-scrollbar-thumb {
  background: #16325C;
  border-radius: 8px;
}

/* ============================
   FOCUS ACCESSIBILITY
   ============================ */
a:focus, button:focus, input:focus, textarea:focus, .btn-primary:focus {
  outline: 2px solid #3A7A4D;
  outline-offset: 2px;
}

/* ============================
   ANIMATIONS & MICROINTERACTIONS
   ============================ */
.btn-primary, .btn-secondary, .btn-tertiary, .card, .service-card, .testimonial-card {
  transition: box-shadow 0.18s, color 0.16s, background 0.23s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px 0 rgba(58,122,77,0.12);
  transform: translateY(-2px) scale(1.01);
}
.feature-list li:hover, .service-list li:hover {
  background: #e8e3d985;
}

/* ============================
   PRINT STYLES
   ============================ */
@media print {
  header, footer, .btn-primary, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; color: #000; }
}

/* ============================
   END OF STYLE.CSS
   ============================ */
