/* ============================================================
   PORSCHE ANGOLA - DESIGN SYSTEM & STYLESHEET
   Matching official Porsche aesthetic & reference designs
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Official Porsche Next Typeface (Porsche Design System) --- */
@font-face {
  font-family: "Porsche Next";
  font-style: normal;
  font-weight: 400;
  src: local("Porsche Next Regular"),
       local("Porsche Next"),
       url("assets/fonts/porsche-next-regular.woff2") format("woff2"),
       url("https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-regular.b8f1c20.woff2") format("woff2");
  unicode-range: U+0020-007F, U+0080-00FF, U+0100-017F, U+0180-024F, U+0250-02AF, U+02B0-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2100-214F, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+2600-26FF, U+FB00-FB4F, U+FE70-FEFF;
  font-display: swap;
}

@font-face {
  font-family: "Porsche Next";
  font-style: normal;
  font-weight: 600;
  src: local("Porsche Next SemiBold"),
       url("assets/fonts/porsche-next-semibold.woff2") format("woff2"),
       url("https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-semi-bold.b5f6fca.woff2") format("woff2");
  unicode-range: U+0020-007F, U+0080-00FF, U+0100-017F, U+0180-024F, U+0250-02AF, U+02B0-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2100-214F, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+2600-26FF, U+FB00-FB4F, U+FE70-FEFF;
  font-display: swap;
}

@font-face {
  font-family: "Porsche Next";
  font-style: normal;
  font-weight: 700;
  src: local("Porsche Next Bold"),
       url("assets/fonts/porsche-next-bold.woff2") format("woff2"),
       url("https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-bold.0fbdc6d.woff2") format("woff2");
  unicode-range: U+0020-007F, U+0080-00FF, U+0100-017F, U+0180-024F, U+0250-02AF, U+02B0-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20A0-20CF, U+2100-214F, U+2150-218F, U+2190-21FF, U+2200-22FF, U+25A0-25FF, U+2600-26FF, U+FB00-FB4F, U+FE70-FEFF;
  font-display: swap;
}

/* --- Geometric Extended Porsche Wordmark & Lettering --- */
@font-face {
  font-family: "911 Porscha";
  font-style: normal;
  font-weight: 400;
  src: local("911 Porscha"),
       url("assets/fonts/911-porscha.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "911 Porscha";
  font-style: normal;
  font-weight: 700;
  src: local("911 Porscha Bold"),
       url("assets/fonts/911-porscha-bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --porsche-black: #010205;
  --porsche-dark: #121316;
  --porsche-grey-dark: #1d1f24;
  --porsche-grey-mid: #686b71;
  --porsche-grey-light: #f3f4f6;
  --porsche-grey-border: #e2e4e8;
  --porsche-red: #d5001c;
  --porsche-white: #ffffff;
  --header-height: 64px;
  --sticky-bar-height: 52px;
  --font-porsche: "Porsche Next", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-porsche-logo: "911 Porscha", "Eurostile Extended", "Microgramma Extended", "Arial Black", sans-serif;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--sticky-bar-height) + 12px);
  background-color: var(--porsche-white);
  color: var(--porsche-black);
}

body {
  font-family: var(--font-porsche);
  font-size: 15px;
  line-height: 1.5;
  color: var(--porsche-black);
  background-color: var(--porsche-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   TOP BAR (HEADER)
   ============================================================ */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--porsche-grey-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: var(--porsche-black);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--porsche-red);
}

.hamburger-icon {
  width: 22px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 1px;
  transition: var(--transition);
}

.menu-toggle.open .hamburger-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .hamburger-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  width: 240px;
}

.brand-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--porsche-black);
  font-family: var(--font-porsche);
  text-transform: uppercase;
}

.brand-logo img.brand-logo-text {
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

.header-partner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.partner-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--porsche-black);
  border-left: 1px solid var(--porsche-grey-border);
  padding-left: 12px;
  line-height: 1.2;
}

.partner-text span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--porsche-grey-mid);
  letter-spacing: 0.04em;
}

/* Drawer Navigation */
.drawer-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: min(380px, 100vw);
  height: calc(100vh - var(--header-height));
  background: var(--porsche-white);
  box-shadow: 12px 0 32px rgba(0, 0, 0, 0.14);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  overflow-y: auto;
}

.drawer-nav.active {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-nav-list a {
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.drawer-nav-list a:hover {
  color: var(--porsche-red);
  padding-left: 6px;
}

.drawer-nav-footer {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--porsche-grey-mid);
}

/* ============================================================
   FIXED / STICKY QUICK ACTION BAR (SUB-HEADER)
   Always stays fixed/sticky when scrolling down
   No Loja Online as requested!
   ============================================================ */
.sticky-bar-wrapper {
  position: sticky;
  top: var(--header-height);
  width: 100%;
  background: var(--porsche-white);
  border-bottom: 1px solid var(--porsche-grey-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  z-index: 900;
  transition: box-shadow 0.25s ease;
}

.sticky-bar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: var(--sticky-bar-height);
  padding: 4px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sticky-bar-nav::-webkit-scrollbar {
  display: none;
}

.sticky-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 8px;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #2b2d33;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
}

.sticky-item svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
  transition: var(--transition);
}

.sticky-item:hover, .sticky-item.active {
  color: var(--porsche-red);
}

.sticky-item:hover svg, .sticky-item.active svg {
  opacity: 1;
  fill: var(--porsche-red);
}

