/* ================================
   Lago do Crepúsculo Rent-a-Car
   TECH_FUTURISTIC STYLE CSS
   ================================ */

/* --- CSS Reset & 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #131924;
  color: #F3EFEF;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: inline-block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  box-sizing: border-box;
  background: none;
  border: none;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ===================
   BRAND VARIABLES
   =================== */
:root {
  --color-primary: #1A2331;
  --color-secondary: #40798C;
  --color-accent: #F3EFEF;
  --color-bg: #131924;
  --color-neon-blue: #18D1FF;
  --color-neon-green: #54FFC7;
  --color-neon-purple: #8053FF;
  --color-danger: #FF3672;
  --color-darkest: #13161E;
  --shadow-main: 0 2px 12px 0 rgba(24,209,255,0.14), 0 4px 44px 0 rgba(128,83,255, 0.07);
  --font-heading: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===================
   LAYOUT CONTAINERS
   =================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Mandatory section spacing and card patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-primary);
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow-main);
  position: relative;
  padding: 32px 24px;
  color: var(--color-accent);
  flex: 1 1 280px;
  transition: box-shadow .3s cubic-bezier(.33,1,.68,1), transform .3s cubic-bezier(.33,1,.68,1);
}
.card:hover {
  box-shadow: 0 0 0 2px var(--color-neon-blue), 0 8px 40px rgba(84,255,199,0.14);
  transform: translateY(-4px) scale(1.025);
}
.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: var(--color-accent);
  color: #1A2331;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(24,209,255,0.09);
  margin-bottom: 20px;
  transition: box-shadow .25s cubic-bezier(.33,1,.68,1), transform .22s;
}
.testimonial-card:hover {
  box-shadow: 0 0 0 2px var(--color-neon-blue), 0 6px 40px rgba(128,83,255,0.11);
  transform: scale(1.023);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===================
   HEADER & NAVIGATION
   =================== */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 24px 0 rgba(24,209,255,0.10);
  z-index: 30;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 68px;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--color-accent);
  font-size: 16px;
  position: relative;
  --neon-shine: var(--color-neon-blue);
  transition: color .16s;
}
header nav a:after {
  content: '';
  display: block;
  margin-top: 1px;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg,var(--color-neon-blue) 50%,var(--color-neon-purple) 100%);
  border-radius: 4px;
  transition: width .22s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-neon-blue);
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}

/* CTA primary button in header */
.btn-primary {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing:.04em;
  color: var(--color-primary);
  background: linear-gradient(90deg,var(--color-neon-blue) 0%,var(--color-neon-green) 100%);
  border-radius: 30px;
  padding: 10px 38px;
  margin-left: 10px;
  box-shadow: 0 0 0 0 var(--color-neon-blue);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.16s, transform 0.14s, background .17s;
  outline: none;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 0 0 2.5px var(--color-neon-blue), 0 6px 36px 0 rgba(84,255,199,0.21);
  background: linear-gradient(90deg,var(--color-neon-green),var(--color-neon-blue));
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-neon-blue);
  background: transparent;
  border: 2px solid var(--color-neon-blue);
  border-radius: 28px;
  padding: 9px 35px;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.13s linear, color 0.16s, border .14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-neon-blue);
  color: var(--color-primary);
  border-color: var(--color-neon-green);
}

/* ===================
   TYPOGRAPHY & COLORS
   =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-shadow: 0 2px 18px rgba(128,83,255,0.10);
  color: var(--color-accent);
  letter-spacing: .01em;
}
h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
p, li, dl, dd {
  font-family: var(--font-body);
  font-size: 1.07rem;
  line-height: 1.65;
  color: var(--color-accent);
}
p {
  margin-bottom: 6px;
}
blockquote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 4px;
}
cite {
  color: var(--color-secondary);
  font-size: .97rem;
  font-style: normal;
  font-family: var(--font-body);
}

/* =============================
   ICONS IN LISTS AND FEATURES
   ============================= */
ul li img, .feature-item img, li img {
  height: 32px;
  width: 32px;
  margin-right: 13px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px var(--color-neon-blue));
}
ul li, .feature-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-accent);
}
/* Icon only list items at start */
ul li:last-child {
  margin-bottom: 0;
}

/* =============================
   TABLES
   ============================= */
