/* ===============================================
   JOÃO MARGALHO - LANDING PAGE
   Liquid Glass — Apple Design Language
   =============================================== */

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

:root {
    /* Cores */
    --accent:        #FF4F00;
    --accent-soft:   rgba(255, 79, 0, 0.12);
    --accent-hover:  #E04500;
    --text-primary:  #1d1d1f;
    --text-secondary:#6e6e73;
    --bg:            #f5f5f7;
    --surface:       rgba(255, 255, 255, 0.72);
    --surface-dark:  rgba(29, 29, 31, 0.82);
    --border:        rgba(0, 0, 0, 0.08);
    --border-white:  rgba(255, 255, 255, 0.6);

    /* Glass */
    --blur:          blur(24px);
    --blur-sm:       blur(12px);

    /* Sombras */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:  0 24px 64px rgba(0,0,0,0.12);
    --shadow-xl:  0 40px 80px rgba(0,0,0,0.14);

    /* Raios */
    --radius-sm:  10px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --radius-full:9999px;

    /* Espaçamentos */
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 2rem;
    --sp-lg: 4rem;
    --sp-xl: 6rem;

    /* Tipografia */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent);
}

/* ===== CONTAINERS ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--sp-lg) var(--sp-md);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 245, 247, 0.82);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--sp-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0,0,0,0.06);
}

.nav-link.cta-nav {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.nav-link.cta-nav:hover {
    background: var(--accent-hover);
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(160deg, #ffffff 0%, #f5f5f7 60%, #ffe8de 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,79,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--sp-lg) var(--sp-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-md);
    border: 1px solid rgba(255,79,0,0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--sp-md);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: var(--sp-lg);
    color: var(--text-secondary);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    margin-bottom: var(--sp-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.hero-image { position: relative; }

.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-white);
    background: var(--surface);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--surface);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-servico {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,79,0,0.28);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 24px rgba(255,79,0,0.38);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    backdrop-filter: var(--blur-sm);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

/* ===== SECTION HEADERS ===== */
.section-label {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--sp-md);
    border: 1px solid rgba(255,79,0,0.15);
}

