:root {
  color-scheme: light;
  --navy: #081d59;
  --blue: #1248b6;
  --text: #23416d;
  --green-1: #14c54b;
  --green-2: #00ab39;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #edf2f7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible {
  outline: 3px solid #0d61ff;
  outline-offset: 4px;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero__bg,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__bg {
  z-index: -3;
  background: url('../assets/posto-fundo-blur.jpg') center center / cover no-repeat;
  transform: scale(1.03);
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(242, 246, 252, 0.76) 0%, rgba(241, 245, 251, 0.72) 42%, rgba(236, 241, 248, 0.70) 100%),
    radial-gradient(circle at center, rgba(255,255,255,0.16), rgba(255,255,255,0));
}

.hero__content {
  width: min(100%, 1180px);
  padding: clamp(36px, 5.5vw, 60px) 20px clamp(42px, 7vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: auto;
  height: clamp(120px, 17vw, 170px);
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(7, 28, 83, 0.10));
}

.eyebrow {
  margin: 0 0 16px;
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--navy);
}

.lead {
  width: min(100%, 940px);
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.42;
  color: var(--text);
}

.intro {
  margin: 26px 0 0;
  font-size: clamp(0.98rem, 1.45vw, 1.22rem);
  font-weight: 700;
  color: #143978;
}

.intro::before {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #3864cb;
}