table th, table td {
  padding: 14px 12px;
  font-size: 1rem;
  text-align: left;
}
table thead tr {
  background: var(--color-secondary);
  color: var(--color-accent);
}
table tbody tr {
  background: var(--color-primary);
  border-bottom: 1px solid #2A3243;
  transition: background .14s;
}
table tbody tr:hover {
  background: rgba(24,209,255,0.07);
}
table th {
  font-family: var(--font-heading);
  font-size: 1.11rem;
  font-weight: 700;
}
table td {
  font-family: var(--font-body);
}

/* =============================
  MAIN & SECTION STYLE
  ============================= */
main {
  flex: 1;
  background: var(--color-bg);
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--color-primary);
  border-top: 1px solid #23314a;
  padding: 36px 0 16px 0;
  color: var(--color-accent);
  box-shadow: 0 -2px 18px rgba(24,209,255,0.07);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-size: .99rem;
  opacity: .8;
  transition: color .14s, opacity .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-neon-blue);
  opacity: 1;
}
footer p {
  font-size: .90rem;
  color: #b6c6d4;
  margin: 0;
}

/* ============
   RESPONSIVE
   ============ */
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  .card { padding: 20px 12px; }
  section { padding: 35px 0; }
}
@media (max-width: 768px) {
  header .container { flex-direction: column; align-items: flex-start; gap: 15px; }
  header nav { gap: 16px; font-size: 15px; }
  .container { padding: 0 7px; }
  .section { padding: 28px 7px; margin-bottom: 40px; }
  .card-container, .content-grid, .text-image-section { flex-direction: column; gap: 17px; }
  .testimonial-card { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary, .btn-secondary { font-size: 14px; padding: 9px 18px; }
  .card { padding: 13px 7px; }
  section { padding: 28px 0; }
  footer { padding: 24px 0 12px 0; }
}

/* ================================
   MOBILE NAVIGATION & BURGER MENU
   ================================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 220;
  padding: 11px 16px;
  background: linear-gradient(90deg,var(--color-neon-blue),var(--color-neon-green));
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(24,209,255,0.23);
  transition: box-shadow .18s, background .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-neon-green);
  color: var(--color-primary);
  box-shadow: 0 4px 24px var(--color-neon-green);
}
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,35,49,0.96);
  z-index: 300;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-110vw);
  transition: opacity .24s cubic-bezier(.22,.7,.37,1), transform .32s cubic-bezier(.21,.85,.44,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--color-neon-blue);
  cursor: pointer;
  border-radius: 6px;
  padding: 7px 13px;
  transition: background .14s, color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-darkest);
  color: var(--color-neon-green);
}
.mobile-nav {
  margin-top: 44px;
  display: flex;
  flex-direction: column; 
  gap: 20px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.19rem;
  padding: 11px 0;
  width: 100%;
  display: block;
  border-radius: 8px;
  letter-spacing: .01em;
  position: relative;
  transition: background .17s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: linear-gradient(90deg,var(--color-neon-blue) 30%,var(--color-neon-green) 100%);
  color: var(--color-primary);
}
@media (max-width: 900px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====================================
   COOKIE CONSENT BANNER & PREFERENCES
   ==================================== */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  position: fixed;
  width: 100vw;
  left: 0;
  bottom: 0;
  background: rgba(19,25,36,.95);
  color: var(--color-accent);
  z-index: 400;
  box-shadow: 0 -2px 20px 0 rgba(24,209,255,0.11);
  padding: 18px 30px;
  transition: transform .25s cubic-bezier(.62,.31,.54,.97), opacity .21s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 1rem;
  flex: 1 1 55%;
  color: var(--color-accent);
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-btns .cookie-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 22px;
  box-shadow: 0 0 0 0 var(--color-neon-blue);
  border: none;
  cursor: pointer;
  transition: background .13s, color .16s, box-shadow .14s;
  outline: none;
}
.cookie-btns .cookie-accept {
  background: linear-gradient(90deg,var(--color-neon-blue),var(--color-neon-green));
  color: var(--color-primary);
}
.cookie-btns .cookie-accept:hover, .cookie-btns .cookie-accept:focus {
  background: linear-gradient(90deg,var(--color-neon-green),var(--color-neon-blue));
}
.cookie-btns .cookie-reject {
  background: transparent;
  border: 2px solid var(--color-neon-blue);
  color: var(--color-neon-blue);
}
.cookie-btns .cookie-reject:hover, .cookie-btns .cookie-reject:focus {
  background: var(--color-neon-blue);
  color: var(--color-primary);
}
.cookie-btns .cookie-settings {
  background: transparent;
  border: 2px solid var(--color-neon-purple);
  color: var(--color-neon-purple);
}
.cookie-btns .cookie-settings:hover, .cookie-btns .cookie-settings:focus {
  background: var(--color-neon-purple);
  color: var(--color-primary);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  z-index: 410;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,35,49,.89);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--color-primary);
  width: 94vw;
  max-width: 410px;
  border-radius: 16px;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 6px 40px 0 rgba(24,209,255,0.20), 0 2px 32px 0 rgba(128,83,255,0.12);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  z-index: 420;
  transform: translateY(60px) scale(.99);
  transition: transform .18s cubic-bezier(.32,.92,.43,1.24);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.cookie-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-neon-blue);
  margin-bottom: 3px;
}
.cookie-modal-close {
  font-size: 1.35rem;
  background: transparent;
  border: none;
  color: var(--color-neon-blue);
  border-radius: 40%;
  cursor: pointer;
  padding: 2px 7px;
  transition: background .16s, color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-darkest);
  color: var(--color-neon-purple);
}
.cookie-categories {
  margin: 12px 0 13px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-size: 1.01rem;
}
/* Custom switches for toggles */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 0;
  right: 0;
  bottom: 2px;
  background: #344158;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(24,209,255,0.12);
  transition: background .15s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: linear-gradient(90deg,var(--color-neon-blue),var(--color-neon-green));
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: transform .17s;
  box-shadow: 0 1px 2px rgba(24,209,255,0.18);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.56;
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-modal-save {
  background: linear-gradient(90deg,var(--color-neon-green),var(--color-neon-blue));
  color: var(--color-primary);
  border-radius: 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.06rem;
  padding: 8px 19px;
  border: none;
  cursor: pointer;
  transition: background .18s, color .12s;
}
.cookie-modal-actions .cookie-modal-save:hover,
.cookie-modal-actions .cookie-modal-save:focus {
  background: linear-gradient(90deg,var(--color-neon-blue),var(--color-neon-green));
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 10px;
  }
  .cookie-banner p {
    font-size: .96rem;
    margin-bottom: 8px;
  }
  .cookie-btns {
    gap: 7px;
  }
  .cookie-modal {
    padding: 25px 6vw 19px 6vw;
  }
}