.sticky-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--porsche-red);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.sticky-item:hover::after, .sticky-item.active::after {
  width: 80%;
}

/* ============================================================
   HERO VIDEO SLIDER SECTION (HOME PAGE)
   Switches automatically and manually via dots & side arrows
   ============================================================ */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 580px;
  max-height: 840px;
  background-color: var(--porsche-black);
  overflow: hidden;
}

.hero-slider-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark gradient overlay on top of video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 2, 5, 0.88) 0%, rgba(1, 2, 5, 0.6) 42%, rgba(1, 2, 5, 0.2) 80%, rgba(1, 2, 5, 0.1) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 3;
}

/* Hero Content Box - Centered, bold Porsche statement */
.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  pointer-events: none;
}

.hero-content-wrap .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: -20px auto 0 auto;
  color: var(--porsche-white);
  max-width: 900px;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f1f2f5;
  letter-spacing: 0.01em;
}

.hero-check-icon {
  width: 14px;
  height: 14px;
  color: var(--porsche-red);
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  color: #b5b8c2;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-porsche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: var(--porsche-white);
  color: var(--porsche-black);
  border: 1px solid var(--porsche-white);
  cursor: pointer;
  transition: var(--transition);
}

.btn-porsche:hover {
  background: var(--porsche-red);
  color: var(--porsche-white);
  border-color: var(--porsche-red);
  transform: translateY(-2px);
}

.btn-porsche-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--porsche-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition);
}

.btn-porsche-outline:hover {
  background: var(--porsche-white);
  color: var(--porsche-black);
}

/* Slider Arrow Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--porsche-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--porsche-white);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Slider Dots (Pontinhos) at bottom */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
}

.dot-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot-btn.active {
  width: 28px;
  background: var(--porsche-white);
}

/* ============================================================
   GENERIC SECTION HEADINGS
   ============================================================ */
.section-block {
  padding: 72px 0;
}

.section-block.bg-light {
  background-color: #fafafb;
}

.section-block.bg-dark {
  background-color: var(--porsche-black);
  color: var(--porsche-white);
}

.section-heading-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading-center h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 580;
  letter-spacing: -0.02em;
  color: inherit;
}

.section-heading-center p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: var(--porsche-grey-mid);
}

/* ============================================================
   SECTION: PÓS-VENDA & SERVIÇO EM DESTAQUE
   Visual clean, compacto, fundo branco e foco textual
   ============================================================ */
.posvenda-section {
  background: var(--porsche-white);
  color: var(--porsche-black);
  padding: 32px 0;
  position: relative;
}

.posvenda-container {
  display: block;
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.posvenda-card {
  display: flex;
  flex-direction: column;
}

.posvenda-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--porsche-red);
  margin-bottom: 6px;
}

.posvenda-title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--porsche-black);
  margin-bottom: 14px;
}

.posvenda-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.posvenda-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--porsche-black);
  padding: 9px 12px;
  background: var(--porsche-grey-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--porsche-grey-border);
  transition: all 0.2s ease;
}

.posvenda-checklist li:hover {
  background: var(--porsche-white);
  border-color: var(--porsche-red);
  transform: translateY(-1px);
}

.posvenda-check-icon {
  width: 17px;
  height: 17px;
  color: var(--porsche-red);
  flex-shrink: 0;
}

.posvenda-subtitle {
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--porsche-grey-mid);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .posvenda-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .posvenda-section {
    padding: 24px 0;
  }
  .posvenda-container {
    padding: 18px 16px;
  }
  .posvenda-checklist {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}



/* ============================================================
   SECTION: MUNDO PORSCHE (MUNDO STUTTGART)
   3 Rounded cards with hover zoom
   ============================================================ */
.mundo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mundo-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mundo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.mundo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mundo-card:hover img {
  transform: scale(1.08);
}

.mundo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.mundo-card-title {
  color: var(--porsche-white);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mundo-card-title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transform: translateX(-4px);
  opacity: 0;
  transition: var(--transition);
}

.mundo-card:hover .mundo-card-title svg {
  transform: translateX(0);
  opacity: 1;
}





/* ============================================================
   SECTION: MODELOS (6 CARDS - MATCHING IMAGE 1)
   911, 718, Taycan, Panamera, Macan, Cayenne
   ============================================================ */
.modelos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.modelo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0b0c0e;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: block;
  text-decoration: none;
  color: var(--porsche-white);
}

.modelo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.modelo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.modelo-card:hover img {
  transform: scale(1.06);
}

/* Model Script / Badge Logo at the Top */
.modelo-top-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  color: var(--porsche-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  z-index: 2;
  font-family: var(--font-porsche-logo);
  text-transform: uppercase;
  pointer-events: none;
}

.modelo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 45%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  color: var(--porsche-white);
  z-index: 2;
}

/* Fuel / Powertrain Badges (Gasolina, Elétrico, Híbrido) */
.modelo-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.badge-combustivel {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: #ededf0;
}

.badge-combustivel.eletrico {
  border-color: rgba(0, 180, 216, 0.5);
  color: #a0ecfc;
}

.badge-combustivel.hibrido {
  border-color: rgba(76, 201, 137, 0.5);
  color: #bbf3d6;
}

.modelo-caption {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: #e5e6e8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.modelo-caption span {
  flex: 1;
}

