/* Tenvê · site institucional
   Desktop (>=1240px) reproduz o frame "SITE" do Figma (1920px, container de 1200px)
   com as mesmas coordenadas; abaixo disso o layout vira fluxo empilhado. */

@font-face { font-family: "Targa Pro"; font-weight: 400; font-display: swap; src: url("assets/fonts/TargaPro-Regular.ttf") format("truetype"); }
@font-face { font-family: "Targa Pro"; font-weight: 700; font-display: swap; src: url("assets/fonts/TargaPro-Bold.ttf") format("truetype"); }
@font-face { font-family: "Targa Pro"; font-weight: 800; font-display: swap; src: url("assets/fonts/TargaPro-Extrabold.ttf") format("truetype"); }
@font-face { font-family: "Steradian"; font-weight: 300; font-display: swap; src: url("assets/fonts/Steradian-Light.otf") format("opentype"); }
@font-face { font-family: "Steradian"; font-weight: 500; font-display: swap; src: url("assets/fonts/Steradian-Medium.otf") format("opentype"); }
@font-face { font-family: "Steradian"; font-weight: 700; font-display: swap; src: url("assets/fonts/Steradian-Bold.otf") format("opentype"); }
@font-face { font-family: "Steradian"; font-weight: 900; font-display: swap; src: url("assets/fonts/Steradian-Black.otf") format("opentype"); }

:root {
  --green: #7dde21;
  --green-dark: #05662b;
  --lime: #e0ff94;
  --ink: #333;
  --text-light: #e7e7e7;
  --targa: "Targa Pro", "Barlow Condensed", "Arial Narrow", sans-serif;
  --steradian: "Steradian", "Poppins", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--targa); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: none; }
a { color: inherit; }
[hidden] { display: none !important; }

.sec { position: relative; overflow: clip; }
.wrap { position: relative; width: 1200px; margin: 0 auto; height: var(--h); }
.a { position: absolute; left: var(--x); top: var(--y); width: var(--w, auto); }
.g { color: var(--green); }

.h-xl { font-family: var(--targa); font-weight: 800; font-size: 59.878px; line-height: 72px; }
.txt-light { font-family: var(--steradian); font-weight: 300; font-size: 18.896px; line-height: 28.834px; letter-spacing: 2.0785px; color: var(--text-light); }
.txt-light .sp { margin-top: 28.834px; }

.pill { display: block; height: 30px; width: 142.5px; border-radius: 13.75px; font-weight: 800; font-size: 22.983px; line-height: normal; white-space: nowrap; }
.pill-dark { background: var(--green-dark); color: var(--lime); padding: 2.61px 0 0 17px; }
.pill-lime { background: var(--lime); color: var(--green-dark); padding: 0.61px 0 0 29px; }

