/* ═══════════════════════════════════════════════════════
   GIULIA VENTURA — Design System
   Paleta inspirada na Porto Seguro
   ═══════════════════════════════════════════════════════ */

:root {
    /* Colors — Porto Seguro inspired */
    --blue-primary: #0046C0;
    --blue-dark: #002D7A;
    --blue-deeper: #001A4D;
    --blue-accent: #00A5E3;
    --blue-light: #E8F4FD;
    --white: #FFFFFF;
    --gray-50: #F8FAFB;
    --gray-100: #F1F4F7;
    --gray-200: #E2E7ED;
    --gray-300: #CCD3DC;
    --gray-500: #7A8699;
    --gray-700: #3D4B5E;
    --gray-900: #1A2332;
    --green-success: #00C48C;
    --red-error: #E63946;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Navbar */
    --navbar-height: 72px;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--blue-dark);
}

/* ═══════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--gray-900);
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .hero-highlight {
    color: var(--blue-accent);
}


/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border-color: var(--blue-primary);
}
.btn-outline:hover {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--blue-primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-500);
    border: none;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}
.btn-ghost:hover {
    color: var(--blue-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}
.btn-block {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--navbar-height);
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    text-decoration: none;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    transition: color var(--transition-base);
    letter-spacing: -0.02em;
}

.navbar.scrolled .brand-name {
    color: var(--gray-900);
}

.brand-highlight {
    color: var(--blue-accent);
    margin-left: 0.15em;
}

.navbar.scrolled .brand-highlight {
    color: var(--blue-primary);
}

.brand-name--footer {
    font-size: 1.3rem;
    color: var(--white);
}
.brand-name--footer .brand-highlight {
    color: var(--blue-accent);
}


.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition-fast);
    text-decoration: none;
}
.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}
.navbar.scrolled .nav-link:hover {
    color: var(--blue-primary);
}

.nav-cta {
    margin-left: var(--space-sm);
    background: var(--white) !important;
    color: var(--blue-primary) !important;
    border-color: var(--white) !important;
}

.navbar.scrolled .nav-cta {
    background: var(--blue-primary) !important;
    color: var(--white) !important;
    border-color: var(--blue-primary) !important;
}
.navbar.scrolled .nav-cta:hover {
    background: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
}

/* Hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
    border-radius: 2px;
}
.navbar.scrolled .navbar-toggle span {
    background: var(--gray-900);
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */

.section {
    padding: var(--space-4xl) 0;
}

.section--white {
    background: var(--white);
}

.section--light {
    background: var(--gray-50);
}

.section--gradient {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    position: relative;
}

.section--cta {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-deeper));
    text-align: center;
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-primary);
    margin-bottom: var(--space-sm);
}
.section-label--light {
    color: var(--blue-accent);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}
.section-title--light {
    color: var(--white);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}
.section-desc--light {
    color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 60%, var(--blue-accent) 100%);
    padding-top: calc(var(--navbar-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0,165,227,0.15), transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05), transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    background: var(--white);
    border-radius: 6px;
    margin-bottom: var(--space-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.porto-logo {
    height: 28px;
    width: auto;
    display: block;
}

.porto-logo--sm {
    height: 22px;
}

.porto-wordmark,
.porto-wordmark--sm {
    display: none;
}

.porto-badge-divider {
    display: block;
    width: 1px;
    height: 18px;
    background: #D0D7E6;
}

.porto-badge-divider--sm {
    height: 14px;
}

.porto-badge-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4A5568;
    line-height: 1;
}

.porto-badge-label--sm {
    font-size: 0.58rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-trust {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 500;
}

/* Hero Image / Photo Placeholder */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-photo-wrapper {
    position: relative;
    width: 340px;
    height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-xl);
}

