:root {
  --primary: #2446b8;
  --primary-dark: #17318c;
  --primary-light: #e9efff;
  --accent: #f97316;
  --success: #16a34a;
  --ink: #111827;
  --muted: #5f6b7a;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --border: #dbe2ec;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --radius: 20px;
  --header-height: 112px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.container-wide {
  width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(36, 70, 184, 0.98);
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 280px;
  height: auto;
  margin-block: -36px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.5rem);
}

.main-nav a {
  position: relative;
  padding-block: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  min-height: 70vh;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #101827;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 15, 31, 0.9), rgba(8, 15, 31, 0.52));
  content: "";
}

.home-hero {
  min-height: 100svh;
  padding-top: var(--header-height);
  background-image: url("fundo hero section.jpg");
}

.home-hero .container {
  width: min(1400px, calc(100% - clamp(2rem, 6vw, 6rem)));
}

.hero-grid {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(4rem, 5vw, 7rem);
  padding-block: clamp(3.5rem, 7vh, 5.5rem);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
  min-width: 0;
  padding-right: 1rem;
}

.home-hero .hero-copy h1 {
  max-width: 600px;
  font-size: clamp(3.2rem, 5.8vw, 5.2rem);
}

.home-hero .hero-copy p {
  max-width: 570px;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.7;
  hyphens: none;
  overflow-wrap: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #e5e7eb;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.home main p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.home #parceiros-estrategicos p {
  hyphens: none;
}

.hero-visual {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual img {
  width: min(100%, 760px);
  max-width: 100%;
  margin-left: 0;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.35));
  transform: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(36, 70, 184, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 32px rgba(36, 70, 184, 0.34);
  transform: translateY(-2px);
}

.button-accent {
  background: var(--accent);
}

.button-accent:hover {
  background: #dc5f0e;
}

.button-block {
  width: 100%;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-soft {
  background: var(--surface-soft);
}

.section-blue {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.section-head .tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section-head h1,
.section-head h2,
.split h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-head p,
.split p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-blue .section-head p {
  color: #dbeafe;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.split-reverse .media {
  order: 2;
}

.media img {
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.prose p {
  margin-bottom: 1.25rem;
}

.about-intro p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: #344054;
}

.check-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid rgba(219, 226, 236, 0.8);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-card {
  padding: 1.75rem;
  background: #fff;
}

.feature-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
}

.process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, #101f5f 0%, #2446b8 58%, #1d4ed8 100%);
}

.process-section::before,
.process-section::after {
  position: absolute;
  z-index: -1;
  border: 3rem solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.process-section::before {
  top: -16rem;
  left: -13rem;
  width: 34rem;
  height: 34rem;
}

.process-section::after {
  right: -11rem;
  bottom: -17rem;
  width: 38rem;
  height: 38rem;
}

.process-head {
  max-width: 860px;
}

.process-head .tag {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.process-head h2 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.home .process-head p {
  max-width: 720px;
  margin-inline: auto;
  color: #dbeafe;
  text-align: center;
  hyphens: none;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.process-grid::before {
  position: absolute;
  top: 29px;
  right: 5%;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.35), #fb923c 50%, rgba(249, 115, 22, 0.35));
  content: "";
}

.process-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  margin-top: 29px;
  padding: 3.5rem 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f5f7ff 100%);
  color: var(--ink);
  box-shadow: 0 22px 45px rgba(5, 13, 43, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.process-card:hover {
  box-shadow: 0 28px 55px rgba(5, 13, 43, 0.34);
  transform: translateY(-8px);
}

.process-node {
  position: absolute;
  top: -29px;
  left: 1.35rem;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #fb923c, var(--accent));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.process-label {
  margin-bottom: 0.65rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.process-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.home .process-card p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.6;
  text-align: left;
  hyphens: none;
}

.process-result {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: #344054;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-result::before {
  color: var(--success);
  content: "\2713";
  font-weight: 900;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.material {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f6f8fc);
  color: #263244;
  font-weight: 800;
  text-align: center;
}

.service-list {
  display: grid;
  gap: 0.9rem;
  max-width: 860px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05);
}

.service-item::before {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  content: "✓";
  font-weight: 900;
}

.page-hero {
  min-height: 68svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) 0 5rem;
}

.page-hero .container {
  position: relative;
}

.about-hero {
  background-image: url("FABRICA.jpg");
}

.packaging-page {
  padding-top: var(--header-height);
}

.packaging-page .section:first-child {
  padding-top: clamp(5rem, 9vw, 8rem);
}

.differentials-hero {
  background-image: url("fabrica.jpg");
}

.contact-hero {
  min-height: 58svh;
  background-image: url("fundo hero section.jpg");
  text-align: center;
}

.contact-hero p {
  margin-inline: auto;
}