/* ================
   MICRO-INTERACTIONS
   ================ */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-modal-save {
  transition: color .15s, background .2s, border .18s, box-shadow .18s, transform .14s;
}

/* ============================
   FORM ELEMENTS (if present)
   ============================ */
input, textarea, select {
  background: #202D41;
  color: var(--color-accent);
  border-radius: 7px;
  padding: 9px 12px;
  border: 1.5px solid #23314a;
  margin-bottom: 12px;
  font-size: 1rem;
  box-shadow: 0 1px 3.5px rgba(24,209,255,0.06);
  transition: border .15s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--color-neon-blue);
  background: #18243a;
  outline: none;
}
label {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  margin-bottom: 5px;
  color: var(--color-accent);
  display: block;
}

/* ===================
   DL (FAQ)
   =================== */
dl dt {
  font-family: var(--font-heading);
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--color-neon-blue);
  margin: 0 0 4px 0;
}
dl dd {
  margin: 0 0 18px 0;
  color: var(--color-accent);
}
dl dd:last-child {
  margin-bottom: 0;
}

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

/* ===========
   Z-INDEX
   =========== */
header { z-index: 30; }
.mobile-menu { z-index: 300; }
.cookie-banner { z-index: 400; }
.cookie-modal-overlay { z-index: 410; }

/* ===================
   SCROLLBAR (for webkit browsers)
   =================== */
::-webkit-scrollbar { width: 9px; background: #202D41; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg,var(--color-neon-blue), #202D41 98%); border-radius: 12px; }

/* ==== FOCUS VISIBLE ==== */
:focus-visible {
  outline: 2.5px solid var(--color-neon-blue);
  outline-offset: 2px;
}

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