/*
Theme Name: Stratimo
Theme URI: https://stratimo.com.br
Author: Stratimo
Author URI: https://stratimo.com.br
Description: Custom landing page theme for Stratimo - Intelligence on Demand. Video analytics, AI, and strategic intelligence solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://stratimo.com.br
Text Domain: stratimo
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-light: #10b981;
  --color-primary-bg: #f0fdf4;
  --color-dark: #0a0a0a;
  --color-dark-alt: #111111;
  --color-dark-surface: #1a1a1a;
  --color-dark-border: #2a2a2a;
  --color-text: #1c1917;
  --color-text-secondary: #78716c;
  --color-text-light: #a8a29e;
  --color-white: #ffffff;
  --color-off-white: #fafaf9;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1280px;
  --container-wide: 1440px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --header-height: 80px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
  --transition-base: 250ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);
  --transition-spring: 500ms cubic-bezier(.34,1.56,.64,1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--wide {
  max-width: var(--container-wide);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.section-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.65;
  margin-top: 1rem;
}

.section-title--light,
.section-subtitle--light {
  color: var(--color-white);
}

.section-subtitle--light {
  color: rgba(255,255,255,.65);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.site-header--scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.header-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}

.header-logo svg {
  height: 28px;
  width: auto;
  transition: opacity var(--transition-base);
}

.header-logo .logo-white { display: block; }
.header-logo .logo-black { display: none; }

.site-header--scrolled .header-logo .logo-white { display: none; }
.site-header--scrolled .header-logo .logo-black { display: block; }

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

.site-header--scrolled .nav-links a {
  color: var(--color-text-secondary);
}

.site-header--scrolled .nav-links a:hover {
  color: var(--color-text);
  background: rgba(0,0,0,.04);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.5rem;
  border-radius: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-header--scrolled .menu-toggle span {
  background: var(--color-text);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
}

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

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 380px);
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    gap: .5rem;
    transition: right var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
    z-index: 1000;
    overflow-y: auto;
  }

  .header-nav.open {
    right: 0;
  }

  .mobile-overlay {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 1.0625rem;
    padding: .75rem .5rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover {
    background: rgba(5,150,105,.06) !important;
    color: var(--color-primary) !important;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: .875rem 1.5rem;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay over hero video */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,5,5,.82) 0%, rgba(5,5,5,.72) 40%, rgba(5,5,5,.88) 100%),
    radial-gradient(circle at 30% 60%, rgba(5,150,105,.15) 0%, transparent 50%);
  z-index: 2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(5,150,105,.12);
  top: -10%;
  right: -5%;
  animation-delay: -2s;
}

.hero-orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(5,150,105,.08);
  bottom: -5%;
  left: 10%;
  animation-delay: -6s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(16,185,129,.1);
  top: 40%;
  left: 50%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: rgba(5,150,105,.12);
  border: 1px solid rgba(5,150,105,.2);
  padding: .5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  display: inline;
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  color: rgba(255,255,255,.6);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: .875rem 2rem;
  border-radius: 100px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(5,150,105,.3);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(5,150,105,.4);
}

.btn--outline {
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--color-white);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.btn--dark-outline {
  border: 1.5px solid rgba(0,0,0,.15);
  color: var(--color-text);
}

.btn--dark-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-primary-light);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* ============================================
   SOLUTIONS CARDS
   ============================================ */
.solutions {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.solutions-header {
  margin-bottom: 3.5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.solution-card-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-card-bg {
  transform: scale(1.05);
}

/* Card background images */
.solution-card--analytics .solution-card-bg {
  background: url('images/sol-analytics.jpg') center center / cover no-repeat;
}
.solution-card--analytics .solution-card-bg::before { display: none; }

.solution-card--integration .solution-card-bg {
  background: url('images/sol-integration.jpg') center center / cover no-repeat;
}
.solution-card--integration .solution-card-bg::before { display: none; }

.solution-card--saas .solution-card-bg {
  background: url('images/sol-saas.jpg') 65% center / cover no-repeat;
}
.solution-card--saas .solution-card-bg::before { display: none; }

.solution-card--dashboards .solution-card-bg {
  background: url('images/sol-dashboard.jpg') 35% center / cover no-repeat;
}
.solution-card--dashboards .solution-card-bg::before { display: none; }

.solution-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.1) 100%);
  z-index: 2;
}