.section-title { margin-bottom: var(--sp-md); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--sp-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

/* ===== PARCEIROS ===== */
.parceiros {
    background: rgba(29, 29, 31, 0.88);
    backdrop-filter: var(--blur-sm);
    padding: 1.25rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
}

.parceiros-label {
    flex-shrink: 0;
    padding: 0 var(--sp-md);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    border-right: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
    text-transform: uppercase;
}

.parceiros-track-wrapper {
    flex: 1;
    overflow: hidden;
}

.parceiros-track {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.parceiros-track:hover {
    animation-play-state: paused;
}

.parceiro-item {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.parceiro-sep {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

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

@media (max-width: 640px) {
    .parceiros-label { display: none; }
}

/* ===== SOBRE ===== */
.sobre {
    background: #fff;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.sobre-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--sp-md);
}

.sobre-image-main,
.sobre-image-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-image-secondary {
    margin-top: var(--sp-lg);
    border-radius: var(--radius-md);
}

.sobre-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sobre-description { margin-bottom: var(--sp-md); }

.sobre-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    margin-top: var(--sp-lg);
}

.highlight-item {
    display: flex;
    gap: var(--sp-md);
    padding: 1.25rem var(--sp-md);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--blur-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.highlight-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.highlight-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ===== SERVIÇOS ===== */
.servicos {
    background: var(--bg);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}

.servico-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem var(--sp-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,79,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.servico-card:hover::before {
    opacity: 1;
}

.servico-card.destaque {
    background: linear-gradient(145deg, rgba(255,79,0,0.92), rgba(200,50,0,0.95));
    border-color: rgba(255,120,60,0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(255,79,0,0.2);
}

.servico-card.destaque:hover {
    transform: translateY(-10px);
}

.servico-card.destaque .servico-title,
.servico-card.destaque .servico-description,
.servico-card.destaque .servico-features li {
    color: rgba(255,255,255,0.95);
}

.servico-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: var(--blur-sm);
}

.servico-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.6rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-md);
    border: 1px solid rgba(255,79,0,0.15);
}

.servico-card.destaque .servico-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.servico-title {
    font-size: 1.5rem;
    margin-bottom: var(--sp-sm);
}

.servico-description {
    margin-bottom: var(--sp-md);
    font-size: 0.95rem;
}

.servico-features {
    list-style: none;
    margin-bottom: var(--sp-lg);
}

.servico-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.servico-features i {
    color: var(--accent);
    font-size: 0.8rem;
}

.servico-card.destaque .servico-features li {
    border-bottom-color: rgba(255,255,255,0.15);
}

.servico-card.destaque .servico-features i {
    color: rgba(255,255,255,0.8);
}

.btn-servico {
    width: 100%;
    justify-content: center;
    background: rgba(0,0,0,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-servico:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(255,79,0,0.28);
}

.servico-card.destaque .btn-servico {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.servico-card.destaque .btn-servico:hover {
    background: rgba(255,255,255,0.35);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
    background: #fff;
}

.diferenciais-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.diferenciais-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.diferencial-item {
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.diferencial-item:hover {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.diferencial-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,79,0,0.2);
}

.diferencial-content h4 { margin-bottom: 0.3rem; }

.diferencial-content p {
    margin: 0;
    font-size: 0.95rem;
}

.diferenciais-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.diferenciais-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos {
    background: var(--bg);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
}

.depoimento-card {
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.depoimento-branco {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-color: var(--border-white);
}

.depoimento-preto {
    background: rgba(29, 29, 31, 0.88);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-color: rgba(255,255,255,0.1);
}

.depoimento-laranja {
    background: linear-gradient(145deg, rgba(255,79,0,0.9), rgba(200,50,0,0.92));
    border-color: rgba(255,120,60,0.3);
}

.depoimento-estrelas {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.depoimento-laranja .depoimento-estrelas {
    color: rgba(255,255,255,0.9);
}

.depoimento-texto {
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.depoimento-preto .depoimento-texto,
.depoimento-laranja .depoimento-texto {
    color: rgba(255,255,255,0.85);
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.depoimento-preto .depoimento-autor,
.depoimento-laranja .depoimento-autor {
    border-top-color: rgba(255,255,255,0.15);
}

.depoimento-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    border: 1px solid rgba(255,79,0,0.2);
}

.depoimento-preto .depoimento-avatar {
    background: rgba(255,79,0,0.2);
    color: #fff;
    border-color: rgba(255,79,0,0.4);
}

.depoimento-laranja .depoimento-avatar {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.depoimento-autor strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.depoimento-preto .depoimento-autor strong,
.depoimento-laranja .depoimento-autor strong {
    color: #fff;
}

.depoimento-autor small {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.depoimento-preto .depoimento-autor small,
.depoimento-laranja .depoimento-autor small {
    color: rgba(255,255,255,0.65);
}

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

/* ===== FAQ ===== */
.faq {
    background: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    display: flex;
    gap: var(--sp-md);
    align-items: flex-start;
    padding: 1.5rem var(--sp-md);
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--border-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-numero {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    color: #fff;
}

.faq-item:nth-child(odd) .faq-numero {
    background: var(--accent);
}

.faq-item:nth-child(even) .faq-numero {
    background: var(--text-primary);
}

.faq-conteudo h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.faq-conteudo p {
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.7;
}

/* ===== DIAGNÓSTICO ===== */
.diagnostico {
    background: var(--bg);
}

.diagnostico-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.diagnostico-form {
    max-width: 860px;
    margin: 0 auto;
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-white);
    border-radius: var(--radius-xl);
    padding: 3rem var(--sp-lg);
    box-shadow: var(--shadow-xl);
}

.form-section {
    margin-bottom: var(--sp-lg);
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.form-section-title i {
    color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
}

.form-group { margin-bottom: var(--sp-md); }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.8);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,79,0,0.1);
}

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover,
.checkbox-option:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,79,0,0.08);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--accent);
}

.radio-content {
    display: flex;
    flex-direction: column;
}

.radio-content strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.radio-content small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.checkbox-option span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-submit {
    text-align: center;
    padding-top: var(--sp-lg);
}

.form-disclaimer {
    margin-top: var(--sp-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.form-disclaimer i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* ===== PROGRESS BAR ===== */
.form-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--sp-lg);
}

.progress-step {
    flex: 1;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(0,0,0,0.04);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.progress-step .step-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-secondary);
}

.progress-step.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(255,79,0,0.25);
}

.progress-step.active .step-num {
    color: #fff;
}

.progress-step.done {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.progress-step.done .step-num {
    color: #fff;
}

@media (max-width: 640px) {
    .progress-step {
        font-size: 0;
        padding: 0.5rem;
    }
    .progress-step .step-num {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
}

/* ===== CONTATO ===== */
.contato {
    background: var(--bg);
}

.contato-info { max-width: 700px; }

.contato-description { margin-bottom: var(--sp-lg); }

.contato-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm);
    margin-bottom: var(--sp-lg);
}

.contato-item {
    display: flex;
    gap: var(--sp-sm);
    align-items: center;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--border-white);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.25s ease;
}

.contato-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(255,79,0,0.2);
}

.contato-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.3rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    border: 1px solid rgba(255,79,0,0.15);
}