.modelo-caption svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease, fill 0.25s ease;
}

.modelo-card:hover .modelo-caption svg {
  transform: translateX(4px);
  fill: var(--porsche-red);
}

/* ============================================================
   DEDICATED MODEL PAGE STYLES (MATCHING IMAGE 2)
   modelo.html (Cayenne, 911, 718, Taycan, Panamera, Macan)
   ============================================================ */
.model-detail-hero {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: #0b0c0e;
  overflow: hidden;
}

.model-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.model-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 2, 5, 0.8) 0%, rgba(1, 2, 5, 0.35) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 32px;
}

.model-detail-hero-title {
  color: var(--porsche-white);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.model-detail-hero-title svg {
  width: 24px;
  height: 24px;
  fill: var(--porsche-red);
}

/* Model Intro & Video Section */
.model-intro-section {
  padding: 56px 0 40px;
  background-color: var(--porsche-white);
}

.model-tagline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--porsche-black);
  margin-bottom: 12px;
}

.model-lead-desc {
  font-size: 1.05rem;
  color: var(--porsche-grey-mid);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 32px;
}

.model-video-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #0b0c0e;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.model-video-container video, .model-video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Interactive Trims Selector ("Qual é o [Modelo] ideal pra você?") */
.model-trims-section {
  padding: 64px 0;
  background-color: #f7f8fa;
}

.trims-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.trim-card {
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.trim-card:hover {
  transform: translateY(-4px);
  border-color: var(--porsche-black);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.trim-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #f1f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--porsche-grey-border);
}

.trim-media img {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.trim-card:hover .trim-media img {
  transform: scale(1.05);
}

.trim-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trim-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--porsche-black);
  margin-bottom: 18px;
}

.trim-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--porsche-grey-mid);
}

.trim-spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--porsche-grey-border);
  padding-bottom: 6px;
}

.trim-spec-item strong {
  color: var(--porsche-black);
  font-weight: 700;
}

.btn-trim-interest {
  margin-top: auto;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  background: var(--porsche-black);
  color: var(--porsche-white);
  border: 1px solid var(--porsche-black);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-trim-interest:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
}

/* Feature Spotlight 1: Full Banner */
.model-spotlight-full {
  position: relative;
  width: 100%;
  min-height: 440px;
  background-color: #0b0c0e;
  display: flex;
  align-items: flex-end;
}

.model-spotlight-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-spotlight-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.95) 100%);
  color: var(--porsche-white);
}

.model-spotlight-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.model-spotlight-desc {
  max-width: 640px;
  font-size: 1rem;
  color: #d1d3d8;
  line-height: 1.5;
}

/* Feature Spotlight 2: Split Rear/Tech */
.model-split-feature {
  padding: 80px 0;
  background-color: var(--porsche-white);
}

.model-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.model-split-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--porsche-black);
}

.model-split-content p {
  font-size: 1rem;
  color: var(--porsche-grey-mid);
  line-height: 1.6;
  margin-bottom: 24px;
}

.model-split-media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Section: Explorar */
.model-explore-section {
  padding: 72px 0;
  background-color: #f7f8fa;
}

.model-explore-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: center;
}

.model-explore-card-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.model-explore-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
  svg path:hover {
  transform: translateX(4px);
  fill: var(--porsche-red);
}

/* ============================================================
   SECTION: ENTRE EM CONTATO (4 CARDS)
   ============================================================ */

/* Container geral para limitar o tamanho e centralizar na tela */
.contato-shortcuts-section {
  width: 100%;
  max-width: 1200px; /* Altere para o tamanho máximo do seu site */
  margin: 0 auto;
  padding: 20px;
}

.contato-shortcuts-grid {
  display: flex !important; /* Força o flexbox caso o grid falhe */
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* Garante obrigatoriamente 4 colunas */
  gap: 16px;
  width: 100%;
}

.contato-shortcut-card {
  position: relative;
  width: 100%;
  height: 200px !important; /* Mantém a altura compacta e controlada */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  background-color: #111;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.contato-shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contato-shortcut-card img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.75;
  transition: transform 0.5s ease;
}

/* Gradiente escuro na parte inferior para destacar o texto */
.contato-shortcut-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.contato-shortcut-card:hover img {
  transform: scale(1.08);
}

.contato-shortcut-content {
  position: relative;
  z-index: 2;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.contato-shortcut-content span {
  display: block;
  max-width: 80%;
}

.contato-shortcut-content svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.8;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contato-shortcut-card:hover .contato-shortcut-content svg {
  opacity: 1;
  transform: translateX(4px);
}

/* ============================================================
   SECTION: UNIDADES (LOCALIZAÇÃO & DEALERSHIP SELECTOR)
   3 Columns matching Image 1 & Image 2
   ============================================================ */
.unidades-container {
  display: grid;
  grid-template-columns: 280px 1.2fr 1fr;
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Left list of units */
.unidades-tabs {
  background-color: #f7f8f9;
  border-right: 1px solid var(--porsche-grey-border);
  display: flex;
  flex-direction: column;
}

.unidade-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--porsche-grey-border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--porsche-black);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.unidade-tab-btn:hover {
  background-color: #ededf0;
}

.unidade-tab-btn.active {
  background-color: var(--porsche-black);
  color: var(--porsche-white);
  font-weight: 600;
}

.unidade-tab-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.6;
}