.solution-card:hover .solution-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.2) 100%);
}

.solution-card-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,150,105,.15);
  border: 1px solid rgba(5,150,105,.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  color: var(--color-primary-light);
  transition: all var(--transition-base);
}

.solution-card:hover .solution-card-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.solution-card-icon svg {
  width: 26px;
  height: 26px;
}

.solution-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 3;
}

.solution-card-number {
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: .1em;
  margin-bottom: .5rem;
}

.solution-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: .5rem;
}

.solution-card-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.9);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-slow);
  opacity: 0;
}

.solution-card:hover .solution-card-desc {
  max-height: 120px;
  opacity: 1;
}

.solution-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-top: .75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.solution-card:hover .solution-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.solution-card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.solution-card:hover .solution-card-arrow svg {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    aspect-ratio: 4/3;
  }

  .solution-card-desc {
    max-height: none;
    opacity: 1;
  }

  .solution-card-arrow {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   TECHNOLOGY LAYERS
   ============================================ */
.tech {
  padding: var(--section-padding) 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,10,.92) 0%, rgba(10,10,10,.85) 50%, rgba(10,10,10,.92) 100%),
    url('images/tech-bg.jpg') center center / cover no-repeat;
  pointer-events: none;
}

.tech-header {
  margin-bottom: 4rem;
}

.tech-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-layer {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.tech-layer:hover {
  border-color: rgba(5,150,105,.3);
}

.tech-layer.active {
  border-color: var(--color-primary);
  background: rgba(5,150,105,.05);
}

.tech-layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  user-select: none;
}

.tech-layer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tech-layer-number {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(5,150,105,.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.tech-layer.active .tech-layer-number {
  background: var(--color-primary);
  color: var(--color-white);
}

.tech-layer-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-white);
}

.tech-layer-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-base);
  color: var(--color-text-light);
}

.tech-layer-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.tech-layer.active .tech-layer-toggle svg {
  transform: rotate(180deg);
}

.tech-layer.active .tech-layer-toggle {
  color: var(--color-primary);
}

.tech-layer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.tech-layer.active .tech-layer-body {
  max-height: 200px;
}

.tech-layer-content {
  padding: 0 1.75rem 1.5rem;
  padding-left: calc(1.75rem + 36px + 1.25rem);
}

.tech-layer-desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.tech-layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.tech-tag {
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-primary-light);
  background: rgba(5,150,105,.1);
  border: 1px solid rgba(5,150,105,.15);
  padding: .25rem .75rem;
  border-radius: 100px;
}

@media (max-width: 640px) {
  .tech-layer-content {
    padding-left: 1.75rem;
  }

  .tech-layer-header {
    padding: 1rem 1.25rem;
  }
}

/* ============================================
   SEGMENTS
   ============================================ */
.segments {
  padding: var(--section-padding) 0;
  background: var(--color-off-white);
}

.segments-header {
  margin-bottom: 3.5rem;
}

.segments-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 280px 280px 280px;
  gap: 1.25rem;
}

.segment-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.segment-card-bg {
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}

.segment-card:hover .segment-card-bg {
  transform: scale(1.05);
}

.segment-card--industria .segment-card-bg {
  background: url('images/seg-industry.jpg') center center / cover no-repeat;
}

.segment-card--industria .segment-card-bg::before {
  display: none;
}

.segment-card--varejo {
}

.segment-card--varejo .segment-card-bg {
  background: url('images/seg-retail.jpg') center center / cover no-repeat;
}

.segment-card--varejo .segment-card-bg::before {
  display: none;
}

