:root {
  --bg-dark: #07131d;
  --bg-deep: #091925;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(255, 255, 255, 0.1);
  --text-main: #f3f7fb;
  --text-soft: #b9c7d6;
  --line: rgba(255, 255, 255, 0.1);

  --ipiranga-yellow: #ffd000;
  --ipiranga-blue: #0057b8;
  --ipiranga-orange: #ff7a00;

  --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 15px 45px rgba(0, 0, 0, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 0, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(0, 87, 184, 0.15), transparent 30%),
    linear-gradient(180deg, #05111a 0%, #081722 40%, #06131c 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 110px 0;
}

.bg-section-dark {
  background: linear-gradient(180deg, rgba(6, 19, 28, 0.95), rgba(5, 15, 23, 0.98));
}

.bg-section-gradient {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 208, 0, 0.05), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(0, 87, 184, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(9, 25, 37, 0.98), rgba(7, 19, 29, 0.98));
}

.section-heading {
  max-width: 860px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ipiranga-yellow);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.text-highlight {
  background: linear-gradient(90deg, var(--ipiranga-yellow), #fff3a2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.custom-navbar {
  background: rgba(6, 18, 27, 0.35);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 14px 0;
}

.custom-navbar.scrolled {
  background: rgba(7, 18, 28, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.navbar-brand {
  color: #fff !important;
  font-size: 1rem;
}

.brand-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ipiranga-yellow), var(--ipiranga-orange));
  box-shadow: 0 0 20px rgba(255, 208, 0, 0.7);
}

.nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: var(--ipiranga-yellow) !important;
}

.custom-toggler {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.custom-toggler .navbar-toggler-icon {
  filter: invert(1);
}

/* BOTÕES */
.btn-brand {
  background: linear-gradient(135deg, var(--ipiranga-yellow), var(--ipiranga-orange));
  color: #101010;
  border: none;
  font-weight: 700;
  padding: 0.95rem 1.45rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(255, 166, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-brand:hover {
  transform: translateY(-3px);
  color: #000;
  box-shadow: 0 18px 40px rgba(255, 166, 0, 0.34);
}

.btn-outline-light {
  border-radius: 14px;
  font-weight: 600;
  padding: 0.95rem 1.45rem;
}

/* HERO */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(rgba(3, 10, 16, 0.62), rgba(3, 10, 16, 0.75)),
    url("https://images.unsplash.com/photo-1459749411175-04bf5292ceea?auto=format&fit=crop&w=1600&q=80")
      center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 208, 0, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(0, 87, 184, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(4, 10, 16, 0.15), rgba(4, 10, 16, 0.72));
}

.hero-content {
  z-index: 2;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-shape-1 {
  width: 260px;
  height: 260px;
  background: rgba(255, 208, 0, 0.18);
  top: 100px;
  left: -80px;
}

.hero-shape-2 {
  width: 340px;
  height: 340px;
  background: rgba(0, 87, 184, 0.18);
  bottom: 50px;
  right: -80px;
}

.eyebrow {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff4ba;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-text {
  color: #d8e4ef;
  max-width: 720px;
  line-height: 1.85;
}

.glass-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 208, 0, 0.6),
    rgba(255, 122, 0, 0.35),
    rgba(0, 87, 184, 0.45)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 208, 0, 0.12);
  color: #ffe98b;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-content p {
  color: var(--text-soft);
  line-height: 1.8;
}

.hero-mini-stats .mini-stat {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  height: 100%;
}

.mini-stat h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--ipiranga-yellow);
}

.mini-stat p {
  color: #d0dceb;
  font-size: 0.95rem;
  margin: 0;
}

/* CARDS */
.info-card,
.strategy-card,
.small-feature-card,
.metric-box,
.experience-panel,
.conclusion-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.info-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  height: 100%;
}

.info-card:hover,
.strategy-card:hover,
.small-feature-card:hover,
.gallery-card:hover,
.experience-panel:hover {
  transform: translateY(-6px);
}

.icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.18), rgba(0, 87, 184, 0.16));
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  color: var(--ipiranga-yellow);
}

.info-card h4,
.strategy-card h4,
.small-feature-card h5 {
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.info-card p,
.strategy-card p,
.small-feature-card p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.highlight-band {
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(255, 208, 0, 0.08), rgba(0, 87, 184, 0.08)),
    #07141f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-band h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.highlight-band p {
  color: var(--text-soft);
  line-height: 1.9;
}

.metric-box {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.metric-item + .metric-item {
  margin-top: 1rem;
}

.metric-number {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ipiranga-yellow);
}

.metric-label {
  display: block;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.strategy-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-lg);
  height: 100%;
  transition: 0.35s ease;
}

.strategy-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.15), transparent 60%);
}

.strategy-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ipiranga-yellow), var(--ipiranga-orange));
  color: #111;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

/* EXPERIENCE */
.experience-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  height: 100%;
  transition: 0.35s ease;
}

.experience-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.experience-content {
  padding: 1.8rem;
}

.experience-content h3 {
  font-weight: 800;
}

.experience-content p {
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 0;
}

.tag-pill {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 208, 0, 0.12);
  color: #ffe68d;
  font-weight: 700;
  font-size: 0.88rem;
}

.small-feature-card {
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius-lg);
  transition: 0.35s ease;
}

.small-feature-card i {
  font-size: 1.75rem;
  color: var(--ipiranga-yellow);
  margin-bottom: 1rem;
  display: inline-block;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 208, 0, 0.8),
    rgba(255, 255, 255, 0.15),
    rgba(0, 87, 184, 0.8)
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2rem 2rem 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ipiranga-yellow), var(--ipiranga-orange));
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(255, 166, 0, 0.25);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -26px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -26px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.timeline-content h5 {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

/* INSIGHTS */
.insight-list {
  display: grid;
  gap: 1rem;
}

.insight-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.insight-item i {
  color: var(--ipiranga-yellow);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.insight-item span {
  color: #d7e2ee;
  line-height: 1.7;
}

/* GALERIA */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 340px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: 0.35s ease;
}

.gallery-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
}

.gallery-overlay span {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

/* CONCLUSÃO */
.conclusion-box {
  padding: 3rem 2rem;
  border-radius: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.conclusion-text {
  max-width: 820px;
  color: var(--text-soft);
  line-height: 1.95;
  font-size: 1.05rem;
}

/* FOOTER */
.footer-area {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #050f17;
  color: #9fb0c3;
}

.footer-area p {
  font-size: 0.96rem;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ipiranga-yellow), var(--ipiranga-orange));
  color: #111;
  font-size: 1.15rem;
  box-shadow: 0 15px 35px rgba(255, 166, 0, 0.3);
  z-index: 999;
  transition: 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-4px);
  color: #000;
}

/* RESPONSIVO */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 90px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 90px;
  }

  .hero-image {
    height: 300px;
  }

  .timeline::before {
    left: 24px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0 0 1.5rem 4.2rem;
  }

  .timeline-item .timeline-icon {
    left: -2px !important;
    right: auto !important;
  }

  .conclusion-box {
    padding: 2.2rem 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-card {
    padding: 1rem;
  }

  .hero-image {
    height: 240px;
  }

  .gallery-card,
  .gallery-img {
    min-height: 280px;
    height: 280px;
  }

  .btn-brand,
  .btn-outline-light {
    width: 100%;
    text-align: center;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(6, 18, 27, 0.95);
    border: 1px solid var(--line);
  }
}