.unidade-tab-btn.active svg {
  opacity: 1;
  transform: rotate(90deg);
}

/* Middle photo of dealership */
.unidades-media {
  position: relative;
  min-height: 380px;
  background-color: #0b0c0e;
}

.unidades-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right detail card */
.unidades-detail {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.88rem;
  background-color: var(--porsche-white);
}

.unidade-info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.unidade-info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--porsche-black);
}

.unidade-info-title svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.unidade-info-text {
  color: var(--porsche-grey-mid);
  line-height: 1.45;
  font-size: 0.86rem;
}

.unidade-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.btn-unidade-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--porsche-grey-border);
  background: var(--porsche-white);
  color: var(--porsche-black);
  cursor: pointer;
  transition: var(--transition);
}

.btn-unidade-action:hover {
  background: var(--porsche-black);
  color: var(--porsche-white);
  border-color: var(--porsche-black);
}

/* ============================================================
   CONTACT PAGE (IMAGE 2)
   Hero + Form + Entre em Contato + Unidades + Footer
   ============================================================ */
.contact-hero-banner {
  position: relative;
  width: 100%;
  height: clamp(560px, 70vh, 760px);
  min-height: 560px;
  background-color: #121316;
  overflow: hidden;
}

.contact-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 2, 5, 0.85) 0%, rgba(1, 2, 5, 0.4) 60%, rgba(1, 2, 5, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 28px;
}

.contact-hero-title {
  color: var(--porsche-white);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-hero-title svg {
  width: 22px;
  height: 22px;
  fill: var(--porsche-red);
}

.contact-intro-bar {
  background-color: var(--porsche-white);
  padding: 24px 0 10px;
  border-bottom: 1px solid var(--porsche-grey-border);
}

.contact-intro-bar p {
  font-size: 0.95rem;
  color: var(--porsche-grey-mid);
  line-height: 1.6;
}

.contact-form-section {
  background-color: #f7f8fa;
  padding: 60px 0 80px;
}

.contact-form-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  padding: 44px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--porsche-black);
}

.porsche-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b3d42;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-sm);
  background: #fbfbfc;
  color: var(--porsche-black);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--porsche-black);
  background: var(--porsche-white);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Custom Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--porsche-grey-mid);
  line-height: 1.45;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--porsche-black);
  cursor: pointer;
}

.btn-form-submit {
  align-self: flex-start;
  margin-top: 10px;
  padding: 13px 40px;
  background-color: var(--porsche-black);
  color: var(--porsche-white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background-color: var(--porsche-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(213, 0, 28, 0.25);
}

.form-status-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
  margin-top: 14px;
}

.form-status-alert.success {
  display: block;
  background-color: #e6f7ec;
  color: #11682f;
  border: 1px solid #c2e8d0;
}

.form-status-alert.error {
  display: block;
  background-color: #feecee;
  color: var(--porsche-red);
  border: 1px solid #f9c9ce;
}

/* ============================================================
   SERVICES PAGE (SERVICOS.HTML) & CALENDAR PAGE
   ============================================================ */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--porsche-black);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--porsche-black);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--porsche-grey-mid);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--porsche-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Events Calendar Grid */
.calendar-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.event-date-box {
  background-color: var(--porsche-black);
  color: var(--porsche-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.event-day {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.event-month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--porsche-red);
  margin-top: 4px;
}

.event-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--porsche-grey-mid);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-location {
  font-size: 0.85rem;
  color: var(--porsche-grey-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   FOOTER (MATCHING IMAGE 1 & IMAGE 2)
   Dark luxury footer with 4 columns + social + copyright
   ============================================================ */
.footer-main {
  background-color: var(--porsche-black);
  color: #c4c7cc;
  padding: 64px 0 40px;
  font-size: 0.85rem;
  border-top: 1px solid #1a1b1f;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--porsche-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #9ea1a7;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--porsche-white);
  transform: translateX(4px);
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 32px;
  border-bottom: 1px solid #1a1b1f;
  margin-bottom: 28px;
}

.footer-social-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--porsche-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--porsche-white);
  color: var(--porsche-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--porsche-red);
  color: var(--porsche-white);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #7a7d84;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a:hover {
  color: var(--porsche-white);
  text-decoration: underline;
}