.segment-card--hotelaria .segment-card-bg {
  background: url('images/seg-hotel.jpg') center center / cover no-repeat;
}

.segment-card--hotelaria .segment-card-bg::before {
  display: none;
}

.segment-card--logistica .segment-card-bg {
  background: url('images/seg-logistics.jpg') center center / cover no-repeat;
}

.segment-card--logistica .segment-card-bg::before {
  display: none;
}

.segment-card--transportes {
  grid-column: span 2;
}

.segment-card--transportes .segment-card-bg {
  background: url('images/seg-transport.jpg') center 70% / cover no-repeat;
}

.segment-card--transportes .segment-card-bg::before {
  display: none;
}

.segment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
  z-index: 2;
  transition: background var(--transition-base);
}

.segment-card:hover .segment-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.15) 100%);
}

.segment-card-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  color: var(--color-primary-light);
  backdrop-filter: blur(10px);
}

.segment-card-icon svg {
  width: 22px;
  height: 22px;
}

.segment-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 3;
}

.segment-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .25rem;
}

.segment-card-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-slow);
}

.segment-card:hover .segment-card-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: .5rem;
}

@media (max-width: 768px) {
  .segments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .segment-card {
    min-height: 220px;
  }

  .segment-card--varejo {
    grid-row: auto;
  }

  .segment-card-desc {
    max-height: none;
    opacity: 1;
    margin-top: .5rem;
  }
}

/* ============================================
   WHY STRATIMO
   ============================================ */
.why {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

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

.why-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  background: var(--color-white);
  transition: all var(--transition-base);
}

.why-card:hover {
  border-color: rgba(5,150,105,.15);
  box-shadow: 0 12px 40px rgba(5,150,105,.08);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--color-primary-bg);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.why-card:hover .why-card-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .5rem;
}

.why-card-desc {
  font-size: .9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: var(--section-padding) 0;
  background: var(--color-off-white);
}

.products-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.products-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 3rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card--pocket {
  background: linear-gradient(160deg, #0d2818 0%, #0a1f10 40%, #071a0c 100%);
  border: 1px solid rgba(5,150,105,.15);
}

.product-card--pocket::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(5,150,105,.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(5,150,105,.1) 0%, transparent 40%);
  pointer-events: none;
}

.product-card--custom {
  background: linear-gradient(160deg, #111111 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,.08);
}

.product-card--custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(5,150,105,.08) 0%, transparent 40%);
  pointer-events: none;
}

.product-card-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: .375rem 1rem;
}

.product-card--pocket .product-card-badge {
  color: var(--color-primary-light);
  background: rgba(5,150,105,.15);
  border: 1px solid rgba(5,150,105,.2);
}

.product-card--custom .product-card-badge {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

.product-card-content {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
}

.product-card-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: .25rem;
  letter-spacing: -.02em;
}

.product-card-tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}

.product-card-desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 400px;
}

.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.product-feature {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: .375rem .875rem;
  border-radius: 100px;
}

.product-feature svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary-light);
}

.btn--product {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: .9375rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--transition-base);
  align-self: flex-start;
}

.btn--product:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,150,105,.3);
}

.product-card--custom .btn--product {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
}

.product-card--custom .btn--product:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
}

.btn--product svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 2rem;
    min-height: 340px;
  }

  .product-card-badge {
    left: 2rem;
    top: 1.5rem;
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, #0a1a10 50%, var(--color-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,.8) 0%, rgba(5,30,15,.65) 50%, rgba(10,10,10,.8) 100%),
    url('images/cta-bg.jpg') center center / cover no-repeat;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.cta-banner-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-banner .btn--primary {
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.5);
  padding: 4rem 0 0;
  border-top: 1px solid var(--color-dark-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand svg {
  height: 26px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand-desc {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-links a {
  font-size: .9375rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8125rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ============================================
   WORDPRESS CORE COMPATIBILITY
   ============================================ */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Print */
@media print {
  .site-header,
  .hero-scroll,
  .cta-banner {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
