/* ============================================================
   Douglas Ruas — Landing Page · Branding Partido Liberal (PL)
   ============================================================ */

:root {
  --blue: #0a3d8f;
  --blue-dark: #062a66;
  --blue-deep: #041d47;
  --blue-night: #021330;
  --yellow: #ffd200;
  --yellow-soft: #ffdd3d;
  --green: #009c3b;
  --green-bright: #16b24e;
  --white: #ffffff;
  --ink: #0e1c38;
  --muted: #55647f;
  --paper: #f5f8fd;
  --line: rgba(10, 61, 143, 0.1);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px -24px rgba(4, 29, 71, 0.35);
  --shadow-md: 0 14px 34px -16px rgba(4, 29, 71, 0.28);

  --font-head: "Anton", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* espaço para o rodapé fixo de transparência */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia auxiliar ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}
.eyebrow-light { color: var(--yellow); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--yellow), var(--green-bright)); }

h2 {
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
h2 em {
  font-style: normal;
  color: var(--green);
}

/* ---------- Animação de entrada (scroll reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--blue-deep);
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  background:
    radial-gradient(1100px 380px at 12% -20%, rgba(255, 210, 0, 0.14), transparent 60%),
    radial-gradient(900px 420px at 95% 120%, rgba(0, 156, 59, 0.22), transparent 55%),
    linear-gradient(115deg, var(--blue-night) 0%, var(--blue-dark) 48%, var(--blue) 100%);
  overflow: hidden;
}
/* textura sutil de pontos */
.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(100deg, transparent 35%, black 80%);
  pointer-events: none;
}
.hero-content-inner {
  position: relative;
  z-index: 1;
  padding-top: 58px;
  padding-bottom: 62px;
  max-width: 860px;
}
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(255, 210, 0, 0.35);
  background: rgba(255, 210, 0, 0.08);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 0;
}
.social-icons {
  display: inline-flex;
  gap: 10px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-icons a:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(255, 210, 0, 0.18);
}
.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.hero-content h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
  max-width: 20ch;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--yellow);
  position: relative;
  white-space: nowrap;
}
.hero-content h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: rgba(255, 210, 0, 0.22);
  z-index: -1;
  border-radius: 3px;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  max-width: 560px;
}
.hero-content p strong { color: var(--white); }

.lead-cta {
  margin-top: 26px;
  max-width: 620px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #1db954, #19a84a);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1rem;
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 12px 26px -12px rgba(29, 185, 84, 0.75);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.lead-cta-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* faixa de bandeira: verde/amarelo */
.hero-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-bright) 45%, var(--yellow) 45.01%, var(--yellow) 100%);
}

/* ============================================================
   QUEM É (bio)
   ============================================================ */
.bio {
  padding: 96px 0 84px;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(10, 61, 143, 0.05), transparent 60%),
    var(--white);
}
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 64px;
  align-items: center;
}

.bio-photo {
  position: relative;
  margin: 0;
}
.bio-photo > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
/* moldura deslocada atrás da foto */
.bio-photo::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 210, 0, 0.9), rgba(0, 156, 59, 0.85));
  z-index: 0;
}
.bio-photo::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.25;
  z-index: 0;
}
.bio-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  box-shadow: var(--shadow-md);
}
.bio-photo figcaption img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.bio-photo figcaption span {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue-dark);
  line-height: 1.25;
}
.bio-photo figcaption small {
  display: block;
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.bio-text h2 { color: var(--blue-deep); margin-bottom: 10px; }
.bio-sub {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}
.bio-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.bio-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.bio-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: 0.02em;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
}
.bio-stats span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

/* ============================================================
   ENTREGAS
   ============================================================ */
.deliveries {
  padding: 92px 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(0, 156, 59, 0.25), transparent 55%),
    radial-gradient(800px 400px at 0% 110%, rgba(255, 210, 0, 0.1), transparent 50%),
    linear-gradient(155deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-night) 100%);
  color: var(--white);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { justify-content: center; }
.deliveries .section-head h2 { color: var(--white); }
.deliveries .section-head h2 em { color: var(--yellow); }

.deliveries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.delivery-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.delivery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 210, 0, 0.6);
  background: rgba(255, 255, 255, 0.08);
}
.check-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: var(--white);
  box-shadow: 0 10px 22px -8px rgba(0, 156, 59, 0.55);
  margin-bottom: 18px;
}
.check-icon svg { width: 22px; height: 22px; }
.delivery-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--white);
}
.delivery-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
}

/* ============================================================
   CITAÇÃO
   ============================================================ */
.quote {
  padding: 92px 0;
  background: var(--paper);
}
.quote blockquote {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  padding: 56px 60px 44px;
  border-top: 6px solid var(--yellow);
}
.quote-mark {
  position: absolute;
  top: 8px;
  left: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(10, 61, 143, 0.12);
  pointer-events: none;
  user-select: none;
}
.quote blockquote > p {
  position: relative;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  margin-bottom: 30px;
}
.quote blockquote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.quote blockquote footer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 0 0 3px var(--yellow);
}
.quote cite {
  display: block;
  font-style: normal;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.3;
}
.quote footer span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--blue-night);
  color: var(--white);
  border-top: 5px solid;
  border-image: linear-gradient(90deg, var(--green), var(--yellow)) 1;
}
.footer-inner {
  padding: 34px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.footer-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}
.footer-tag {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--yellow);
  font-weight: 800;
}
.footer-copy { color: rgba(255, 255, 255, 0.6); font-size: 0.84rem; }

/* ---------- Rodapé de transparência (fixo, obrigatório) ---------- */
.legal-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--blue-night);
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -8px 22px -10px rgba(0, 0, 0, 0.45);
}
.legal-fixed p {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.66rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.legal-fixed strong { color: var(--yellow); font-weight: 800; }
.legal-sep { margin: 0 7px; opacity: 0.4; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .bio-photo { max-width: 430px; margin: 0 auto; }
}

@media (max-width: 767px) {
  body { padding-bottom: 96px; }

  .hero-content-inner {
    padding-top: 40px;
    padding-bottom: 46px;
    text-align: center;
  }
  .hero-top {
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
  }
  .hero-content h1 { margin-left: auto; margin-right: auto; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .lead-cta { text-align: center; margin-left: auto; margin-right: auto; }

  .bio { padding: 64px 0 56px; }
  .bio-photo::before { inset: 16px -14px -16px 14px; }
  .bio-photo figcaption { left: 10px; bottom: 10px; padding: 8px 14px 8px 8px; }
  .bio-stats { grid-template-columns: 1fr; gap: 16px; }
  .bio-stats li {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .bio-stats strong { margin-bottom: 0; }

  .deliveries { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .deliveries-grid { grid-template-columns: 1fr; gap: 16px; }
  .delivery-card { padding: 24px 22px; }

  .quote { padding: 60px 0; }
  .quote blockquote { padding: 42px 26px 32px; }
  .quote-mark { left: 18px; font-size: 5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .legal-fixed p { font-size: 0.6rem; padding: 7px 12px; }
}