.hero-photo-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,70,192,0.92);
    backdrop-filter: blur(8px);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
}
.hero-photo-badge strong {
    color: var(--white);
    font-size: 1.05rem;
}
.hero-photo-badge span {
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-photo-wrapper {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo-placeholder {
    aspect-ratio: 3/4;
    max-width: 380px;
}

.about-content .section-label {
    text-align: left;
}

.about-text {
    font-size: 1.02rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
}

.about-feature div:last-child {
    display: flex;
    flex-direction: column;
}
.about-feature strong {
    font-size: 0.95rem;
    color: var(--gray-900);
}
.about-feature span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ═══════════════════════════════════════════════════════
   CARDS CONSÓRCIO
   ═══════════════════════════════════════════════════════ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.card-consorcio {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}
.card-consorcio:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-primary);
}

.card-consorcio-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.card-consorcio-icon--imovel {
    background: #E8F5E9;
    color: #2E7D32;
}
.card-consorcio-icon--carro {
    background: var(--blue-light);
    color: var(--blue-primary);
}
.card-consorcio-icon--pesado {
    background: #FFF3E0;
    color: #E65100;
}
.card-consorcio-icon--servico {
    background: #F3E5F5;
    color: #7B1FA2;
}

.card-consorcio-title {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.card-consorcio-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.card-consorcio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    list-style: none;
    margin-bottom: var(--space-lg);
}
.card-consorcio-tags li {
    padding: 0.2rem 0.6rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ═══════════════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════════════ */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}
.benefit-card:hover {
    background: var(--gray-50);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--blue-light);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   STEPS TIMELINE
   ═══════════════════════════════════════════════════════ */

.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.step {
    display: flex;
    gap: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-xl);
}
.step:last-child {
    padding-bottom: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-full);
    background: var(--blue-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--gray-50);
}

.step-content h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-xs);
    padding-top: 0.2rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PORTO NA TV — BANNER
   ═══════════════════════════════════════════════════════ */

.section--dark {
    background: var(--blue-dark);
    color: var(--white);
}

.section-title--light {
    color: var(--white);
}

.text-gradient-light {
    background: linear-gradient(135deg, var(--blue-accent), #7DD3FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.porto-tv-banner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
}

.porto-tv-image {
    display: flex;
    justify-content: center;
}

.porto-tv-image img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.porto-tv-content .section-label--light {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.porto-tv-content .section-title--light {
    margin-bottom: var(--space-lg);
}

.porto-tv-text {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.porto-tv-text strong {
    color: var(--white);
}

.porto-tv-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.porto-tv-highlights li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.porto-tv-highlights svg {
    color: var(--blue-accent);
    min-width: 20px;
}

/* Video Thumbnails */
.porto-tv-videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-thumb {
    position: relative;
    border: none;
    padding: var(--space-xl) var(--space-lg);
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.video-thumb--blue {
    background: linear-gradient(135deg, #0046C0 0%, #002D7A 100%);
}

.video-thumb--accent {
    background: linear-gradient(135deg, #00A5E3 0%, #0046C0 100%);
}

.video-thumb-icon {
    color: rgba(255,255,255,0.3);
}

.video-thumb-play {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.95);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.video-thumb:hover .video-thumb-play {
    transform: scale(1.12);
}

.video-thumb-label {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.01em;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.video-modal-content {
    position: relative;
    width: 90vw;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.open .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(0,0,0,0.6);
    border: none;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0.9;
    transition: opacity 0.2s, background 0.2s;
}

.video-modal-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .video-modal-close {
        top: 8px;
        right: 8px;
        background: rgba(0,0,0,0.7);
    }
}

.video-modal-iframe-wrapper {
    width: 100%;
    height: 100%;
}

.video-modal-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Mobile carousel for testimonials */
@media (max-width: 768px) {
    #depoimentos .container {
        overflow: visible;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-md);
        padding: 0 var(--space-lg) var(--space-md);
        margin: 0 calc(var(--space-lg) * -1);
    }

    .testimonials-grid::-webkit-scrollbar {
        height: 4px;
    }

    .testimonials-grid::-webkit-scrollbar-track {
        background: var(--gray-200);
        border-radius: 2px;
    }

    .testimonials-grid::-webkit-scrollbar-thumb {
        background: var(--blue-primary);
        border-radius: 2px;
    }

    .testimonial-card {
        min-width: 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .hide-mobile {
        display: none !important;
    }

    .faq-item--extra {
        display: none;
    }
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #F5A623;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--blue-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ═══════════════════════════════════════════════════════
   FORM MULTI-STEP
   ═══════════════════════════════════════════════════════ */

.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

/* Progress */
.form-progress {
    margin-bottom: var(--space-xl);
    position: relative;
}

.form-progress-bar {
    height: 4px;
    background: var(--blue-primary);
    border-radius: 2px;
    transition: width var(--transition-slow);
    position: absolute;
    top: 14px;
    left: 0;
    z-index: 0;
}

.form-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.form-progress-step {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}
.form-progress-step.active {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--blue-light);
}
.form-progress-step.done {
    background: var(--green-success);
    color: var(--white);
}

/* Steps */
.form-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}
.form-step.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step-title {
    font-size: 1.35rem;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.form-step-desc {
    font-size: 0.92rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Option buttons (Step 1) */
.form-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-700);
}
.form-option:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    background: var(--blue-light);
}
.form-option.selected {
    border-color: var(--blue-primary);
    background: var(--blue-light);
    color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0,70,192,0.15);
}

/* Fields */
.form-field {
    margin-bottom: var(--space-lg);
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-field input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--gray-900);
    transition: all var(--transition-fast);
    outline: none;
    background: var(--white);
}
.form-field input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0,70,192,0.12);
}
.form-field input.error {
    border-color: var(--red-error);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

.input-icon {
    position: relative;
}
.input-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.95rem;
}
.input-icon input {
    padding-left: 2.8rem;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: 0.8rem;
    color: var(--red-error);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

/* Navigation */
.form-consent {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #4A5568;
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--blue-primary);
    cursor: pointer;
}