.footer-brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 36px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo .brand-logo-text {
  max-width: 170px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand-logo:hover .brand-logo-text {
  opacity: 1;
  transform: scale(1.02);
}

/* ============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ============================================================ */
@media (max-width: 1024px) {
  .unidades-container {
    grid-template-columns: 1fr;
  }
  .unidades-tabs {
    flex-direction: row;
    overflow-x: auto;
  }
  .unidade-tab-btn {
    border-bottom: none;
    border-right: 1px solid var(--porsche-grey-border);
    white-space: nowrap;
  }
  .unidades-media {
    min-height: 280px;
  }
  .mundo-grid {
    grid-template-columns: 1fr;
  }
  .mundo-card {
    height: 190px;
  }
  .modelos-grid {
    grid-template-columns: 1fr;
  }
  .modelo-card {
    aspect-ratio: 16 / 10;
    min-height: 380px;
  }
  .contato-shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --sticky-bar-height: 48px;
  }
  .brand-logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
  }
  .header-partner {
    display: none;
  }
  .hero-slider-section {
    height: 75vh;
    min-height: 520px;
  }
  .hero-card {
    max-width: 100%;
    padding: 18px 20px;
  }
  .hero-title {
    font-size: 1.25rem;
  }
  .hero-checklist li {
    font-size: 0.8rem;
  }
  .hero-subtitle {
    font-size: 0.75rem;
  }
  .slider-arrow {
    display: none;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .contato-shortcuts-grid {
    grid-template-columns: 1fr;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .calendar-events-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   REVISTA & NOTÍCIAS (EDITION CARDS, FEATURED & PAGINATION)
   ============================================================ */
.revista-hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.hero-red-chevron {
  color: var(--porsche-red);
  font-weight: 800;
  font-size: 1.2em;
  display: inline-block;
  transform: translateY(-1px);
}

/* Featured / Latest Edition Card */
.revista-destaque-wrapper {
  margin: 40px auto 50px auto;
}

.revista-destaque-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background-color: #fafafa;
  border: 1px solid #e7e7e8;
  border-radius: var(--radius-md);
  padding: 40px 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.revista-destaque-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.revista-destaque-media {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #f2f2f3;
}

.revista-destaque-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.revista-destaque-card:hover .revista-destaque-img {
  transform: scale(1.03);
}

.revista-destaque-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.revista-data-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}

.revista-destaque-titulo {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--porsche-black);
  line-height: 1.15;
  margin: 0;
}

.revista-accent-line {
  position: relative;
  width: 100%;
  height: 4px;
  background-color: #111;
  margin: 4px 0 12px 0;
  border-radius: 2px;
}

.revista-accent-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background-color: var(--porsche-red);
  border-radius: 2px;
}

.revista-destaque-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

.btn-revista-vermais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 10px 24px;
  background-color: #44484d;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-revista-vermais:hover {
  background-color: var(--porsche-red);
  transform: translateX(3px);
  color: #fff;
}

.btn-revista-vermais svg,
.btn-revista-vermais .chevron-icon {
  font-size: 1.1em;
  font-weight: 700;
  color: #fff;
}

/* Edições Anteriores */
.edicoes-anteriores-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--porsche-black);
  margin-bottom: 24px;
  padding-bottom: 6px;
}

.edicoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.edicao-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.edicao-card:hover {
  transform: translateY(-4px);
}

.edicao-card-media {
  background-color: #f7f7f8;
  border: 1px solid #e5e5e6;
  border-radius: var(--radius-sm);
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.edicao-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.edicao-card:hover .edicao-card-media img {
  transform: scale(1.05);
}

.edicao-card-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 4px 6px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--porsche-black);
}

.edicao-card-caption .red-chevron {
  color: var(--porsche-red);
  font-weight: 800;
  font-size: 1.15em;
}

.edicao-card-caption:hover {
  color: var(--porsche-red);
}

/* Pagination Bar */
.revista-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 36px 0 60px 0;
  flex-wrap: wrap;
}

.page-num-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-num-btn:hover {
  background-color: #ebebeb;
  color: #000;
}

.page-num-btn.active {
  background-color: var(--porsche-red);
  color: #fff;
  border-color: var(--porsche-red);
}

.page-nav-arrow {
  color: #555;
  font-weight: 700;
  padding: 0 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.page-nav-arrow:hover {
  color: var(--porsche-red);
}

/* Modal for Reading / Viewing Edition */
.revista-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.revista-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.revista-modal-content {
  background-color: #fff;
  width: min(850px, 95vw);
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 36px 40px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.revista-modal-backdrop.active .revista-modal-content {
  transform: translateY(0);
}

.revista-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
  transition: color 0.2s;
}

.revista-modal-close:hover {
  color: var(--porsche-red);
}

.revista-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.revista-modal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.revista-modal-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

@media (max-width: 992px) {
  .revista-destaque-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }
  .edicoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .edicoes-grid {
    grid-template-columns: 1fr;
  }
  .revista-modal-content {
    padding: 24px 20px;
  }
}

/* ============================================================
   SECTION: CLUB PORSCHE ANGOLA - LUXURY GALLERY & COMMUNITY
   ============================================================ */

/* --- Hero Banner --- */
.club-hero {
  position: relative;
  min-height: 520px;
  background-color: var(--porsche-black);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--porsche-white);
}

.club-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.42;
  filter: contrast(1.1) brightness(0.9);
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.club-hero:hover .club-hero-bg {
  transform: scale(1.06);
}

.club-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 2, 5, 0.45) 0%,
    rgba(1, 2, 5, 0.75) 50%,
    rgba(1, 2, 5, 0.98) 100%
  );
}

.club-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 60px 0;
}

.club-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a0a4aa;
  margin-bottom: 20px;
}

.club-breadcrumb a {
  color: #a0a4aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.club-breadcrumb a:hover {
  color: var(--porsche-white);
}

.club-breadcrumb span {
  color: var(--porsche-red);
}

.club-badge-exclusive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(213, 0, 28, 0.15);
  border: 1px solid rgba(213, 0, 28, 0.4);
  border-radius: 999px;
  color: #ff4d61;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.club-badge-exclusive::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--porsche-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--porsche-red);
}

.club-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--porsche-white);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.club-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #cfd2d8;
  max-width: 780px;
  margin-bottom: 32px;
}

.club-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-club-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--porsche-red);
  color: var(--porsche-white);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--porsche-red);
  cursor: pointer;
}

.btn-club-primary:hover {
  background: #b00017;
  border-color: #b00017;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 0, 28, 0.4);
}

