:root {
    /* Paleta da marca Clinic Copilot (igual ao app em src/web) */
    --primary: #30D4C9;        /* teal da marca (green-01) — botões/realces */
    --primary-dark: #00C5BD;   /* green-02 — gradiente/hover */
    --primary-deep: #0a8f86;   /* teal legível para texto sobre branco */
    --bg-light: #f3f4f6;       /* gray-100 (fundo do app) */
    --bg-card: #ffffff;
    --text-main: #1f2937;      /* gray-800 */
    --text-muted: #6b7280;     /* gray-500 */
    --border: #e5e7eb;         /* gray-200 */
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav (vidro fosco claro) */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
}

/* Cards brancos */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .logo img { height: 42px; }
}

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

.nav-links a:not(.btn-primary) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-deep);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(48, 212, 201, 0.35);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-deep);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: radial-gradient(circle at top right, rgba(48, 212, 201, 0.14), transparent 42%),
                radial-gradient(circle at bottom left, rgba(48, 212, 201, 0.07), transparent 42%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Main Visual (Hero Image) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.main-visual-img {
    display: block;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 20px rgba(48, 212, 201, 0.15);
    border: 1px solid var(--border);
    transition: var(--transition);
}

video.main-visual-img { background: #ffffff; }

.main-visual-img:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), 0 0 30px rgba(48, 212, 201, 0.25);
}

/* Features */
.features {
    padding: 8rem 0;
}

.section-badge {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-deep);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 14px 36px rgba(48, 212, 201, 0.16);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(48, 212, 201, 0.14);
    color: var(--primary-deep);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Proof Section */
.proof {
    padding: 8rem 0;
    background: #ffffff;
}

.proof-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 5rem;
}

.client-tag {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition);
}

.client-tag:hover {
    opacity: 1;
    color: var(--text-main);
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin: 3rem 0 5rem;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.logo-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(48, 212, 201, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .logo-wall { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1rem; }
    .logo-item { height: 60px; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-deep);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Problema (Você sabia?) */
.problem {
    padding: 7rem 0;
    background: #ffffff;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.problem-card {
    text-align: center;
}

.problem-number {
    display: block;
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--primary-deep);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.problem-card p { color: var(--text-muted); }
.problem-card strong { color: var(--text-main); }

.problem-foot {
    max-width: 760px;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-main);
}

.problem-source {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Crescimento / economia anual */
.growth {
    padding: 8rem 0;
    background: #ffffff;
}

.growth-sub {
    max-width: 680px;
    margin: -2.5rem auto 3.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.growth-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 2.25rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.growth-col.highlight {
    background: linear-gradient(160deg, rgba(48, 212, 201, 0.12), rgba(0, 197, 189, 0.06));
    border-color: var(--primary);
    box-shadow: 0 14px 36px rgba(48, 212, 201, 0.18);
}

.growth-year {
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.growth-year em { font-style: normal; opacity: 0.7; font-weight: 500; }

.growth-exec {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-deep);
    line-height: 1.05;
    margin-top: 0.25rem;
}

.growth-label {
    color: var(--text-main);
    font-weight: 600;
}

.growth-meta {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.5rem;
}

.growth-foot {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2.5rem;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 14px 36px rgba(48, 212, 201, 0.16);
}

.testimonial-card .stars {
    color: #f5b301;
    letter-spacing: 3px;
    font-size: 1.1rem;
}

.testimonial-card .quote {
    color: var(--text-main);
    font-style: italic;
    flex: 1;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.testimonial-card .author-logo {
    height: 40px;
    max-width: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.testimonial-card .author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author strong {
    color: var(--text-main);
}

.testimonial-card .author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA — card teal de destaque */
.cta {
    padding: 8rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(48, 212, 201, 0.3);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.5rem;
}

.cta-content .btn-primary {
    background: #ffffff;
    color: var(--primary-deep);
}

.cta-content .btn-primary:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Páginas internas (Recursos) */
.article-main {
    padding-top: 9rem;
    padding-bottom: 5rem;
    min-height: 70vh;
}

.article {
    max-width: 780px;
}

.back-link {
    display: inline-block;
    color: var(--primary-deep);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.back-link:hover { text-decoration: underline; }

.article h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.prose { color: var(--text-muted); font-size: 1.08rem; }
.prose-center { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.prose h2 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
}
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--text-main); }
.prose ul { margin: 0 0 1.1rem 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--primary-deep); }
.prose blockquote {
    border-left: 4px solid var(--primary);
    background: #ffffff;
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--text-main);
    font-size: 1.15rem;
}

.article-cta { margin-top: 3rem; }

/* Lista de recursos */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 14px 36px rgba(48, 212, 201, 0.16);
}

.resource-card h3 { color: var(--text-main); font-size: 1.25rem; }
.resource-card p { color: var(--text-muted); flex: 1; }
.resource-link { color: var(--primary-deep); font-weight: 700; }

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

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

.footer-brand .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-deep);
}

.footer-content {
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Ícones sociais (footer) */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.footer-social a:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-social i { width: 20px; height: 20px; }

/* Honeypot anti-spam (escondido de humanos) */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Modal de demonstração */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}

.modal-overlay.open { display: flex; }

.modal {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.25s ease;
}

.modal h2 { font-size: 1.6rem; margin-bottom: 0.35rem; }

.modal-sub { color: var(--text-muted); margin-bottom: 1.5rem; }

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover { color: var(--text-main); }

.demo-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.demo-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.demo-form input,
.demo-form textarea {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-main);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    transition: var(--transition);
    width: 100%;
}

.demo-form input:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(48, 212, 201, 0.18);
}

.demo-form textarea { resize: vertical; }

.demo-form .btn-primary {
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    width: 100%;
}

.demo-form .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; margin: 0; }
.form-status.ok  { color: var(--primary-deep); }
.form-status.err { color: #dc2626; }

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .modal { padding: 2.25rem 1.25rem 1.5rem; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.main-visual-img {
    animation: float 6s ease-in-out infinite;
}

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

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Pulse animation for CTA */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.cta-content .btn-primary {
    animation: pulse-glow 2s infinite;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 { font-size: 3rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }

    .nav-links { display: none; }

    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
}
