/* ============================================================
   Rede Monaco — Home institucional (HTML/CSS estático)
   Tokens extraídos do Figma: fundo #efefed, azul #2878a8,
   cartões translúcidos com blur, tipografia Plus Jakarta Sans.
   ============================================================ */

:root {
  --color-bg: #efefed;
  --color-card-bg: rgba(255, 255, 255, 0.92);
  --color-accent: #2878a8;
  --color-heading: #111111;
  --color-eyebrow: #999999;
  --color-body-text: #333333;
  --color-white: #ffffff;

  --radius-card: 24px;
  --radius-pill: 100px;

  --max-width: 1140px;

  --font-sans: "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-body-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

/* ---------- Page shell ---------- */

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

/* Decorative background artwork (photo + shapes), right side of the frame */
.bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-decoration picture,
.bg-decoration img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 70%;
  object-fit: cover;
  object-position: left center;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Hero card ---------- */

.hero-card {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 32px clamp(20px, 4vw, 48px);
  background: var(--color-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-card);
}

.hero-logo {
  flex: 1 0 0;
  min-width: 0;
}

.hero-logo img {
  width: min(400px, 100%);
  height: auto;
}

.hero-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
  line-height: 1.5;
}

.headline {
  margin: 0;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 41.6px);
  line-height: 1.1;
  color: var(--color-heading);
}

.headline .accent {
  color: var(--color-accent);
}

/* ---------- Cards grid (2 columns) ---------- */

.cards-grid {
  display: flex;
  gap: 24px;
  width: 100%;
}

.card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 32px clamp(20px, 3vw, 36px);
  background: var(--color-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-card);
}

.card-logo {
  width: min(220px, 100%);
  height: auto;
}

.card-body {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.card-text {
  flex: 1 0 0;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-body-text);
}

/* ---------- CTA button ---------- */

.btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background-color: #1f6088;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--color-heading);
  outline-offset: 3px;
}

.btn-icon {
  flex-shrink: 0;
  width: 12px;
  height: auto;
}

/* ============================================================
   Responsive breakpoints
   ============================================================ */

/* Tablet: stack hero content, keep decorative art but softer */
@media (max-width: 900px) {
  .bg-decoration img {
    width: 60%;
    opacity: 0.6;
  }

  .hero-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cards-grid {
    flex-direction: column;
  }

  .card {
    height: auto;
  }
}

/* Mobile: drop the decorative photo entirely (keeps the page light
   and text fully legible), stack card text above the button */
@media (max-width: 600px) {
  .bg-decoration {
    display: none;
  }

  .hero-card,
  .card {
    padding: 24px 20px;
  }

  .card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