.consent-label a {
    color: var(--blue-primary);
    text-decoration: underline;
}

.form-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-lg);
}

/* Success */
.form-success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.form-success-icon {
    color: var(--green-success);
    margin-bottom: var(--space-lg);
}
.form-success-icon svg {
    width: 72px;
    height: 72px;
}

.form-success-tip {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 0.5rem 1rem;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-primary);
}

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    transition: color var(--transition-fast);
}
.faq-question:hover {
    color: var(--blue-primary);
}
.faq-question svg {
    min-width: 20px;
    transition: transform var(--transition-base);
    color: var(--gray-500);
}
.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════ */

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.5rem,3.5vw,2.25rem);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.65);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-tagline {
    font-size: 0.88rem;
    margin-top: var(--space-md);
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}
.footer-links a:hover {
    color: var(--white);
}

.footer-text {
    font-size: 0.83rem;
    line-height: 1.6;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: var(--space-md);
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.18);
}

.porto-wordmark--sm {
    font-size: 0.8rem;
}

.porto-badge-divider--sm {
    height: 14px;
}

.porto-badge-label--sm {
    font-size: 0.58rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-legal {
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-md);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   SECONDARY PAGES
   ═══════════════════════════════════════════════════════ */

.page-content {
    padding-top: calc(var(--navbar-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    min-height: 60vh;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: var(--space-xl);
}

.page-content h2 {
    font-size: 1.3rem;
    margin: var(--space-xl) 0 var(--space-md);
}

.page-content p,
.page-content li {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.page-content ul {
    padding-left: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .hero-image {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        display: flex;
        justify-content: center;
    }
    .about-photo-wrapper {
        max-width: 280px;
    }
    .about-content .section-label {
        text-align: center;
    }
    .about-features {
        align-items: center;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .porto-tv-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .porto-tv-image {
        order: -1;
    }

    .porto-tv-image img {
        max-width: 320px;
    }

    .porto-tv-highlights {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
    }

    /* Navbar mobile */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform var(--transition-base);
        z-index: 999;
    }
    .navbar-menu.open {
        transform: translateY(0);
    }
    .navbar-menu .nav-link {
        color: var(--gray-700);
        font-size: 1rem;
    }
    .navbar-menu .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-bottom: calc(var(--space-3xl) + 40px);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .porto-tv-image img {
        max-width: 260px;
    }

    .form-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
    }

    .footer-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .steps-timeline::before {
        left: 22px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: auto;
        min-width: 220px;
    }
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    .form-wrapper {
        padding: var(--space-lg);
    }
}