/* ============================================================
   AP IT Solutions — style.css
   Design system baseado na identidade do logo
   ============================================================ */

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

:root {
  --navy:       #040D2B;
  --navy-mid:   #0B1A45;
  --teal:       #3ECFAA;
  --teal-light: #E8FDF7;
  --teal-mid:   #C5F0E3;
  --bg:         #F7F8FC;
  --surface:    #ffffff;
  --border:     #EAEDF5;
  --text-main:  #1a1a2e;
  --text-muted: #717a99;
  --text-soft:  #9098b3;
  --blue-light: #EAF3FF;
  --blue-mid:   #2563EB;
  --purple-light:#F3EEFF;
  --purple-mid: #7C3AED;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 4px rgba(4,13,43,.06);
  --shadow-md:  0 4px 20px rgba(4,13,43,.09);
  --transition: .2s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- UTILITIES -------------------------------------------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.4px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}
.text-teal  { color: var(--teal); }
.text-navy  { color: var(--navy); }
.text-muted { color: var(--text-muted); }

/* --- BUTTONS ---------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-xl);
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #31bfa0; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 12px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-xl);
  border: none;
  transition: background var(--transition);
}
.btn-dark:hover { background: var(--navy-mid); }

/* --- NAVBAR ----------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-cloud { width: 30px; height: 20px; flex-shrink: 0; }
.logo-text  { font-size: 15px; color: var(--navy); letter-spacing: -.2px; }
.logo-text strong { font-weight: 700; color: var(--teal); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn-nav {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-xl);
  border: none;
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-nav:hover { background: var(--navy-mid); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO ------------------------------------------------- */
.hero {
  background: var(--navy);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(62,207,170,.08) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.hero-orb-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(62,207,170,.05) 0%, transparent 70%);
  bottom: 60px; right: 200px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62,207,170,.1);
  border: 1px solid rgba(62,207,170,.2);
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}
.chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 18px;
  letter-spacing: -.8px;
}
.hero h1 span { color: var(--teal); }

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 0px 32px 0px;
  gap: 0;
}
.hstat {
  flex: 1;
  padding-right: 32px;
}
.hstat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.08);
  margin-right: 32px;
}
.hstat-n {
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.hstat-l {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* --- TS STRIP --------------------------------------------- */
.ts-strip {
  background: var(--teal-light);
  border-bottom: 1px solid var(--teal-mid);
  padding: 14px 0;
}
.ts-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ts-badge {
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  letter-spacing: .5px;
  white-space: nowrap;
}
.ts-strip-text {
  font-size: 13px;
  color: #1a4a3a;
  flex: 1;
}
.ts-strip-link {
  font-size: 12px;
  color: #0f9e7a;
  font-weight: 600;
  white-space: nowrap;
  transition: gap var(--transition);
}
.ts-strip-link:hover { color: var(--teal); }

/* --- SERVICES SECTION ------------------------------------- */
.services-section {
  padding: 80px 0;
  background: var(--bg);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.svc-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.svc-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}
.pill-blue   { background: var(--blue-light);   color: var(--blue-mid); }
.pill-green  { background: var(--teal-light);   color: #0f9e7a; }
.pill-purple { background: var(--purple-light); color: var(--purple-mid); }

.svc-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.svc-more {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.svc-more:hover { gap: 8px; }

/* --- TERCEIRO SETOR --------------------------------------- */
.ts-section {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.ts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ts-left h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.4px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.ts-left p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.ts-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.ts-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
}
.ts-tag.active {
  background: var(--teal-light);
  border-color: var(--teal-mid);
  color: #0f7a5e;
  font-weight: 500;
}

/* ============================================
   CARDS COM IMAGEM DE FUNDO - PADRÃO 200x200px
   ============================================ */

.ts-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card base - tamanho fixo 200x200px */
.ts-box {
    position: relative;
    width: 100%;
    height: 200px; /* Altura fixa */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

/* Overlay escuro para melhor legibilidade do texto */
.ts-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 68, 64, 0.7) 0%, rgba(13, 239, 190, 0.5) 100%);
    border-radius: 20px;
    z-index: 1;
}

/* Efeito hover - overlay mais claro */
.ts-box:hover::before {
     background: linear-gradient(135deg, rgba(13, 239, 190, 0.5) 0%, rgba(13, 68, 64, 0.7) 100%);
}

.ts-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Conteúdo do card - fica acima do overlay */
.ts-box .ts-box-icon,
.ts-box h4,
.ts-box p {
    position: relative;
    z-index: 2;
}

/* Ícones - reduzidos para caber no espaço */
.ts-box-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 12px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Títulos - reduzidos */
.ts-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

/* Texto - reduzido e com altura limitada */
.ts-box p {
    font-size: 0.7rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   IMAGENS ESPECÍFICAS PARA CADA CARD
   Imagens devem ter proporção 1:1 (200x200px)
   ============================================ */

/* Card 1 - Educação Infantil */
.ts-box:first-child {
    background-image: url('/assets/img/cards/card1.webp');
}

/* Card 2 - Parcerias Público-Privadas */
.ts-box:nth-child(2) {
    background-image: url('/assets/img/cards/card2.webp');
}

/* Card 3 - Prestação de Contas */
.ts-box:nth-child(3) {
    background-image: url('/assets/img/cards/card3.webp');
}

/* Card 4 - Infraestrutura Acessível */
.ts-box:nth-child(4) {
    background-image: url('/assets/img/cards/card4.webp');
}

/* Fallback para PNG caso WebP não seja suportado */
@supports not (background-image: url('/assets/img/cards/card1.webp')) {
    .ts-box:first-child { background-image: url('/assets/img/cards/card1.png'); }
    .ts-box:nth-child(2) { background-image: url('/assets/img/cards/card2.png'); }
    .ts-box:nth-child(3) { background-image: url('/assets/img/cards/card3.png'); }
    .ts-box:nth-child(4) { background-image: url('/assets/img/cards/card4.png'); }
}

/* ============================================
   RESPONSIVIDADE DOS CARDS
   ============================================ */

@media (max-width: 768px) {
    .ts-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ts-box {
        height: 180px; /* Altura um pouco menor no mobile */
        padding: 16px;
    }
    
    .ts-box-icon {
        font-size: 24px;
        padding: 5px 8px;
    }
    
    .ts-box h4 {
        font-size: 0.85rem;
    }
    
    .ts-box p {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .ts-box {
        height: 160px;
    }
}

/* --- DIFERENCIAIS ----------------------------------------- */
.diff-section {
  background: var(--bg);
  padding: 80px 0;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color var(--transition), transform var(--transition);
}
.diff-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.diff-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.diff-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.diff-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- CTA / CONTATO ---------------------------------------- */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(62,207,170,.07) 0%, transparent 70%);
  top: -100px; left: -80px;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,.3); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus { border-color: var(--teal); }
.cta-form select { color: rgba(255,255,255,.55); }
.cta-form select option { background: var(--navy); color: #fff; }
.cta-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 90px;
}
.cta-form .btn-submit {
  grid-column: 1 / -1;
  background: var(--teal);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.cta-form .btn-submit:hover { background: #31bfa0; transform: translateY(-1px); }
.form-msg {
  grid-column: 1 / -1;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: none;
}
.form-msg.success { background: rgba(62,207,170,.15); color: var(--teal); display: block; }
.form-msg.error   { background: rgba(232,81,74,.15); color: #e8514a; display: block; }

/* --- FOOTER ----------------------------------------------- */
.footer {
  background: #020817;
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-logo .logo-text { color: #fff !important; }
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  line-height: 1.75;
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: rgba(62,207,170,.15); color: var(--teal); }

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a,
.footer-col ul li {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  font-size: 12px;
  color: rgba(255,255,255,.2);
}

/* --- WHATSAPP FAB ----------------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

/* --- PAGE HERO (subpages) --------------------------------- */
.page-hero {
  background: var(--navy);
  padding: 60px 0;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  max-width: 520px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.6); }

/* --- ALERTS ----------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 20px;
}
.alert-success { background: var(--teal-light); color: #0f7a5e; border: 1px solid var(--teal-mid); }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* --- RESPONSIVE ------------------------------------------- */
@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 24px 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { font-size: 15px; color: var(--navy); }
  .nav-links.open + .btn-nav { display: block; }

  /* Hero */
  .hero { padding: 56px 0 0; }
  .hero h1 { font-size: 30px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hstat { border-right: none !important; margin-right: 0 !important; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 16px; }
  .hstat:last-child { border-bottom: none; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr; }

  /* TS */
  .ts-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Diff */
  .diff-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-form { grid-template-columns: 1fr; }
  .cta-inner h2 { font-size: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  /* Page hero */
  .page-hero h1 { font-size: 26px; }

  .section-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

/* --- ANIMATIONS ------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}