/* ============================================================
   SA Casa do Sushi — Estilos Globais
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --color-primary:                  #b2002a;
  --color-primary-container:        #d8223d;
  --color-on-primary:               #ffffff;
  --color-on-primary-fixed:         #400009;
  --color-on-primary-fixed-variant: #920021;
  --color-primary-fixed:            #ffdad9;
  --color-primary-fixed-dim:        #ffb3b3;
  --color-inverse-primary:          #ffb3b3;

  /* Secondary */
  --color-secondary:                #5f5e5e;
  --color-on-secondary:             #ffffff;
  --color-secondary-container:      #e2dfde;
  --color-on-secondary-container:   #636262;
  --color-secondary-fixed:          #e5e2e1;
  --color-secondary-fixed-dim:      #c8c6c5;
  --color-on-secondary-fixed:       #1c1b1b;
  --color-on-secondary-fixed-variant:#474746;

  /* Tertiary */
  --color-tertiary:                 #575757;
  --color-on-tertiary:              #ffffff;
  --color-tertiary-container:       #706f6f;
  --color-on-tertiary-container:    #f6f3f3;
  --color-tertiary-fixed:           #e4e2e1;
  --color-tertiary-fixed-dim:       #c8c6c6;
  --color-on-tertiary-fixed:        #1b1c1c;
  --color-on-tertiary-fixed-variant:#474747;

  /* Surface */
  --color-surface:                  #fcf9f8;
  --color-surface-bright:           #fcf9f8;
  --color-surface-dim:              #dcd9d9;
  --color-surface-tint:             #be032e;
  --color-surface-variant:          #e5e2e1;
  --color-on-surface:               #1c1b1b;
  --color-on-surface-variant:       #5b403d;

  /* Surface Containers */
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low:    #f6f3f2;
  --color-surface-container:        #f0edec;
  --color-surface-container-high:   #ebe7e7;
  --color-surface-container-highest:#e5e2e1;

  /* Background */
  --color-background:               #fcf9f8;
  --color-on-background:            #1c1b1b;

  /* Inverse */
  --color-inverse-surface:          #313030;
  --color-inverse-on-surface:       #f3f0ef;

  /* Outline */
  --color-outline:                  #8f6f6c;
  --color-outline-variant:          #e4beba;

  /* Error */
  --color-error:                    #ba1a1a;
  --color-error-container:          #ffdad6;
  --color-on-error:                 #ffffff;
  --color-on-error-container:       #93000a;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #b2002a 0%, #d8223d 100%);

  /* Typography */
  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-label:    'Inter', sans-serif;

  /* Border Radius */
  --radius-sm:   0.125rem;
  --radius-md:   0.25rem;
  --radius-lg:   0.5rem;
  --radius-full: 0.75rem;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.1);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

select, input, textarea {
  font-family: var(--font-body);
}

::selection {
  background-color: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
}

/* ---------- Material Symbols ---------- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ---------- Utility Classes ---------- */
.font-headline { font-family: var(--font-headline); }
.font-body     { font-family: var(--font-body); }
.font-label    { font-family: var(--font-label); }

.text-primary               { color: var(--color-primary); }
.text-on-surface            { color: var(--color-on-surface); }
.text-on-surface-variant    { color: var(--color-on-surface-variant); }
.text-on-primary            { color: var(--color-on-primary); }
.text-on-primary-container  { color: var(--color-on-primary-fixed); }

