:root {
  --azul: #2B3A9E;
  --verde: #00913F;
  --amarelo: #FFC72C;
  --escuro: #0B0D14;
  --texto: #1A1D26;
  --texto-claro: #F5F6FA;
  --cinza: #6B7280;
  --branco: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--branco);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: .75rem;
  gap: .5rem 1rem;
}

.header__logo {
  height: 32px;
  width: auto;
}

.header__nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: .25rem;
  padding-top: .5rem;
}

.header__nav--open {
  display: flex;
}

.header__nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 600;
  font-size: 1rem;
  padding: .5rem 0;
}

.header__nav a:hover {
  color: var(--azul);
}

.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--texto);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background-image: image-set(url('assets/hero.webp') type('image/webp'), url('assets/hero.jpg') type('image/jpeg'));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__overlay {
  background: linear-gradient(rgba(10, 12, 30, .6), rgba(10, 12, 30, .6));
  padding: 4.5rem 0;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  color: var(--branco);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--texto-claro);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}

.btn--primary {
  background: var(--amarelo);
  color: var(--texto);
}

.btn--primary:hover {
  background: #F5B91B;
  transform: translateY(-2px);
}

/* Strip de certificações */
.strip {
  background: var(--branco);
  border-bottom: 1px solid #E5E7EB;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}

.strip__text {
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cinza);
}

.strip__badges {
  display: flex;
  gap: 1.25rem;
}

.strip__badge {
  height: 44px;
  width: auto;
}

/* Seções genéricas */
.section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--cinza);
}

/* Produtos */
.produtos {
  background: var(--escuro);
  color: var(--texto-claro);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.produtos .section__text {
  color: #B7BCCB;
}

.produtos__text {
  max-width: 720px;
  margin-bottom: 3rem;
}

.produtos__figure {
  text-align: center;
}

.produtos__img {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.produtos__caption {
  margin-top: 1rem;
  font-size: .9rem;
  color: #8A90A3;
}

/* Contato */
.contato {
  background: var(--branco);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}

.contato__inner {
  max-width: 720px;
}

.contato .section__text {
  margin-bottom: 2rem;
}

/* Rodapé */
.footer {
  background: var(--azul);
  color: var(--texto-claro);
  padding: 2.5rem 0;
  text-align: center;
  font-size: .95rem;
}

.footer__inner {
  display: grid;
  gap: .35rem;
}

.footer__link {
  color: var(--amarelo);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

/* Tablet e desktop */
@media (min-width: 768px) {
  .container {
    width: min(1120px, 100% - 3rem);
  }

  .header__inner {
    flex-wrap: nowrap;
  }

  .header__logo {
    height: 44px;
  }

  .header__nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    gap: 1.5rem;
    padding-top: 0;
  }

  .header__nav a {
    font-size: .95rem;
    padding: 0;
  }

  .header__toggle {
    display: none;
  }

  .hero__overlay {
    padding: clamp(5rem, 12vw, 9rem) 0;
  }

  .btn {
    padding: .9rem 2rem;
    font-size: 1rem;
  }

  .strip__inner {
    gap: 1.5rem 3rem;
  }

  .strip__badges {
    gap: 2rem;
  }

  .strip__badge {
    height: 56px;
  }
}