/* ---------- Topo ---------- */
.sec-header { background: #fff; z-index: 3; }
.logo img { width: 250px; height: 65px; }
.nav a { display: block; text-align: center; white-space: nowrap; text-decoration: none; font-family: var(--steradian); font-weight: 300; font-size: 15.135px; line-height: 23.095px; color: var(--ink); }
.nav a:hover { color: var(--green-dark); }
.btn-header {
  display: flex; align-items: center; justify-content: center;
  width: 245px; height: 35.933px; padding: 1.633px 16.333px 5.717px;
  border-radius: 20.734px; background: var(--green); color: #fff;
  font-weight: 800; font-size: 27.474px; line-height: normal; text-decoration: none; white-space: nowrap;
  transition: filter .15s;
}
.btn-header:hover, .btn-vistoria:hover, .btn-franq:hover { filter: brightness(1.07); }

/* ---------- Hero ---------- */
.sec-hero { background: #fff; }
.sec-hero::before {
  content: ""; position: absolute; left: calc(50% - 960px); top: -40px;
  width: 1920px; height: 741px;
  background: url("assets/img/hero-bg.webp") 0 0 / 100% 100% no-repeat;
}
.hero-title { color: var(--ink); }
.hero-text { font-family: var(--steradian); font-weight: 300; font-size: 18.896px; line-height: 28.834px; letter-spacing: 2.0785px; color: var(--ink); white-space: nowrap; }

/* ---------- Se tem V ---------- */
.sec-verdade { z-index: 2; overflow-x: clip; overflow-y: visible; background: #0a5a26; }
.sec-verdade::before {
  content: ""; position: absolute; left: calc(50% - 960px); top: 0;
  width: 2177.7px; height: 100%;
  background: url("assets/img/verdade-bg.webp") 0 -236.2px / 2177.7px 1225px no-repeat;
}
.verdade-title { color: var(--green); }
.v3d { width: 550px; height: 687px; object-fit: cover; z-index: 3; pointer-events: none; }

/* ---------- Diferenciais ---------- */
.sec-dif { background: #fff; }
.dif-title { color: var(--green-dark); text-align: center; }
.card { width: 285px; height: 253px; border-radius: 23px; background: var(--lime); }
.card h3 { position: absolute; left: var(--tx); top: var(--ty); width: var(--tw); font-family: var(--steradian); font-weight: 700; font-size: 26.193px; line-height: 29px; color: var(--green-dark); }
.card p { position: absolute; left: var(--tx); top: 90px; width: var(--dw); font-family: var(--steradian); font-weight: 300; font-size: 18px; line-height: 29px; color: #414141; }

/* ---------- Como funciona ---------- */
.sec-como { background: var(--green); }
.como-title { color: var(--green-dark); text-align: center; }
.step { height: var(--sh); border-radius: 21.483px; background: rgba(224, 255, 148, .42); }
.step-icon { position: absolute; left: var(--ix); top: var(--iy); }
.step p { position: absolute; left: var(--tx); top: 157px; width: var(--tw); font-weight: 800; font-size: 25.779px; line-height: normal; color: var(--green-dark); }

/* ---------- Propósito ---------- */
.sec-prop { background: #131313 url("assets/img/oque-bg.webp") center / cover no-repeat; }
.sec-prop::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .84); }
.prop-title { color: var(--lime); }
.prop-foto { width: 493px; height: 493px; border-radius: 25px; object-fit: fill; }

/* ---------- Selo ---------- */
.sec-selo { background: #131313; }
.sec-selo::before {
  content: ""; position: absolute; left: calc(50% - 960px); top: 0;
  width: 1920px; height: 100%;
  background: url("assets/img/form-bg.webp") 0 -348.3px / 1920px 1080px no-repeat;
}
.selo-title { color: var(--green); }
.selo-sub { color: #fff; }
.btn-vistoria {
  display: flex; align-items: center; justify-content: center;
  width: 407px; height: 56px; padding: 2.58px 25.8px 9.03px;
  border-radius: 32.752px; background: var(--green); color: #fff;
  font-weight: 800; font-size: 43.397px; line-height: normal; text-decoration: none; white-space: nowrap;
  transition: filter .15s;
}
.selo-fundo {
  width: 328px; height: 328px; border-radius: 18px;
  background: url("assets/img/selo-fundo.webp") -41.164px -96.268px / 565.669px 424.268px no-repeat;
}
.selo-wrap { display: flex; align-items: center; justify-content: center; width: 468.502px; height: 547.665px; pointer-events: none; }
.selo { width: 375.425px; height: 478.904px; object-fit: cover; transform: rotate(12.25deg); }

/* ---------- Franquia ---------- */
.sec-franq { background: #fff; }
.franq-title { color: var(--green); text-align: center; }
.franq-text { color: var(--ink); text-align: center; }
.btn-franq {
  display: flex; align-items: center; justify-content: center;
  width: 472.411px; height: 65px; padding: 2.995px 29.946px 10.481px;
  border-radius: 38.015px; background: var(--green-dark); color: var(--lime);
  font-weight: 800; font-size: 50.372px; line-height: normal; text-decoration: none; white-space: nowrap;
  transition: filter .15s;
}

/* ---------- História / Essência ---------- */
.sec-hist { background: #e3e8ed; }
.hist-kicker { font-weight: 700; font-size: 25.403px; line-height: normal; color: var(--ink); }
.hist-title { color: var(--green-dark); }
.hist-text { color: var(--ink); }
.hist-foto { width: 687px; height: 687px; object-fit: cover; }
.essencia h3 { font-weight: 900; font-size: inherit; }
.essencia ul { list-style: disc; padding-left: 28.344px; }

/* ---------- Rodapé ---------- */
.sec-footer { background: #fff; }
.footer-logo { width: 250px; height: 65px; }
.footer-rule { width: 250px; height: 2px; background: var(--green-dark); }
.footer-tag { font-weight: 700; font-size: 26.076px; line-height: normal; letter-spacing: 1.3038px; color: var(--green-dark); white-space: nowrap; }
.socials { display: flex; gap: 41px; align-items: center; justify-content: center; }
.social { position: relative; display: block; width: 50.889px; height: 50.889px; transition: opacity .15s; }
.social img { width: 50.889px; height: 50.889px; }
a.social:hover { opacity: .7; }
.social .social-ig-glyph { position: absolute; left: 12.08px; top: 12.08px; width: 26.716px; height: 26.716px; }
.footer-title { font-weight: 800; font-size: 47.374px; line-height: 57px; color: var(--green-dark); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--steradian); font-weight: 500; font-size: 18.896px; line-height: 40px; letter-spacing: 2.0785px; color: var(--ink); }
.footer-links a { text-decoration: underline; text-underline-position: from-font; }
.footer-links a:hover { color: var(--green-dark); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* =========================================================
   Abaixo de 1240px: layout em fluxo (tablet / celular)
   ========================================================= */
@media (max-width: 1239.98px) {
  .wrap { width: auto; max-width: 720px; height: auto; padding: 0 20px; }
  .a { position: static; left: auto; top: auto; width: auto; }
  .h-xl { font-size: 38px; line-height: 1.15; }
  .txt-light { font-size: 16px; line-height: 25px; letter-spacing: 1.2px; }
  .txt-light .sp { margin-top: 25px; }

  .sec-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .nav { display: none; }
  .logo img { width: 128px; height: auto; }
  .btn-header { width: auto; height: 36px; padding: 0 16px 4px; font-size: 21px; }

  .sec-hero::before { left: auto; right: -22%; top: auto; bottom: -8px; width: 150%; height: auto; aspect-ratio: 1920 / 741; }
  .sec-hero .wrap { padding-top: 20px; padding-bottom: 290px; }
  .hero-title { font-size: 40px; line-height: 1.12; }
  .hero-text { margin-top: 18px; font-size: 16px; line-height: 25px; letter-spacing: 1.2px; white-space: normal; max-width: 330px; }
  .hero-text br { display: none; }

  .sec-verdade::before { left: -50%; width: 200%; background-size: cover; background-position: center; }
  .sec-verdade .wrap { padding-top: 48px; padding-bottom: 24px; }
  .verdade-text { margin-top: 20px; }
  .v3d { position: relative; width: min(74%, 400px); height: auto; margin: 24px auto -36px; }

  .sec-dif .wrap, .sec-como .wrap { padding-top: 64px; padding-bottom: 56px; text-align: center; }
  .pill { display: inline-block; width: auto; padding: 1px 18px 0; }
  .dif-title, .como-title { margin-top: 14px; }
  .cards, .steps { display: grid; gap: 14px; margin-top: 28px; text-align: left; }
  .card, .step { position: relative; width: auto; height: auto; padding: 22px 22px 24px; }
  .card h3, .card p, .step p, .step-icon { position: static; width: auto; }
  .card h3 { font-size: 22px; line-height: 26px; }
  .card p { margin-top: 10px; font-size: 16px; line-height: 25px; }
  .step { display: flex; align-items: center; gap: 18px; }
  .step-icon { flex: none; width: 76px; height: 64px; object-fit: contain; }
  .step p { font-size: 21px; }

  .sec-prop .wrap { padding-top: 64px; padding-bottom: 56px; }
  .prop-title { margin-top: 18px; }
  .prop-text { margin-top: 22px; }
  .prop-foto { width: 100%; height: auto; aspect-ratio: 1; margin-top: 32px; }

  .sec-selo::before { left: -60%; width: 220%; background-size: cover; background-position: center; }
  .sec-selo .wrap { display: flex; flex-direction: column; padding-top: 64px; padding-bottom: 64px; }
  .selo-sub { margin-top: 12px; }
  .selo-text { margin-top: 22px; }
  .selo-fundo { display: none; }
  .selo-wrap { order: 5; width: auto; height: auto; margin: 36px auto 8px; }
  .selo { width: min(62vw, 300px); height: auto; }
  .btn-vistoria { order: 6; width: 100%; max-width: 407px; height: 52px; margin: 24px auto 0; font-size: 32px; }

  .sec-franq .wrap { display: flex; flex-direction: column; padding-top: 64px; padding-bottom: 64px; }
  .franq-text { margin-top: 22px; }
  .btn-franq { width: 100%; max-width: 472px; height: 56px; margin: 32px auto 0; font-size: 36px; }

  .sec-hist .wrap { display: flex; flex-direction: column; padding-top: 64px; padding-bottom: 0; }
  .hist-kicker { font-size: 20px; }
  .hist-title { margin-top: 10px; }
  .hist-text { margin-top: 20px; }
  .hist-foto { width: calc(100% + 40px); height: auto; aspect-ratio: 1; margin: 36px -20px 0; }
  .hist-foto-1 { order: 4; }
  .hist-foto-2 { order: 8; margin-top: 0; }
  .hist-title + .essencia, .essencia { order: 7; }
  .sec-hist .wrap > .hist-title:nth-of-type(2) { order: 6; margin-top: 48px; }
  .essencia { margin-bottom: 36px; }

  .sec-footer .wrap { display: grid; gap: 22px; padding-top: 48px; padding-bottom: 48px; }
  .footer-logo { width: 180px; height: auto; }
  .footer-rule { display: none; }
  .footer-tag { font-size: 20px; margin-top: -10px; }
  .footer-title { font-size: 30px; line-height: 1.15; }
  .socials { justify-content: flex-start; gap: 24px; order: 9; }
  .footer-links { line-height: 34px; font-size: 16px; }
}