.services {
  width: min(100%, 980px);
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 36px);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service__icon {
  width: clamp(92px, 8vw, 110px);
  height: clamp(92px, 8vw, 110px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 4px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(16, 43, 102, 0.12);
  display: grid;
  place-items: center;
  color: #0d59d3;
}

.service__icon svg {
  width: 55%;
  height: 55%;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.04rem, 1.45vw, 1.52rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.service p {
  margin: 0;
  max-width: 240px;
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  line-height: 1.38;
  color: var(--text);
}

.whatsapp {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: min(100%, 420px);
  min-height: 82px;
  padding: 14px 28px;
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  text-align: left;
  background: linear-gradient(115deg, var(--green-1), var(--green-2));
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: 0 14px 34px rgba(3, 142, 56, 0.22);
  transition: transform .2s ease, filter .2s ease;
}

.whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.whatsapp__icon {
  width: 44px;
  height: 44px;
  flex: none;
}

.whatsapp span {
  display: grid;
  gap: 3px;
  flex: 1;
}

.whatsapp strong {
  font-size: clamp(1.16rem, 1.3vw, 1.36rem);
}

.whatsapp small {
  font-size: clamp(0.96rem, 1.02vw, 1.06rem);
  font-weight: 700;
}

.whatsapp__arrow {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 920px) {
  .hero__content {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .services {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .hero__bg {
    background-position: center center;
    transform: scale(1.04);
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.82) 0%, rgba(242, 246, 252, 0.76) 58%, rgba(236, 241, 248, 0.72) 100%);
  }

  .logo {
    height: 128px;
    margin-bottom: 12px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.9rem);
    line-height: 0.98;
  }

  .lead {
    font-size: 1rem;
    max-width: 92%;
  }

  .intro {
    font-size: 0.95rem;
    margin-top: 22px;
  }

  .intro::before {
    margin-bottom: 16px;
  }

  .services {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    gap: 16px;
    margin-top: 26px;
  }

  .service {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 2px 14px;
    text-align: left;
  }

  .service__icon {
    width: 64px;
    height: 64px;
    grid-row: 1 / span 2;
    border-width: 3px;
  }

  .service h2 {
    margin: 0;
    font-size: 1.02rem;
  }

  .service p {
    max-width: none;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .whatsapp {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 70px;
    padding: 12px 20px;
    margin-top: 28px;
  }

  .whatsapp__icon {
    width: 38px;
    height: 38px;
  }

  .whatsapp strong {
    font-size: 1.04rem;
  }

  .whatsapp small {
    font-size: 0.92rem;
  }
}

@media (max-width: 380px) {
  .hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    height: 112px;
  }

  .eyebrow {
    font-size: 0.67rem;
  }

  .service {
    grid-template-columns: 58px 1fr;
    gap: 4px 12px;
  }

  .service__icon {
    width: 54px;
    height: 54px;
  }

  .service h2 {
    font-size: 0.96rem;
  }

  .service p {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp {
    transition: none;
  }
}

/* v3 — refinamento visual seguindo a arte aprovada */
.hero { background: #bfd4ec; }
.hero__bg {
  background-image: url('../assets/posto-fundo.jpg');
  background-size: cover;
  background-position: 58% 48%;
  filter: saturate(1.18) contrast(1.06) brightness(1.08) blur(2px);
  transform: scale(1.025);
}
.hero__veil {
  background:
    radial-gradient(ellipse 51% 58% at 45% 45%, rgba(249,252,255,.88) 0%, rgba(244,249,255,.80) 53%, rgba(239,246,255,.31) 85%, rgba(239,246,255,0) 100%),
    linear-gradient(90deg, rgba(233,244,255,.68) 0%, rgba(238,247,255,.55) 28%, rgba(240,247,255,.23) 58%, rgba(239,246,255,.02) 100%),
    linear-gradient(180deg, rgba(179,213,250,.12) 0%, rgba(235,244,255,.1) 68%, rgba(10,35,82,.23) 100%);
}
.hero__content {
  width: min(100%, 1080px);
  padding-top: 38px;
  padding-bottom: 42px;
  text-shadow: 0 1px 14px rgba(250,252,255,.30);
}
.logo {
  height: clamp(165px, 22vh, 238px);
  margin-bottom: 22px;
  filter: drop-shadow(0 8px 17px rgba(5,30,83,.16));
}
.eyebrow { font-size: .73rem; letter-spacing: .14em; margin-bottom: 20px; }
h1 { font-size: clamp(2.5rem, 4.55vw, 4.55rem); line-height: 1.05; letter-spacing: -.05em; }
.lead { max-width: 820px; margin-top: 17px; font-size: clamp(1.09rem, 1.76vw, 1.46rem); line-height: 1.38; }
.intro { margin-top: 20px; font-size: clamp(1rem, 1.32vw, 1.16rem); }
.intro::before { margin-bottom: 16px; }
.services { width: min(100%, 860px); margin-top: 25px; gap: clamp(18px, 3vw, 48px); }
.service__icon { width: clamp(88px, 8.3vw, 112px); height: clamp(88px, 8.3vw, 112px); background: rgba(255,255,255,.95); box-shadow: 0 10px 28px rgba(18,41,92,.2); }
.service h2 { font-size: clamp(1.02rem, 1.5vw, 1.37rem); margin-top: 12px; }
.service p { font-size: clamp(.86rem, 1.05vw, .98rem); }
.whatsapp { margin-top: 27px; }
@media (max-width: 680px) {
  .hero__bg { background-position: 64% 50%; filter: saturate(1.17) contrast(1.04) brightness(1.06) blur(1.5px); }
  .hero__veil {
    background: linear-gradient(180deg, rgba(241,248,255,.77) 0%, rgba(242,248,255,.82) 47%, rgba(242,248,255,.68) 72%, rgba(230,240,253,.44) 100%);
  }
  .hero__content { padding: 25px 20px 34px; }
  .logo { height: 150px; margin-bottom: 14px; }
  .eyebrow { font-size: .68rem; margin-bottom: 13px; letter-spacing: .1em; }
  h1 { font-size: clamp(2.2rem, 9vw, 3.25rem); line-height: 1.04; }
  .lead { margin-top: 13px; font-size: .99rem; }
  .intro { margin-top: 18px; font-size: .91rem; }
  .services { margin-top: 23px; gap: 14px; }
  .service__icon { width: 64px; height: 64px; }
  .service h2 { margin: 0; font-size: 1rem; }
  .service p { font-size: .8rem; }
  .whatsapp { margin-top: 26px; }
}
@media (max-width: 380px) {
  .logo { height: 128px; }
  .service__icon { width: 53px; height: 53px; }
  .service h2 { font-size: .96rem; }
  .service p { font-size: .75rem; }
}
