/* ============================================
   AR NUPE - Certificado Digital
   Design System & Global Styles
   Colors derived from logo: Navy #1a5276, Amber #f5a623
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --navy-50: #e8f0f7;
    --navy-100: #c5d9ea;
    --navy-200: #9ebfdc;
    --navy-300: #77a5cd;
    --navy-400: #5991c2;
    --navy-500: #3b7db7;
    --navy-600: #2e6a9e;
    --navy-700: #1f5580;
    --navy-800: #1a4a6e;
    --navy-900: #0e3350;
    --navy: #1a5276;
    --navy-dark: #0f3451;

    /* Accent Colors */
    --amber-50: #fff8e8;
    --amber-100: #ffedc2;
    --amber-200: #ffe09a;
    --amber-300: #ffd372;
    --amber-400: #ffc84e;
    --amber-500: #f5a623;
    --amber: #f5a623;
    --amber-600: #e09218;
    --amber-700: #c77d10;

    /* Neutrals */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Semantic */
    --white: #ffffff;
    --black: #000000;
    --success: #22c55e;
    --danger: #dc3545;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(245, 166, 35, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 8px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: var(--navy);
}

.text-accent {
    color: var(--amber);
}

/* ============================================
   Unified Button System
   All CTA buttons share the same style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

/* Primary CTA — used for all main actions across the site */
.btn-cta {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-600) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--amber-600) 0%, var(--amber-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
    color: var(--white);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
}

/* Outline Light — used on dark backgrounds */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.84rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    opacity: 0.9;
    transition: all var(--transition-fast);
}

.top-bar-link:hover {
    opacity: 1;
    color: var(--amber);
}

.top-bar-divider {
    opacity: 0.25;
    user-select: none;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 166, 35, 0.12);
    color: var(--amber);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    min-height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: height var(--transition-base);
}

.header.scrolled .logo-img {
    height: 50px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--navy);
    background: var(--navy-50);
}

.nav-link.active {
    color: var(--navy);
    font-weight: 600;
    background: var(--navy-50);
}

.header-cta {
    padding: 10px 24px;
    font-size: 0.88rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition-base);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 52, 81, 0.93) 0%,
        rgba(26, 82, 118, 0.87) 40%,
        rgba(26, 82, 118, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: var(--radius-full);
    color: var(--amber);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.18;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 580px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Differentials Strip */
.hero-differentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    animation: fadeInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.hero-diff-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-diff-item svg {
    color: var(--amber);
    flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: 0;
    margin-top: -56px;
    position: relative;
    z-index: 2;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.trust-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-50), var(--navy-100));
    border-radius: 50%;
    color: var(--navy);
    flex-shrink: 0;
}

.trust-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--amber-50);
    color: var(--amber-600);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--amber-100);
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.5;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 0.97rem;
    line-height: 1.75;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.stat-item:hover {
    border-color: var(--amber-200);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber-50), var(--amber-100));
    border-radius: var(--radius-sm);
    color: var(--amber-600);
    flex-shrink: 0;
}

.stat-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy);
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* About Visual / Feature Cards */
.about-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.about-feature-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--amber);
}

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-sm);
    color: var(--white);
    margin-bottom: 14px;
}

.about-feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--navy);
}

.about-feature-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: var(--section-padding);
    background: var(--white);
}

.product-category {
    margin-bottom: 48px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-200);
}

.category-title svg {
    color: var(--amber);
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-200);
}

.card-highlight {
    border-color: var(--amber-200);
    background: linear-gradient(180deg, var(--amber-50) 0%, var(--white) 30%);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 14px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-green {
    background: var(--success);
}

.badge-accent {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-600) 100%);
}

/* Product Header — icon + name inline */
.product-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.product-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-50), var(--navy-100));
    border-radius: var(--radius-md);
    color: var(--navy);
    flex-shrink: 0;
}

.icon-cloud {
    background: linear-gradient(135deg, var(--amber-50), var(--amber-100));
    color: var(--amber-600);
}

.product-name {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.product-type {
    font-size: 0.82rem;
    color: var(--gray-500);
    display: block;
}

/* Product description paragraph */
.product-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.product-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.product-price {
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.price-installment {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 2px;
}

.price-installment strong {
    font-size: 1.25rem;
    color: var(--navy);
}

.price-cash {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.price-cash strong {
    color: var(--amber-600);
}

.price-consult {
    display: block;
    font-size: 1rem;
    color: var(--amber-600);
    font-weight: 600;
    padding: 6px 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 16px;
    line-height: 1.35;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--amber-200);
}

.contact-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--amber-50), var(--amber-100));
    border-radius: 50%;
    color: var(--amber-600);
}

.contact-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.contact-sub {
    margin-top: 8px;
}

.contact-card a {
    color: var(--amber-600);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--amber-700);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(10);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.75;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--amber);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--amber);
    margin-top: 3px;
}

.footer-cnpj {
    padding-left: 24px;
    margin-top: -4px;
    opacity: 0.75;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 0.8rem;
    opacity: 0.55;
}

.footer-certisign {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--gray-900);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 76px;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer driven animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .trust-card {
        padding: 24px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

    .hero-differentials {
        gap: 10px 20px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --section-padding: 72px 0;
    }

    .top-bar-right {
        display: none;
    }

    .top-bar-info {
        display: none;
    }

    .top-bar-divider:last-of-type,
    .top-bar-link:nth-of-type(2) {
        display: none;
    }

    .top-bar-divider {
        display: none;
    }

    /* Mobile Navigation */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right var(--transition-slow);
        z-index: 1000;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 24px;
        width: 100%;
        text-align: left;
    }

    .hamburger {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .logo-img {
        height: 48px;
    }

    .header.scrolled .logo-img {
        height: 42px;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        min-height: 85dvh;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-differentials {
        flex-direction: column;
        gap: 8px;
    }

    .hero-diff-item {
        font-size: 0.84rem;
    }

    /* Trust */
    .trust-section {
        margin-top: -36px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trust-card {
        padding: 22px 20px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .trust-icon {
        margin-bottom: 0;
        width: 52px;
        height: 52px;
    }

    .trust-title {
        margin-bottom: 4px;
        font-size: 1rem;
    }

    .trust-card p {
        font-size: 0.85rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 24px 20px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* WhatsApp button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .cta-content h2 {
        font-size: 1.25rem;
    }

    .product-header {
        gap: 12px;
    }

    .product-icon {
        width: 44px;
        height: 44px;
    }

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

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

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-wheel {
        animation: none;
    }
}

/* Focus Styles */
:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .top-bar,
    .header,
    .whatsapp-float,
    .scroll-indicator,
    .cta-section {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-overlay {
        background: none;
    }

    body {
        color: #000;
    }
}
