/* =========================================================
   CRONOS MÓVEL LISBOA — Modern Bento Board Theme
   Strictly image-free design system
   ========================================================= */

:root {
  --canvas-bg: #F4F5F7;
  --tile-white: #FFFFFF;
  --tile-sand: #EAE6DF;
  --tile-mist: #E6ECF0;
  --tile-ink: #181E24;
  --tile-ink-light: #262E38;
  --accent: #B85028;
  --accent-hover: #9E3F1C;
  --text-dark: #12181F;
  --text-muted: #576371;
  --border-light: rgba(18, 24, 31, 0.08);
  --border-subtle: rgba(18, 24, 31, 0.05);
  --radius-xl: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--canvas-bg);
  color: var(--text-dark);
  font-family: var(--font-family);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Top Bar */
.site-header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-glyph {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--tile-ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-contact-pill {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--tile-sand);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 31, 0.08);
  transition: all 0.2s ease;
}

.nav-contact-pill:hover {
  background: #DFDACF;
}

/* Main Bento Canvas */
.main-canvas {
  padding: 32px 24px 64px;
}

.bento-shell {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Irregular Bento Grid */
.bento-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento-tile {
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

/* Tile Colors */
.tile-sand { background-color: var(--tile-sand); }
.tile-mist { background-color: var(--tile-mist); }
.tile-white { background-color: var(--tile-white); }
.tile-ink { background-color: var(--tile-ink); }
.tile-accent { background-color: var(--accent); }
.text-white { color: #FFFFFF; }

/* Uneven Spans */
.tile-hero {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 380px;
}

.tile-service {
  grid-column: span 2;
  grid-row: span 1;
}

.tile-service-compact {
  grid-column: span 1;
  grid-row: span 1;
}

.tile-stat {
  grid-column: span 1;
  grid-row: span 1;
}

.tile-feature {
  grid-column: span 2;
  grid-row: span 1;
}

.tile-cta {
  grid-column: span 2;
  grid-row: span 1;
}

/* Tile Contents */
.tile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #554A3E;
  background: rgba(255, 255, 255, 0.65);
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
}

.hero-heading {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero-text {
  font-size: 1.05rem;
  color: #4A463F;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.btn-hero-primary {
  display: inline-block;
  background: var(--tile-ink);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-hero-primary:hover {
  background: var(--tile-ink-light);
  transform: translateY(-1px);
}

.hero-micronote {
  font-size: 0.78rem;
  color: #726A5F;
  font-weight: 600;
}

/* Stat Tiles */
.tile-stat {
  justify-content: center;
  gap: 12px;
}

.stat-figure {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Service Tiles */
.service-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  background: var(--canvas-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--canvas-bg);
  padding: 4px 10px;
  border-radius: 999px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.compact-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.compact-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Feature Tile */
.feature-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #B0BAC4;
  margin-bottom: 12px;
}

.feature-heading {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: #B0BAC4;
  line-height: 1.5;
}

/* CTA Tile */
.cta-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.cta-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.4;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-accent-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--accent);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.btn-accent-action:hover {
  transform: translateY(-2px);
}

.cta-time-tag {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.88;
}

/* Details Strip / FAQ-lite */
.details-strip {
  background: var(--tile-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-light);
}

.details-header {
  margin-bottom: 32px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--canvas-bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.detail-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Booking Form Card */
.quick-booking-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  border: 1px solid var(--border-light);
}

.qb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.qb-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.qb-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.qb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 6px 12px;
  border-radius: 999px;
}

.status-dot.green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
}

.qb-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-field input,
.form-field select {
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #D0D7DE;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #FAFBFC;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--tile-ink);
  background: #FFFFFF;
}

.btn-submit {
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--tile-ink);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.btn-submit:hover {
  background: var(--tile-ink-light);
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.success {
  background: #E8F5E9;
  color: #1E4620;
  border: 1px solid #A5D6A7;
}

.hidden {
  display: none;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 48px 24px 32px;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 36px;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  display: block;
  margin-bottom: 12px;
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.social-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--canvas-bg);
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
}

.social-pill:hover {
  background: #E0E4E8;
}

.footer-meta-links {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-sep {
  opacity: 0.4;
}

/* Legal Page */
.legal-canvas {
  padding: 48px 24px 64px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border-light);
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.legal-section p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-section ul {
  margin-left: 20px;
  margin-bottom: 12px;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .bento-board {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tile-hero {
    grid-column: span 2;
    grid-row: auto;
  }

  .tile-service {
    grid-column: span 2;
  }

  .tile-service-compact {
    grid-column: span 1;
  }

  .tile-feature {
    grid-column: span 2;
  }

  .tile-cta {
    grid-column: span 2;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qb-form {
    grid-template-columns: 1fr 1fr;
  }

  .form-field-submit {
    grid-column: span 2;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 12px 16px;
  }

  .top-nav .nav-link {
    display: none;
  }

  .main-canvas {
    padding: 16px 12px 48px;
  }

  .bento-board {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tile-hero,
  .tile-service,
  .tile-service-compact,
  .tile-stat,
  .tile-feature,
  .tile-cta {
    grid-column: span 1;
    grid-row: auto;
    padding: 24px 20px;
  }

  .hero-heading {
    font-size: 1.75rem;
  }

  .details-strip,
  .quick-booking-card {
    padding: 24px 18px;
  }

  .qb-form {
    grid-template-columns: 1fr;
  }

  .form-field-submit {
    grid-column: span 1;
  }

  .btn-submit {
    width: 100%;
  }

  .legal-card {
    padding: 24px 18px;
  }
}