.hero-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-about-grid img {
  width: 100%;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.purpose-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8faff 0%, #edf2ff 100%);
}

.purpose-section::before {
  position: absolute;
  top: -14rem;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  border: 4rem solid rgba(36, 70, 184, 0.045);
  border-radius: 50%;
  content: "";
}

.purpose-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.purpose-intro .tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.purpose-intro h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.purpose-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.purpose-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.purpose-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.09);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.purpose-card:hover {
  box-shadow: 0 25px 55px rgba(17, 24, 39, 0.15);
  transform: translateY(-6px);
}

.purpose-card-primary {
  border-color: transparent;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 20px 45px rgba(36, 70, 184, 0.25);
}

.purpose-card::after {
  position: absolute;
  z-index: -1;
  right: -5rem;
  bottom: -6rem;
  width: 14rem;
  height: 14rem;
  border: 2rem solid rgba(36, 70, 184, 0.05);
  border-radius: 50%;
  content: "";
}

.purpose-card-primary::after {
  border-color: rgba(255, 255, 255, 0.06);
}

.purpose-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(36, 70, 184, 0.1);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.purpose-card-primary .purpose-number {
  color: rgba(255, 255, 255, 0.1);
}

.purpose-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 2.4rem;
  place-items: center;
  border-radius: 17px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

.purpose-card-primary .purpose-mark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.purpose-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purpose-card-primary .purpose-kicker {
  color: #bfdbfe;
}

.purpose-card h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.purpose-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.purpose-card-primary p {
  color: #dbeafe;
}

.values-section {
  background: #fff;
}

.values-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.value-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(155deg, #fff, #f8faff);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.value-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), #60a5fa);
  content: "";
}

.value-card:hover {
  border-color: #b9c7f5;
  box-shadow: 0 18px 38px rgba(36, 70, 184, 0.13);
  transform: translateY(-5px);
}

.value-number {
  position: absolute;
  top: 1.25rem;
  right: 1.35rem;
  color: #e4e9f7;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}

.value-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.4rem;
  max-width: 920px;
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--primary-light);
  content: "";
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: calc(50% - 2rem);
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.07);
}

.timeline-item:nth-child(even) {
  margin-left: auto;
}

.timeline-item::after {
  position: absolute;
  top: 1.7rem;
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  content: "";
}

.timeline-item:nth-child(odd)::after {
  right: -2.5rem;
}

.timeline-item:nth-child(even)::after {
  left: -2.5rem;
}

.timeline-year {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 900;
}

.team-grid img {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.commitment-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f7f9ff 0%, #edf2ff 100%);
}

.commitment-section::before {
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  border: 4rem solid rgba(36, 70, 184, 0.04);
  border-radius: 50%;
  content: "";
}

.commitment-head {
  position: relative;
}

.differential-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.differential-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.differential-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), #60a5fa);
  content: "";
}

.differential-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 12rem;
  height: 12rem;
  border: 1.6rem solid rgba(36, 70, 184, 0.035);
  border-radius: 50%;
  content: "";
}

.differential-card:hover {
  border-color: #b7c6f6;
  box-shadow: 0 24px 50px rgba(36, 70, 184, 0.16);
  transform: translateY(-7px);
}

.differential-index {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(23, 49, 140, 0.28);
}

.differential-content {
  position: relative;
  z-index: 1;
  min-height: 245px;
  padding: 2rem;
}

.differential-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.differential-label {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.differential-content h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.differential-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.primary-differentials {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.primary-differentials .card {
  padding: 2rem;
  background: var(--surface-soft);
}

.primary-differentials .card::before {
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}

.cta::after {
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  border: 3rem solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #dbeafe;
  font-size: 1.15rem;
}

.contact-info-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  margin-top: -4rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 70, 184, 0.24);
}

.contact-info-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-info-content {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.8rem;
}

.contact-info-content strong {
  flex: 0 0 auto;
}

.contact-info-content a,
.contact-info-content span {
  color: #eef2ff;
  white-space: nowrap;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.social-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--primary-dark), #2563eb);
  color: #fff;
  box-shadow: 0 20px 40px rgba(36, 70, 184, 0.22);
}

.social-card::after {
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 15rem;
  height: 15rem;
  border: 2rem solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.social-card > * {
  position: relative;
  z-index: 1;
}

.social-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.social-card > p {
  margin-bottom: 2rem;
  color: #dbeafe;
}

.social-links {
  display: grid;
  gap: 0.85rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

.social-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.social-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon--facebook {
  background: #fff;
}

.social-copy {
  display: grid;
  min-width: 0;
}

.social-copy span {
  color: #dbeafe;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.social-arrow {
  margin-left: auto;
  font-size: 1.35rem;
}

.official-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: #dbeafe;
  font-size: 0.85rem;
}

.official-note::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
  content: "";
}

.form-panel {
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
}