.btn-club-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--porsche-white);
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-club-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--porsche-white);
  transform: translateY(-2px);
}

/* --- Stats Strip --- */
.club-stats-strip {
  background-color: #0b0d11;
  border-bottom: 1px solid #1f2229;
  padding: 24px 0;
}

.club-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.club-stat-item {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-left: 2px solid var(--porsche-red);
}

.club-stat-number {
  font-family: var(--font-porsche-logo);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--porsche-white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.club-stat-label {
  font-size: 0.85rem;
  color: #8c9099;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* --- Filter Bar --- */
.club-filter-wrapper {
  background: #f8f9fa;
  border-bottom: 1px solid var(--porsche-grey-border);
  position: sticky;
  top: calc(var(--header-height) + var(--sticky-bar-height));
  z-index: 20;
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.club-filter-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.club-filter-nav::-webkit-scrollbar {
  display: none;
}

.club-filter-btn {
  background: #ffffff;
  border: 1px solid var(--porsche-grey-border);
  color: #3e4249;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.club-filter-btn .count-badge {
  background: #eaecf0;
  color: #555962;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.club-filter-btn:hover {
  border-color: var(--porsche-dark);
  color: var(--porsche-dark);
  transform: translateY(-1px);
}

.club-filter-btn.active {
  background: var(--porsche-dark);
  color: var(--porsche-white);
  border-color: var(--porsche-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.club-filter-btn.active .count-badge {
  background: var(--porsche-red);
  color: var(--porsche-white);
}

/* --- Gallery Grid --- */
.club-gallery-section {
  padding: 50px 0 80px;
  background: #fafafb;
}

.club-gallery-heading {
  margin-bottom: 36px;
  text-align: center;
}

.club-gallery-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--porsche-dark);
  margin-bottom: 10px;
}

.club-gallery-heading p {
  color: var(--porsche-grey-mid);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
}

.club-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.club-card {
  position: relative;
  background: #111317;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
}

.club-card.featured-tall {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 520px;
}

.club-card.featured-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.club-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.22);
}

.club-card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #08090b;
}

.club-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.club-card:hover .club-card-img {
  transform: scale(1.08);
}

.club-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(1, 2, 5, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--porsche-white);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.club-card-zoom-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(1, 2, 5, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--porsche-white);
  opacity: 0;
  transform: scale(0.85);
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.club-card-zoom-indicator svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.club-card:hover .club-card-zoom-indicator {
  opacity: 1;
  transform: scale(1);
  background: var(--porsche-red);
  border-color: var(--porsche-red);
}

.club-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.94) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--porsche-white);
  transition: background 0.3s ease;
}

.club-card:hover .club-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.98) 100%
  );
}

.club-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--porsche-white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.club-card-title span {
  flex: 1;
}

.club-card-arrow {
  width: 18px;
  height: 18px;
  fill: var(--porsche-red);
  transform: translateX(-4px);
  opacity: 0;
  transition: var(--transition);
}

.club-card:hover .club-card-arrow {
  transform: translateX(0);
  opacity: 1;
}

.club-card-subtitle {
  font-size: 0.85rem;
  color: #b0b4bc;
  line-height: 1.4;
  margin-bottom: 8px;
}

.club-card-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #ff808d;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

/* --- Lightbox Modal --- */
.club-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 5, 8, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.club-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.club-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--porsche-white);
  z-index: 10;
}

.club-lightbox-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.club-lightbox-logo {
  font-family: var(--font-porsche-logo);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--porsche-white);
  text-transform: uppercase;
}

.club-lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ea2aa;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.club-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-lb-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--porsche-white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.club-lb-btn:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
  transform: scale(1.08);
}

.club-lb-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.club-lightbox-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 60px;
  overflow: hidden;
}

.club-lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.club-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--porsche-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.club-lightbox-nav-btn:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
  transform: translateY(-50%) scale(1.1);
}

.club-lightbox-nav-btn.prev {
  left: 20px;
}

.club-lightbox-nav-btn.next {
  right: 20px;
}

.club-lightbox-nav-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.club-lightbox-footer {
  background: rgba(6, 8, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 32px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 10;
}

.club-lightbox-caption {
  max-width: 800px;
}

.club-lightbox-caption-tag {
  color: var(--porsche-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.club-lightbox-caption-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--porsche-white);
  margin-bottom: 4px;
}

.club-lightbox-caption-desc {
  font-size: 0.92rem;
  color: #a4a8b2;
  line-height: 1.45;
}

/* --- Club Experience Pillars Section --- */
.club-experience-section {
  padding: 70px 0;
  background-color: var(--porsche-white);
  border-top: 1px solid var(--porsche-grey-border);
}

.club-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.club-pillar-card {
  background: #ffffff;
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.club-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.club-pillar-card:hover {
  transform: translateY(-6px);
  border-color: #cbd0d8;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.club-pillar-card:hover::before {
  background: var(--porsche-red);
}

.club-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fdf2f3;
  color: var(--porsche-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.club-pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.club-pillar-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--porsche-dark);
  margin-bottom: 12px;
}

.club-pillar-card p {
  color: var(--porsche-grey-mid);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* --- Membership CTA Banner --- */
.club-cta-section {
  background: linear-gradient(135deg, #090b0f 0%, #161922 100%);
  padding: 70px 0;
  color: var(--porsche-white);
  border-top: 1px solid #232733;
}

.club-cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.club-cta-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--porsche-white);
}

.club-cta-info p {
  font-size: 1.08rem;
  color: #cfd3dc;
  line-height: 1.65;
  margin-bottom: 28px;
}

.club-cta-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.club-cta-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.club-cta-perk svg {
  width: 18px;
  height: 18px;
  fill: var(--porsche-red);
  flex-shrink: 0;
}

.club-cta-form-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.club-cta-form-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--porsche-white);
  margin-bottom: 8px;
}

