/* =========================================================
   Comercial SP — v2 (Michelin-inspired)
   Minimal, editorial, premium
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink: #0A0A0A;
  --ink-2: #2A2A2A;
  --ink-3: #6B6B6B;
  --ink-4: #B8B8B8;
  --line: #E5E5E2;
  --paper: #FFFFFF;
  --paper-2: #F7F5F1;        /* warm cream */
  --paper-3: #EDEAE3;
  --sp-red: #E10600;          /* Michelin-style SP red, slightly darker */
  --sp-red-deep: #B30500;
  --sp-yellow: #FDFF3D;       /* SP signature yellow */

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;

  /* Geometry */
  --container: 1240px;
  --gutter: 1.5rem;
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'cv11' on;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.4rem;
  font-weight: 600;
  font-size: .9375rem;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm { padding: .55rem .9rem; font-size: .8125rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--sp-red);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--sp-red-deep);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,.35);
}
.btn--outline-light:hover {
  border-color: var(--paper);
  background: rgba(255,255,255,.06);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.brand__mark {
  width: 112px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -.015em;
}
.nav {
  display: none;
  gap: 2rem;
}
.nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .005em;
}
.nav a:hover { color: var(--sp-red); }

@media (min-width: 880px) {
  .nav { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,.55) 0%,
      rgba(10,10,10,.35) 40%,
      rgba(10,10,10,.65) 100%);
  z-index: -1;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(92vh, 880px);
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.25rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.85);
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sp-yellow);
  box-shadow: 0 0 0 4px rgba(253,255,61,.18);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.hero__title em {
  font-style: italic;
  color: var(--sp-yellow);
  font-weight: 800;
}
.hero__lead {
  margin: 1.5rem 0 2.25rem;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  max-width: 50ch;
  color: rgba(255,255,255,.86);
  font-weight: 400;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__bar {
  position: relative;
  background: rgba(10,10,10,.55);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.hero__bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
}
.hero__bar-inner > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hero__bar-inner strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--sp-yellow);
}
.hero__bar-inner span {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  letter-spacing: .01em;
}

@media (min-width: 720px) {
  .hero__bar-inner { grid-template-columns: repeat(4, 1fr); }
  .hero__bar-inner strong { font-size: 1.875rem; }
}

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head {
  margin-bottom: 3.5rem;
  max-width: 720px;
}
.section-head__kicker {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--sp-red);
}
.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.section-head__lead {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 56ch;
}
.section-head--light .section-head__title { color: var(--paper); }
.section-head--light .section-head__kicker { color: var(--sp-yellow); }
.section-head--light .section-head__lead { color: rgba(255,255,255,.78); }

/* =========================================================
   CATALOG
   ========================================================= */
.catalog {
  padding: 7rem 0;
  background: var(--paper);
}
.catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s var(--ease);
  color: var(--ink);
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -12px rgba(10,10,10,.18);
}
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: var(--sp-yellow);
}
.card__media-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 7rem;
  letter-spacing: -.05em;
  line-height: 1;
}
.card__body {
  padding: 1.5rem;
  display: flex; flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.card__tag {
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--sp-red);
}
.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.card__desc {
  margin: .35rem 0 0;
  font-size: .9375rem;
  color: var(--ink-3);
  line-height: 1.5;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  position: relative;
  padding: 7rem 0;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.services__media,
.services__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.services__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.7) 100%);
  z-index: -1;
}
.services__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  max-width: 980px;
}
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  width: 100%;
}
@media (min-width: 720px) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .services__list { grid-template-columns: repeat(3, 1fr); }
}
.services__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -.01em;
}
.services__list li span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--sp-yellow);
  letter-spacing: .15em;
  width: 2ch;
}

/* =========================================================
   MARCAS
   ========================================================= */
.brand {
  padding: 7rem 0;
  background: var(--paper-2);
}
.brand__list {
  list-style: none;
  margin: 0 0 4rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .brand__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .brand__list { grid-template-columns: repeat(5, 1fr); }
}
.brand__list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-right: 1.5rem;
}
.brand__list li:not(:last-child) {
  border-right: 0;
}
@media (min-width: 720px) {
  .brand__list li { border-right: 1px solid var(--line); padding-right: 1.5rem; padding-left: 1.5rem; }
  .brand__list li:first-child { padding-left: 0; }
  .brand__list li:nth-child(2n) { padding-right: 0; }
}
@media (min-width: 1080px) {
  .brand__list li { padding-left: 1.5rem; }
  .brand__list li:first-child { padding-left: 0; }
  .brand__list li:nth-child(2n) { padding-right: 1.5rem; }
  .brand__list li:last-child { padding-right: 0; border-right: 0; }
}
.brand__list strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.015em;
}
.brand__list span {
  font-size: .8125rem;
  color: var(--ink-3);
  letter-spacing: .01em;
}

.brand__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 1rem;
}
@media (min-width: 720px) {
  .brand__stats { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}
.brand__stats > div {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.brand__stats strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.brand__stats span {
  font-size: .875rem;
  color: var(--ink-3);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 980px) {
  .contact__inner { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}
.contact__lines {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}
@media (min-width: 720px) {
  .contact__lines { grid-template-columns: repeat(2, 1fr); }
}
.contact__lines li {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.contact__label {
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-3);
}
.contact__value {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.contact__value a:hover { color: var(--sp-red); }
.contact__map {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.contact__map iframe {
  width: 100%; height: 100%; border: 0;
}

.contact__right {
  background: var(--paper-2);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
}
.contact__right::before {
  content: "";
  position: absolute;
  top: -10px; left: 24px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--paper-2);
}
@media (min-width: 980px) {
  .contact__right { padding: 2.75rem; position: sticky; top: 100px; align-self: start; }
}
.contact__kicker {
  margin: 0 0 .5rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--sp-red);
}
.contact__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form__field span {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-2);
}
.form__field input,
.form__field select {
  font: inherit;
  font-size: .9375rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.form__field input:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--sp-red);
  box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}
.form__legal {
  margin: .25rem 0 0;
  font-size: .75rem;
  color: var(--ink-3);
  line-height: 1.4;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer__brand img {
  width: 180px;
  height: auto;
  display: block;
}
.footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--paper);
  letter-spacing: -.015em;
}
.footer__since {
  margin: .15rem 0 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col-title {
  margin: 0 0 .85rem;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--sp-yellow);
}
.footer__cols a {
  display: block;
  font-size: .875rem;
  padding: .2rem 0;
  color: rgba(255,255,255,.78);
}
.footer__cols a:hover { color: var(--paper); }

.footer__legal {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}
.footer__credit a {
  color: var(--sp-yellow);
  font-weight: 500;
}
.footer__credit a:hover { text-decoration: underline; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37,211,102,.55);
}
.wa-float svg {
  width: 28px; height: 28px;
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 720px) {
  .hero { min-height: 80vh; }
  .hero__inner { min-height: 80vh; padding-top: 6rem; padding-bottom: 4rem; }
  .catalog, .services, .brand, .contact { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.25rem; }
  .section-head__title br { display: none; }
}

/* =========================================================
   Reveal animations (subtle)
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeIn .6s var(--ease) forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}