/*
Theme Name: A&L Transportes
Theme URI: https://altransportes.pt
Author: A&L Transportes Lda
Description: Tema institucional profissional para A&L Transportes.
Version: 3.1.0
Text Domain: al-transportes
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --ink: #0c0d10;
  --ink-2: #14161c;
  --surface: #1c1f27;
  --line: #2c303a;
  --paper: #f3ece1;
  --muted: #b8b0a4;
  --amber: #c9921a;
  --amber-2: #e0b24a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.display {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.95;
  font-weight: 400;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12,13,16,0.95);
  border-bottom: 1px solid rgba(44,48,58,0.7);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.mark {
  width: 36px;
  height: 36px;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
nav.desk {
  display: none;
  gap: 1.35rem;
  align-items: center;
}
nav.desk a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
nav.desk a:hover { color: var(--paper); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); }
.btn-ghost {
  border: 1px solid rgba(243,236,225,0.3);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--paper); }
.nav-toggle {
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1.3rem;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 1.5rem 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,13,16,0.92) 0%,
    rgba(12,13,16,0.45) 40%,
    rgba(12,13,16,0.25) 100%
  );
}
.hero .content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 4rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  margin-bottom: 0.85rem;
  max-width: 14ch;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat h2 {
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
  color: var(--paper);
}
.stat p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 0; }
.section .kicker { margin-bottom: 0.6rem; }
.section h2.display {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  align-items: center;
  margin-top: 2.25rem;
}
.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
}
.list-strong li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.list-strong li:last-child { border-bottom: 1px solid var(--line); }
.list-strong strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
  color: var(--paper);
}
.list-strong li { color: var(--muted); font-size: 0.92rem; }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-block { max-width: 56ch; }
.about-block p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-top: 0.9rem;
}

/* ===== CONTACT ===== */
.contact { background: var(--ink-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-grid > div > p {
  color: var(--muted);
  margin-top: 0.7rem;
  max-width: 36ch;
  font-size: 0.98rem;
}
form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
form input,
form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--paper);
  border-radius: 2px;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--amber);
}
form button {
  margin-top: 0.4rem;
  background: var(--amber);
  color: var(--ink);
  border: 0;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
form button:hover { background: var(--amber-2); }
.notice {
  background: var(--surface);
  border: 1px solid var(--amber);
  padding: 1.15rem;
  color: var(--paper);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-inner strong { color: var(--paper); }

/* ===== RESPONSIVE ===== */
@media (min-width: 860px) {
  nav.desk { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 1.5rem;
  }
  .stat:last-child { border-bottom: 0; }
  .split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .split img { height: 280px; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero { min-height: 75vh; }
  .hero .content { padding-bottom: 3.25rem; }
  .section { padding: 3.5rem 0; }
}
