/* ===== VARIABLES ===== */
:root {
    --bg-primary: #FAFAF8;
    --bg-secondary: #F5F5F0;
    --bg-card: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --text-tertiary: #86868B;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-green: #6BCB8B;
    --accent-green-hover: #5AB87A;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav-logo img {
    border-radius: 2px;
}

.nav-logo span {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.nav-cta {
    color: #fff;
}

.nav-links a.nav-cta:hover {
    color: #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

/* Mobile menu button */
.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: 2rem 1.5rem;
    z-index: 99;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

/* Hero entrance animations */
@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    animation: hero-fade-up 0.8s ease both;
}

.hero-switch {
    animation: hero-fade-up 0.8s ease 0.2s both;
}

.hero .hero-desc {
    animation: hero-fade-up 0.8s ease 0.4s both;
}

.hero-mini-carousel {
    animation: hero-fade-up 0.8s ease 0.6s both;
}

.hero-carousel-hint {
    animation: hero-fade-up 0.8s ease 0.7s both;
}

.hero-trust {
    animation: hero-fade-up 0.8s ease 0.8s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge-accent {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--accent);
    font-weight: 600;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 580px;
    margin: 0 auto 1.75rem;
    animation: hero-fade-up 0.8s ease 0.5s both;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-pill i {
    color: var(--accent);
}

.hero-partners {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    animation: hero-fade-up 0.8s ease 0.9s both;
}

.hero-partners strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(1.625rem, 5vw, 3.5rem);
    letter-spacing: -0.03em;
    max-width: 720px;
    margin: 0 auto 1.25rem;
    line-height: 1.1;
}

/* ===== HERO SWITCH ===== */
.hero-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-switch-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-switch-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-switch-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.hero-switch-toggle.active {
    background: var(--text-primary);
}

.hero-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.hero-switch-toggle.active .hero-switch-knob {
    transform: translateX(20px);
}

.hero-desc-card {
    max-width: 520px;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    display: none;
    margin: 0;
}

.hero-desc.active {
    display: block;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.hero-location img {
    border-radius: 2px;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ===== HERO MINI CAROUSEL ===== */
.hero-mini-carousel {
    width: 100%;
    max-width: 520px;
    margin: 1rem auto 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-mini-track {
    display: flex;
    gap: 0.75rem;
    animation: hero-scroll 25s linear infinite;
    width: max-content;
}

.hero-mini-track a {
    flex-shrink: 0;
}

.hero-mini-track img {
    width: 140px;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-mini-track img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@keyframes hero-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-mini-carousel:hover .hero-mini-track {
    animation-play-state: paused;
}

.hero-carousel-hint {
    display: inline-block;
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.hero-carousel-hint:hover {
    color: var(--text-primary);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.hero-trust .divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

/* ===== HERO CTA ===== */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #1D1D1F;
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-cta:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--accent-green);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    width: fit-content;
    margin: 0 auto 2.5rem;
    border: 1px solid var(--border-light);
}

.tab-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SUB-TABS ===== */
.sub-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    width: fit-content;
    margin: 0 auto 2rem;
    border: 1px solid var(--border);
}

.sub-tab-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sub-tab-btn.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.sub-tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ===== ACCORDION ===== */
.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: background 0.2s ease;
}

.accordion-trigger:hover {
    background: var(--bg-secondary);
}

.accordion-icon {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.accordion.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion.open .accordion-body {
    max-height: 800px;
}

.accordion-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.accordion-content ul {
    margin-top: 0.5rem;
}

.accordion-content li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.accordion-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-pricing {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.card-pricing .price {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}

.card-pricing .price-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== DEMO BANNER ===== */
.demo-banner {
    max-width: 640px;
    margin: 0 auto 2rem;
    padding: 2rem 2rem 1.75rem;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border: 1px solid #BBF7D0;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 0.9375rem;
    color: #15803D;
    line-height: 1.6;
}

.demo-banner-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: #22C55E;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.demo-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: #22C55E;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s ease;
}

.demo-banner-cta:hover {
    background: #16A34A;
    transform: translateY(-1px);
}

/* ===== RESTO BANNER ===== */
.resto-banner {
    padding: 2rem 2rem 1.75rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FED7AA;
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: 0.9375rem;
    color: #9A3412;
    line-height: 1.6;
}

.resto-banner-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: #EA580C;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.resto-banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9A3412;
    margin-bottom: 0.5rem;
}

.resto-banner .pricing-box {
    background: rgba(255,255,255,0.6);
    border: 1px solid #FED7AA;
}

.resto-banner .pricing-box-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: #9A3412;
}

.resto-banner .pricing-box-desc {
    color: #C2410C;
}

.resto-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.625rem 1.5rem;
    background: #EA580C;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s ease;
}

.resto-banner-cta:hover {
    background: #C2410C;
    transform: translateY(-1px);
}

/* ===== IA CARDS ===== */
.ia-card {
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.card-featured {
    border: 2px solid var(--accent);
    position: relative;
}

.card-label {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.card-title {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.pricing-box-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-box-price {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.pricing-box-price span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.pricing-box-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.pricing-box-price-sm {
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.ia-features {
    text-align: left;
    margin-top: 1.5rem;
}

/* Steps list */
.steps-list {
    margin-top: 1.25rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* WhatsApp CTA in cards */
.btn-whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-whatsapp-card:hover {
    background: #1EBE5A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* IA accordions wrapper */
.ia-accordions {
    max-width: 600px;
    margin: 0 auto;
}

/* IA features: single column in narrow cards */
.ia-features {
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

/* Featured card hover */
.card-featured:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

/* ===== SERVICES SECTION ===== */
.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    margin-bottom: 0.75rem;
}

.services-header p {
    max-width: 520px;
    margin: 0 auto;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.service-feature i {
    color: var(--accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Profile grid */
.profil-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.profil-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.profil-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.04);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.testimonial-location {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
}

.testimonial-cta {
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: border-color 0.3s ease;
}

.testimonial-cta:hover {
    border-color: var(--accent);
}

/* ===== PORTFOLIO ===== */
.portfolio-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.portfolio-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 24px;
    padding: 20px calc(50% - 300px) 20px calc(50% - 300px);
}

.portfolio-carousel-track::-webkit-scrollbar {
    display: none;
}

.preview-card {
    flex: 0 0 600px;
    scroll-snap-align: center;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.92);
}

.preview-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--shadow-lg);
}

.preview-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.preview-image-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 18;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card:hover .preview-overlay {
    opacity: 1;
}

.preview-visit-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
}

.preview-card:hover .preview-visit-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Carousel navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    z-index: 30;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.carousel-nav:hover {
    background: var(--bg-secondary);
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.4);
}

/* Project info */
.project-info-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 0 20px;
    min-height: 280px;
}

.project-info {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

.project-info.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.project-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.project-info p {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-info ul {
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.project-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.project-info li i {
    color: var(--accent);
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
}

/* Portfolio tag */
.preview-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: #fff;
}

.preview-tag.restaurant { background: #D97706; }
.preview-tag.association { background: #2563EB; }
.preview-tag.webapp { background: #7C3AED; }

.preview-tag-wip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: #fff;
    background: #F59E0B;
    animation: pulse-wip 2s ease-in-out infinite;
}

@keyframes pulse-wip {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    margin-bottom: 1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-quote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    font-style: italic;
    color: var(--text-tertiary);
}

/* ===== CONTACT ===== */
.contact-section {
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 0.5rem;
}

.contact-section > p {
    max-width: 520px;
    margin: 0 auto 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-green);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.form-submit:hover {
    background: var(--accent-green-hover);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.contact-alternatives {
    margin-top: 2.5rem;
    text-align: center;
}

.contact-alternatives p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.contact-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    max-width: 520px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: block;
    }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

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

    .hero-desc-card {
        max-width: 100%;
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 0.75rem 1rem;
    }

    .hero-desc {
        font-size: 0.8125rem;
    }

    .hero .container {
        overflow: hidden;
    }

    .section {
        padding: 4rem 0;
    }

    .tabs {
        width: 100%;
        justify-content: center;
    }

    .sub-tabs {
        width: 100%;
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-carousel-track {
        padding: 20px calc(50% - 160px) 20px calc(50% - 160px);
        gap: 16px;
    }

    .preview-card {
        flex: 0 0 320px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .carousel-nav.prev { left: 8px; }
    .carousel-nav.next { right: 8px; }

    .project-info-container {
        min-height: 320px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .ia-card {
        margin: 0 auto 1.25rem;
    }

    .demo-banner {
        padding: 1.5rem 1.25rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .resto-banner {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .pricing-row {
        flex-direction: column;
    }

    .pricing-box {
        min-width: unset;
    }

    .step-item {
        font-size: 0.875rem;
    }

    .btn-whatsapp-card {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .card-label {
        font-size: 0.625rem;
    }

    .hero-trust .divider {
        display: none;
    }

    .hero-trust {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .profil-grid-compact {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
        align-items: stretch;
    }
}

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

    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ===== UTILITIES ===== */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none; }