.form-panel h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #344054;
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 190px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(36, 70, 184, 0.13);
}

.form-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2500;
  display: flex;
  width: min(430px, calc(100vw - 3rem));
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--success);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.toast strong,
.toast span {
  display: block;
}

.toast strong {
  margin-bottom: 0.25rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 1.5rem;
  background: #081225;
  color: #cbd5e1;
}

.site-footer::before {
  position: absolute;
  top: -14rem;
  left: -12rem;
  width: 32rem;
  height: 32rem;
  border: 5rem solid rgba(36, 70, 184, 0.12);
  border-radius: 50%;
  content: "";
}

.footer-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(36, 70, 184, 0.3), rgba(36, 70, 184, 0.08));
}

.footer-highlight {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.25rem);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-highlight:last-child {
  border-right: 0;
}

.footer-highlight-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(36, 70, 184, 0.32);
}

.footer-highlight > div strong,
.footer-highlight > div span {
  display: block;
}

.footer-highlight > div strong {
  color: #fff;
  font-size: 1.02rem;
}

.footer-highlight > div span {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.95fr 1.35fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.footer-brand img {
  width: 240px;
  margin: -34px 0 -16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 330px;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-socials a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-socials a.footer-social--instagram {
  border-color: transparent;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.footer-socials a.footer-social--facebook {
  border-color: transparent;
  background: #fff;
}

.footer-socials a.footer-social--whatsapp {
  border-color: transparent;
  background: #25d366;
}

.footer-socials a[class^="footer-social--"]:hover {
  filter: brightness(1.08);
}

.footer-main h3 {
  color: #fff;
}

.footer-main h3 {
  position: relative;
  margin-bottom: 1.35rem;
  padding-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-main h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  width: fit-content;
  color: #94a3b8;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact {
  display: grid;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #94a3b8;
}

.footer-contact-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: rgba(36, 70, 184, 0.2);
  color: #93c5fd;
  font-size: 0.7rem;
  font-weight: 900;
}

.footer-contact-item > span:not(.footer-contact-mark),
.footer-contact-item strong {
  display: block;
}

.footer-contact-item > span:not(.footer-contact-mark) {
  color: #64748b;
  font-size: 0.75rem;
}

.footer-contact-item strong {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-contact-email strong {
  font-size: min(0.9rem, 3.7vw);
  white-space: nowrap;
  overflow-wrap: normal;
}

a.footer-contact-item:hover strong {
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #64748b;
  font-size: 0.88rem;
}

.footer-signature {
  color: #94a3b8;
  font-weight: 700;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 96px;
  }

  .brand img {
    width: 230px;
    margin-block: -31px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem 3rem;
    text-align: center;
  }

  .home-hero .container {
    width: min(900px, calc(100% - 3rem));
  }

  .home-hero .hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .home-hero .hero-copy h1 {
    margin-inline: auto;
    font-size: clamp(3rem, 7vw, 4.6rem);
  }

  .hero-grid p {
    margin-inline: auto;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    width: min(76vw, 680px);
    max-width: 100%;
    margin-inline: auto;
    transform: none;
  }

  .cards-4,
  .primary-differentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: auto;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .process-grid::before {
    display: none;
  }

  .purpose-layout {
    grid-template-columns: 1fr;
  }

  .purpose-intro {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(340px, 88vw);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1.25rem;
    background: var(--primary-dark);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(110%);
    transition: transform 220ms ease;
  }

  .menu-open .main-nav {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .split,
  .hero-about-grid {
    grid-template-columns: 1fr;
  }

  .split-reverse .media {
    order: 0;
  }

  .hero-about-grid img {
    height: 360px;
  }

  .media img {
    min-height: 360px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .differential-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 84px;
  }

  .container-wide {
    width: min(100% - 2rem, 1440px);
  }

  .brand img {
    width: 205px;
    margin-block: -28px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .home-hero {
    min-height: 88svh;
  }

  .hero-grid {
    padding-block: 3.25rem;
  }

  .hero-visual {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }

  .purpose-cards,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .differential-gallery {
    grid-template-columns: 1fr;
  }

  .purpose-card,
  .value-card {
    min-height: auto;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .primary-differentials,
  .form-grid,
  .footer-main,
  .footer-highlights {
    grid-template-columns: 1fr;
  }

  .field-full,
  .footer-brand {
    grid-column: auto;
  }

  .footer-highlight {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-highlight:last-child {
    border-bottom: 0;
  }

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

  .image-card img {
    height: 220px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: calc(100% - 2.5rem);
    margin-left: 2.5rem;
  }

  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: -2.45rem;
    right: auto;
  }

  .contact-info-content {
    display: block;
  }

  .contact-info-content a,
  .contact-info-content span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .toast {
    top: 1rem;
    right: 1rem;
    width: calc(100vw - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