.club-cta-form-box p {
  font-size: 0.88rem;
  color: #a4a8b2;
  margin-bottom: 20px;
}

.club-form-group {
  margin-bottom: 14px;
}

.club-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c5c8d0;
  margin-bottom: 6px;
}

.club-form-input,
.club-form-select,
.club-form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--porsche-white);
  font-family: var(--font-porsche);
  font-size: 0.95rem;
  transition: var(--transition);
}

.club-form-input:focus,
.club-form-select:focus,
.club-form-textarea:focus {
  outline: none;
  border-color: var(--porsche-red);
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(213, 0, 28, 0.25);
}

.club-form-select option {
  background-color: #12141a;
  color: var(--porsche-white);
}

.club-form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--porsche-red);
  color: var(--porsche-white);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: var(--transition);
  margin-top: 10px;
}

.club-form-submit-btn:hover {
  background: #b00017;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(213, 0, 28, 0.4);
}

.club-form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
}

.club-form-status.success {
  display: block;
  background: rgba(22, 101, 52, 0.3);
  border: 1px solid #16a34a;
  color: #86efac;
}

.club-form-status.error {
  display: block;
  background: rgba(153, 27, 27, 0.3);
  border: 1px solid #dc2626;
  color: #fca5a5;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .club-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .club-card.featured-wide {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .club-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .club-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .club-card.featured-wide {
    grid-column: span 2;
  }
  .club-experience-grid {
    grid-template-columns: 1fr;
  }
  .club-cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .club-hero {
    min-height: 440px;
  }
  .club-stats-grid {
    grid-template-columns: 1fr;
  }
  .club-gallery-grid {
    grid-template-columns: 1fr;
  }
  .club-card.featured-wide,
  .club-card.featured-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 380px;
  }
  .club-lightbox-main {
    padding: 10px 16px;
  }
  .club-lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }
  .club-lightbox-nav-btn.prev {
    left: 8px;
  }
  .club-lightbox-nav-btn.next {
    right: 8px;
  }
  .club-lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
  }
}



/* ============================================================
   COLAR NO FIM DO style.css
   (se já tinhas versões anteriores do carrossel, apaga-as primeiro)
   ============================================================ */

/* ---------- GALERIA DO CLUB: CARROSSEL (2 linhas x 4 colunas = 8 imagens) ---------- */
.club-carousel {
  --cols: 4;
  --gap: 24px;
  position: relative;
  padding: 0 72px; /* espaço lateral onde ficam as setas */
}

.club-carousel .club-carousel-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 24px;
}

.club-carousel .club-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Todos os cards com o mesmo tamanho (anula featured-wide / featured-tall) */
.club-carousel .club-card,
.club-carousel .club-card.featured-wide,
.club-carousel .club-card.featured-tall {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 4 / 5;
  min-height: 0;
  scroll-snap-align: start;
}

.club-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--porsche-black);
  color: var(--porsche-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.club-carousel-arrow svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  pointer-events: none;
}

.club-carousel-arrow.prev { left: 0; }
.club-carousel-arrow.next { right: 0; }

.club-carousel-arrow:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
  transform: translateY(-50%) scale(1.08);
}

.club-carousel-arrow.is-off {
  opacity: 0.35;
}

@media (max-width: 992px) {
  .club-carousel { --cols: 3; --gap: 16px; padding: 0 60px; }
}

@media (max-width: 680px) {
  .club-carousel { --cols: 2; --gap: 12px; padding: 0 44px; }
  .club-carousel-arrow { width: 36px; height: 36px; }
  .club-carousel-arrow svg { width: 20px; height: 20px; }
}

/* ---------- LIGHTBOX: botão de fechar (canto superior direito) ---------- */
.club-lb-close-fixed {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--porsche-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.club-lb-close-fixed svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.club-lb-close-fixed:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
  transform: scale(1.08);
}







/* ============================================================
   ÁREA RESERVADA (login, instalação, painel)
   Limitado a body.painel: não afeta o site público
   ============================================================ */
body.painel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--porsche-grey-light);
  color: var(--porsche-black);
}

/* --- Cabeçalho --- */
.painel .top {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--porsche-white);
  border-bottom: 1px solid var(--porsche-grey-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.painel .top .logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .35em;
  text-transform: uppercase;
}
.painel .top .logo img { height: 26px; width: auto; }

.painel-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.painel-nav a {
  padding: 8px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: #2b2d33;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.painel-nav a:hover { color: var(--porsche-red); background: var(--porsche-grey-light); }
.painel-nav a:last-child { margin-left: 6px; border: 1px solid var(--porsche-grey-border); }
.painel-nav a:last-child:hover { border-color: var(--porsche-red); }

/* --- Conteúdo --- */
.painel main.wrap { flex: 1; padding-top: 40px; padding-bottom: 64px; }
.painel h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.painel h2 { font-size: 1.15rem; font-weight: 700; margin: 48px 0 16px; }
.painel p  { color: var(--porsche-grey-mid); font-size: .92rem; line-height: 1.55; }
.painel small { display: block; font-size: .75rem; color: var(--porsche-grey-mid); }

.painel .page-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--porsche-grey-border);
}
.painel .page-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 72px; height: 3px;
  background: var(--porsche-red);
}