.contato-text h4 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contato-text p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--text-secondary);
}

.contato-social {
    display: flex;
    gap: 0.75rem;
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--border);
}

.social-link {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    backdrop-filter: var(--blur-sm);
    color: var(--text-secondary);
    font-size: 1.3rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.social-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(255,79,0,0.28);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(29, 29, 31, 0.96);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    color: rgba(255,255,255,0.85);
    padding: var(--sp-lg) var(--sp-md);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: #fff;
    letter-spacing: -0.04em;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: var(--sp-md);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--blur-sm);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border-white);
    border-radius: var(--radius-xl);
    padding: 3rem var(--sp-lg);
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: var(--sp-md);
}

.modal-content h3 { margin-bottom: var(--sp-sm); }

.modal-content p { margin-bottom: var(--sp-lg); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ===== MOBILE CTA ===== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    z-index: 998;
    padding: 0.75rem var(--sp-sm);
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid var(--border);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(255,79,0,0.3);
}

.mobile-cta.hidden { display: none; }

@media (max-width: 768px) {
    .mobile-cta { display: block; }
    body { padding-bottom: 5rem; }
    .whatsapp-float { bottom: 90px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: calc(100vh - 65px);
        background: rgba(245, 245, 247, 0.96);
        backdrop-filter: var(--blur);
        -webkit-backdrop-filter: var(--blur);
        flex-direction: column;
        padding: var(--sp-md);
        border-left: 1px solid var(--border);
        transition: right 0.3s ease;
        gap: 0.5rem;
    }

    .nav-menu.active { right: 0; }

    .hero-content { grid-template-columns: 1fr; }
    .hero-image { order: -1; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); }
    .sobre-content { grid-template-columns: 1fr; }
    .sobre-images { grid-template-columns: 1fr; }
    .sobre-image-secondary { margin-top: 0; }
    .servicos-grid { grid-template-columns: 1fr; }
    .servico-card.destaque { transform: translateY(-2px); }
    .diferenciais-content { grid-template-columns: 1fr; }
    .diferenciais-image { order: -1; }
    .form-row { grid-template-columns: 1fr; }
    .contato-items { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root {
        --sp-lg: 3rem;
        --sp-xl: 4rem;
    }

    .hero-cta { flex-direction: column; }
    .hero-cta a { width: 100%; justify-content: center; }
    .hero-stats { grid-template-columns: 1fr; }
    .btn-primary, .btn-secondary, .btn-servico { width: 100%; justify-content: center; }
    .contato-social { justify-content: center; }
    .footer-links { flex-direction: column; gap: 0.25rem; align-items: center; }
    .diagnostico-form { padding: 2rem var(--sp-sm); }
}

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

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

.fade-in-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .fade-in-section,
    .fade-in-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .parceiros-track { animation: none; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--sp-xs) !important; }
.mb-2 { margin-bottom: var(--sp-sm) !important; }
.mb-3 { margin-bottom: var(--sp-md) !important; }
.mb-4 { margin-bottom: var(--sp-lg) !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--sp-xs) !important; }
.mt-2 { margin-top: var(--sp-sm) !important; }
.mt-3 { margin-top: var(--sp-md) !important; }
.mt-4 { margin-top: var(--sp-lg) !important; }