.bg-surface                   { background-color: var(--color-surface); }
.bg-surface-container-lowest  { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-low     { background-color: var(--color-surface-container-low); }
.bg-surface-container         { background-color: var(--color-surface-container); }
.bg-primary-gradient          { background: var(--gradient-primary); }
.bg-on-surface                { background-color: var(--color-inverse-surface); }

.border-outline-variant { border-color: var(--color-outline-variant); }
.border-primary         { border-color: var(--color-primary); }

.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-md  { box-shadow: var(--shadow-md); }
.shadow-lg  { box-shadow: var(--shadow-lg); }
.shadow-xl  { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Scrollbar hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Glass nav */
.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Layout ---------- */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.max-w-xs { max-width: 20rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.px-8  { padding-left: 2rem;  padding-right: 2rem; }
.px-12 { padding-left: 3rem;  padding-right: 3rem; }
.py-6  { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem;   padding-bottom: 4rem; }
.py-24 { padding-top: 6rem;   padding-bottom: 6rem; }
.py-2  { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4  { padding-top: 1rem;   padding-bottom: 1rem; }
.p-4   { padding: 1rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.p-12  { padding: 3rem; }
.p-20  { padding: 5rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-8  { padding-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

.grid { display: grid; }

.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-24 { gap: 6rem; }

.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.w-full   { width: 100%; }
.w-14     { width: 3.5rem; }
.w-20     { width: 5rem; }
.h-14     { height: 3.5rem; }
.h-20     { height: 5rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.z-10     { z-index: 10; }
.z-20     { z-index: 20; }
.z-50     { z-index: 50; }

.hidden   { display: none !important; }
.block    { display: block; }
.inline-block { display: inline-block; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }

/* custom tiny text */
.text-tiny { font-size: 0.625rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.font-black    { font-weight: 900; }
.font-light    { font-weight: 300; }

.italic { font-style: italic; }

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-widest  { letter-spacing: 0.1em; }
.tracking-wider   { letter-spacing: 0.05em; }

.leading-tight  { line-height: 1.25; }
.leading-relaxed{ line-height: 1.625; }

.uppercase { text-transform: uppercase; }

.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }

.opacity-80 { opacity: 0.8; }

.border   { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b-4 { border-bottom-width: 4px; border-bottom-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-collapse { border-collapse: collapse; }

.divide-y > * + * { border-top: 1px solid; }

.cursor-pointer { cursor: pointer; }

.transition-all       { transition: all 0.2s ease; }
.transition-colors    { transition: color 0.2s ease, background-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }

.blur-3xl { filter: blur(64px); }

.object-cover   { object-fit: cover; }
.aspect-video   { aspect-ratio: 16/9; }

.w-full         { width: 100%; }
.h-full         { height: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Stories Section ---------- */
.stories-section {
  background-color: var(--color-surface-container-lowest);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(228,190,186,0.1);
  overflow: hidden;
}

.stories-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.stories-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  align-items: center;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.stories-track::-webkit-scrollbar { display: none; }

.story-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.story-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  transition: transform 0.2s ease;
}
.story-item:hover .story-circle { transform: scale(1.05); }

.story-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  display: block;
}

.story-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 0.5rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
  overflow: hidden;
}

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

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span { color: var(--color-primary); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-on-surface-variant);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(228,190,186,0.1);
  padding-top: 2.5rem;
}

.stat-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-on-surface-variant);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-image-wrap { position: relative; }

.hero-image-bg {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 16rem;
  height: 16rem;
  background-color: rgba(178,0,42,0.05);
  border-radius: 9999px;
  filter: blur(64px);
}

.hero-img {
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  object-fit: cover;
  aspect-ratio: 4/5;
  width: 100%;
}

.hero-roi-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: var(--color-surface-container-lowest);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 20;
  display: none;
  border: 1px solid rgba(228,190,186,0.1);
}

.roi-badge-icon {
  background: var(--gradient-primary);
  padding: 0.5rem;
  border-radius: var(--radius-lg);
}

.roi-badge-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.roi-badge-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-on-surface-variant);
  letter-spacing: -0.05em;
}

.roi-badge-value {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--color-on-surface);
}

/* ---------- Network Numbers ---------- */
.numbers-section {
  background-color: var(--color-surface-container-low);
  padding: 6rem 0;
}

.numbers-title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.025em;
  margin-bottom: 4rem;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.number-card {
  background-color: var(--color-surface-container-lowest);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.number-value {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.number-label {
  font-size: 0.875rem;
  color: var(--color-on-surface-variant);
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- Business Model ---------- */
.model-section {
  padding: 6rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-col { display: flex; flex-direction: column; gap: 1rem; }
.product-col:first-child { padding-top: 3rem; }

.product-card {
  background-color: var(--color-surface-container);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  object-fit: cover;
}

.product-card-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.product-highlight {
  background: var(--gradient-primary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--color-on-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-highlight p {
  font-size: 0.875rem;
  font-weight: 700;
}

.model-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.model-subtitle {
  color: var(--color-on-surface-variant);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
}

.model-features { display: flex; flex-direction: column; gap: 0.25rem; }

.model-feature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
}
.model-feature:hover { background-color: var(--color-surface-container-low); }

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-surface-container-lowest);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.feature-title { font-weight: 700; margin-bottom: 0.125rem; }
.feature-desc  { font-size: 0.875rem; color: var(--color-on-surface-variant); }

/* ---------- Economics / Pricing Table ---------- */
.economics-section {
  background: var(--gradient-primary);
  padding: 6rem 2rem;
  color: var(--color-on-primary);
}

.economics-inner { max-width: 80rem; margin: 0 auto; }

.economics-header { text-align: center; margin-bottom: 4rem; }

.economics-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.economics-subtitle { color: rgba(255,255,255,0.8); }

.econ-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.econ-table thead tr {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.econ-table th {
  padding: 1.5rem 0;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-on-primary);
}
.econ-table th:last-child { text-align: right; }

.econ-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.econ-table tbody td {
  padding: 1.25rem 0;
  font-family: var(--font-body);
  color: var(--color-on-primary);
}
.econ-table tbody td:last-child {
  text-align: right;
  font-weight: 700;
}

.econ-table .payback-row td {
  padding: 2rem 0;
  border-top: 2px solid rgba(255,255,255,0.4);
}

.econ-table .payback-label {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.econ-table .payback-value {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: 6rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.testimonials-title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.025em;
  margin-bottom: 4rem;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.testimonial-card { display: flex; flex-direction: column; gap: 1.5rem; }

.video-wrapper {
  aspect-ratio: 16/9;
  background-color: var(--color-surface-container);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(228,190,186,0.1);
}

.video-wrapper iframe { width: 100%; height: 100%; }

.testimonial-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  color: var(--color-on-surface-variant);
  font-style: italic;
}

/* ---------- Support Section ---------- */
.support-section {
  background-color: var(--color-surface-container-low);
  padding: 6rem 0;
}

.support-inner { max-width: 80rem; margin: 0 auto; padding: 0 2rem; }

.support-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.025em;
  margin-bottom: 4rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.support-card {
  background-color: var(--color-surface-container-lowest);
  padding: 2rem;
  border-bottom: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.support-icon { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 1.5rem; display: block; }
.support-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.support-card-desc  { font-size: 0.875rem; color: var(--color-on-surface-variant); line-height: 1.625; }

/* ---------- Expansion Map ---------- */
.expansion-section {
  padding: 6rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.expansion-card {
  background-color: var(--color-inverse-surface);
  border-radius: 1.5rem;
  padding: 3rem;
  overflow: hidden;
  position: relative;
}

.expansion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.expansion-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: var(--color-primary-container);
  color: var(--color-on-primary-fixed);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.expansion-title {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-surface);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.expansion-title span { color: var(--color-primary-fixed); }

.expansion-desc {
  color: rgba(229,226,225,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.expansion-list { display: flex; flex-direction: column; gap: 1rem; }

.expansion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-surface);
  font-weight: 500;
}

.expansion-item .material-symbols-outlined { color: var(--color-primary); }

.map-container {
  background-color: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.map-container svg  { width: 100%; height: auto; border-radius: 0.75rem; display: block; }
.map-container img  { width: 100%; height: auto; border-radius: 0.75rem; display: block; }
.map-container object { width: 100%; border-radius: 0.75rem; display: block; }

/* ---------- SVG Brazil Map — State Classes ----------
   These mirror the internal <style> inside brazil_map.svg.
   Declared here so they also apply when the SVG is inlined
   directly in the HTML via <img> src or <object> data.
   ---------------------------------------------------- */
.st0 { fill: #8aaa9a; stroke: #1a6b6b; stroke-miterlimit: 10; }
.st1 { fill: #8aaa9a; stroke: #ffffff; stroke-width: 1; }
.st2 { fill: #8aaa9a; stroke: #ffffff; stroke-width: 1; }
.st3 { fill: #8aaa9a; }
.st4 { fill: #8aaa9a; stroke: #ffffff; stroke-width: 1; }
.st5 { fill: #656565; }

/* ---------- Lead Form ---------- */
.form-section { padding: 6rem 2rem; background-color: var(--color-surface-container); }

.form-card {
  background-color: var(--color-surface-container-lowest);
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid rgba(228,190,186,0.1);
}

.form-step { padding: 3rem; }

.form-step-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  display: block;
}

.form-group { display: flex; flex-direction: column; gap: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select {
  width: 100%;
  background-color: var(--color-surface-container-low);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 1rem;
  color: var(--color-on-surface);
  outline: none;
  transition: box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.form-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-option-btn {
  padding: 1rem;
  border: 1px solid rgba(228,190,186,0.3);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 700;
  background: none;
  color: var(--color-on-surface);
  cursor: pointer;
  transition: all 0.2s;
}
.form-option-btn:hover        { background-color: var(--color-primary-fixed); }
.form-option-btn.selected     { background: var(--gradient-primary); color: var(--color-on-primary); }

.form-button-group {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn-back {
  background-color: var(--color-surface-container-low);
  color: var(--color-on-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  flex: 1;
  transition: background-color 0.2s;
}
.btn-back:hover { background-color: var(--color-surface-container); }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-on-primary);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  flex: 1;
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover  { box-shadow: var(--shadow-xl); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-primary-full {
  background: var(--gradient-primary);
  color: var(--color-on-primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 1.125rem;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary-full:hover  { box-shadow: var(--shadow-xl); transform: translateY(-1px); }
.btn-primary-full:active { transform: translateY(0); }

/* Welcome Screen */
.form-welcome { padding: 3rem; text-align: center; }
.form-welcome-icon { font-size: 3.75rem; color: var(--color-primary); margin-bottom: 2rem; display: block; }

.form-welcome-title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-on-surface);
  margin-bottom: 1rem;
}

.form-welcome-desc { color: var(--color-on-surface-variant); margin-bottom: 2.5rem; }

.form-timer-note {
  margin-top: 1rem;
  font-size: 0.625rem;
  color: rgba(91,64,61,0.6);
}

/* Success Screen */
.success-screen { padding: 5rem 3rem; text-align: center; }

.success-icon-wrap {
  width: 5rem;
  height: 5rem;
  background-color: rgba(178,0,42,0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.success-icon { font-size: 3rem; color: var(--color-primary); }

.success-title {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-on-surface);
  margin-bottom: 1rem;
}

.success-desc { color: var(--color-on-surface-variant); margin-bottom: 1rem; }
.success-highlight { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-surface-container);
  padding: 4rem 3rem;
  border-top: 1px solid rgba(228,190,186,0.1);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-on-surface);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.footer-brand-desc {
  color: var(--color-on-surface-variant);
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer-bottom {
  max-width: 80rem;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(228,190,186,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.625rem;
  color: rgba(91,64,61,0.6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .hero-grid          { grid-template-columns: 1fr 1fr; }
  .hero-roi-badge     { display: flex; }
  .numbers-grid       { grid-template-columns: repeat(4, 1fr); }
  .model-grid         { grid-template-columns: 1fr 1fr; }
  .testimonials-grid  { grid-template-columns: repeat(3, 1fr); }
  .support-grid       { grid-template-columns: repeat(4, 1fr); }
  .expansion-grid     { grid-template-columns: 1fr 1fr; }
  .footer-inner       { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-bottom      { flex-direction: row; justify-content: space-between; }
  .form-step          { padding: 3rem; }
  .expansion-card     { padding: 5rem; }
  .model-section      { padding: 6rem 2rem; }
  .hero-title { font-size: clamp(3rem, 7vw, 4.5rem); }
  .btn-primary-full { width: auto; }
}

@media (min-width: 1024px) {
  .support-grid { grid-template-columns: repeat(4, 1fr); }
}




/* ============================================================
   STORIES — Popup estilo Instagram
   Todos os elementos são filhos de .story-card (position:relative)
   O modal só faz o centramento do card
   ============================================================ */

/* ── Thumbnails: pointer + hover ── */
.story-item {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.story-item .story-circle {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-item:hover .story-circle {
  transform: scale(1.07);
  box-shadow: 0 0 0 3px rgba(178, 0, 42, 0.22);
}
.story-item.story-seen .story-circle {
  border-color: #999;
}
.story-item.story-seen .story-circle img {
  opacity: 0.6;
}

/* ── CARD PRINCIPAL 9:16 ──
   Contém ABSOLUTAMENTE todos os elementos do story.
   Nada fica fora deste card. ── */
.story-card {
  position: relative;
  width: min(390px, 92vw);
  /* altura = largura * 16/9 */
  height: min(693px, calc(92vw * 16 / 9));
  max-height: calc(100dvh - 2rem);
  background: #111;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  animation: stCardIn 0.3s cubic-bezier(0.34, 1.36, 0.64, 1) both;
}

/* ── Imagem: cobre o card inteiro ── */
.story-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: opacity 0.18s ease;
}
.story-img.loading { opacity: 0; }

/* ── Barra de progresso (topo do card) ── */
.story-progress-bar {
  position: absolute;
  top: 0.65rem;
  left: 0;
  right: 0;
  padding: 0 0.65rem;
  display: flex;
  gap: 4px;
  z-index: 10;
}
.story-seg {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  overflow: hidden;
}
.story-seg-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
}
.story-seg-fill.done    { width: 100%; }
.story-seg-fill.running { animation: stSegProgress var(--dur, 5s) linear forwards; }

/* ── Botão fechar (canto superior direito do card) ── */
.story-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 12;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.story-close:hover { background: rgba(0, 0, 0, 0.7); }
.story-close .material-symbols-outlined { font-size: 1.2rem; }

/* ── Botão mute/unmute ── */
#story-mute-btn {
  position: absolute;
  top: 0.75rem;
  right: 3.25rem;
  z-index: 12;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
}
#story-mute-btn.active { display: flex; }

/* ── Header: avatar + nome (abaixo das barras) ── */
.story-header {
  position: absolute;
  top: 1.4rem;
  left: 0;
  right: 2.75rem; /* não sobrepõe o botão fechar */
  padding: 0 0.75rem;
  z-index: 10;
}
.story-header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.story-avatar-ring {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.story-avatar-ring img { width: 100%; height: 100%; object-fit: cover; }
.story-header-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.story-header-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ── Caption overlay (gradient no fundo, acima do CTA) ── */
.story-caption {
  position: absolute;
  bottom: 5rem;
  left: 0;
  right: 0;
  padding: 4rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  z-index: 5;
}
.story-caption-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.story-caption-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ── CTA footer (fundo do card) ── */
.story-footer {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  padding: 0 0.85rem;
  z-index: 10;
}
.story-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #b2002a 0%, #d8223d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(178, 0, 42, 0.55);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.story-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(178,0,42,.7); }
.story-cta .material-symbols-outlined { font-size: 1rem; }

/* ── Botões de navegação (dentro do card) ── */
.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  transition: background 0.2s, transform 0.15s;
}
.story-nav:hover  { background: rgba(0, 0, 0, 0.6); }
.story-nav:active { transform: translateY(-50%) scale(0.9); }
.story-nav .material-symbols-outlined { font-size: 1.5rem; }
.story-nav-left  { left:  0.6rem; }
.story-nav-right { right: 0.6rem; }

/* ── Animações ── */
@keyframes stBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes stCardIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
@keyframes stSegProgress {
  from { width: 0%; }
  to   { width: 100%; }
}