/* --- Formulários --- */
.painel form { display: flex; flex-direction: column; gap: 18px; }
.painel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: #3b3d42;
}
.painel input:not([type="checkbox"]):not([type="file"]),
.painel select,
.painel textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 400;
  color: var(--porsche-black);
  background: #fbfbfc;
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.painel textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.painel input:focus, .painel select:focus, .painel textarea:focus {
  background: var(--porsche-white);
  border-color: var(--porsche-black);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.painel input[type="file"] {
  padding: 9px;
  font-family: inherit;
  font-size: .85rem;
  background: #fbfbfc;
  border: 1px dashed #c4c7cc;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.painel input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 600;
  color: var(--porsche-white);
  background: var(--porsche-black);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.painel input[type="file"]::file-selector-button:hover { background: var(--porsche-red); }

.painel label.chk {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.painel input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--porsche-black); cursor: pointer; }

.painel .previa {
  max-width: 100%;
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-sm);
  background: var(--porsche-white);
  padding: 6px;
}

/* --- Cartões / formulários --- */
.painel .card,
.painel form.narrow {
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.painel .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.painel .form-grid .full { grid-column: 1 / -1; }
.painel .form-card-title { font-size: 1.1rem; font-weight: 700; color: var(--porsche-black); }
.painel .form-card-title.editando::before {
  content: "A EDITAR";
  display: inline-block;
  margin-right: 10px;
  padding: 3px 10px;
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--porsche-white);
  background: var(--porsche-red);
  border-radius: 999px;
  vertical-align: middle;
}

/* Login, instalação e "Novo utilizador" */
.painel form.narrow { width: 100%; max-width: 440px; margin: 40px auto 0; border-top: 4px solid var(--porsche-red); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.painel form.narrow h1 { text-align: center; }
.painel main > form.narrow:not(:first-child) { margin: 24px 0 0; max-width: 520px; }

/* --- Botões --- */
.painel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--porsche-white);
  background: var(--porsche-black);
  border: 1px solid var(--porsche-black);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.painel .btn:hover {
  background: var(--porsche-red);
  border-color: var(--porsche-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(213,0,28,.25);
}
.painel .btn.ghost { background: transparent; color: var(--porsche-black); border-color: var(--porsche-grey-border); }
.painel .btn.ghost:hover { background: var(--porsche-black); color: var(--porsche-white); border-color: var(--porsche-black); box-shadow: none; }
.painel .btn.danger { background: transparent; color: var(--porsche-red); border-color: #f2b8bf; }
.painel .btn.danger:hover { background: var(--porsche-red); color: var(--porsche-white); border-color: var(--porsche-red); box-shadow: none; }
.painel .btn.sm { padding: 7px 14px; font-size: .72rem; }
.painel .btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* --- Mensagens --- */
.painel .erro { font-size: .85rem; color: var(--porsche-red); text-align: center; }
.painel .erro:empty { display: none; }
.painel .alerta { padding: 14px 18px; margin-bottom: 24px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; }
.painel .alerta.ok   { background: #e6f7ec; color: #11682f; border: 1px solid #c2e8d0; }
.painel .alerta.erro { background: #feecee; color: var(--porsche-red); border: 1px solid #f9c9ce; text-align: left; }

/* --- Tabela --- */
.painel .tabela {
  overflow-x: auto;
  background: var(--porsche-white);
  border: 1px solid var(--porsche-grey-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.painel .tabela table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.painel .tabela th {
  padding: 14px 16px;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--porsche-grey-mid);
  background: #f7f8f9;
  border-bottom: 1px solid var(--porsche-grey-border);
}
.painel .tabela td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid var(--porsche-grey-border); }
.painel .tabela tr:last-child td { border-bottom: 0; }
.painel .tabela tbody tr:hover td, .painel .tabela tr:hover td { background: #fafafb; }
.painel .tabela .acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.painel .tabela .acoes form { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.painel .tabela .acoes input[type="password"] { width: 150px; padding: 7px 10px; font-size: .8rem; }
.painel .tabela .vazio { padding: 40px; text-align: center; color: var(--porsche-grey-mid); }

/* --- Etiquetas --- */
.painel .badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #eaecf0;
  color: #555962;
  white-space: nowrap;
}
.painel .badge.on  { background: #e6f7ec; color: #11682f; }
.painel .badge.off { background: #fdf2f3; color: var(--porsche-red); }

@media (max-width: 768px) {
  .painel .top { padding: 10px 16px; }
  .painel .form-grid { grid-template-columns: 1fr; }
  .painel .card, .painel form.narrow { padding: 22px 18px; }
  .painel form.narrow { margin-top: 16px; }
}

/* A tabela não se esmaga em ecrãs pequenos: faz scroll horizontal dentro do cartão */
.painel .tabela table { min-width: 720px; }

/* Foco visível para quem navega com o teclado */
.painel .btn:focus-visible,
.painel .painel-nav a:focus-visible {
  outline: 2px solid var(--porsche-red);
  outline-offset: 2px;
}