/* 
 * Farol de Busca – Design System & UI (Public)
 * Tema: Claro, Moderno, Profissional (SaaS Style)
 */

/* Self-hosted Inter font */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: optional;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Cores */
    --brand: #2563eb;
    --brand-dark: #1e40af;
    --brand-light: #eff6ff;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --success: #10b981;
    --danger: #ef4444;

    /* Neutros */
    --text: #0f172a;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --card: #ffffff;

    /* Efeitos */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.section {
    padding: 80px 0;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--cta-bg, var(--brand));
    color: var(--cta-fg, var(--brand-contrast, #fff));
}

.btn-primary:hover {
    background: var(--cta-bg-dark, var(--brand-dark));
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--brand-light);
    color: var(--brand);
}

.btn-secondary:hover {
    background: #dbeafe;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Cards */
.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.3s ease;
}

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

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

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

@media (max-width: 992px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    h1 {
        font-size: 2.5rem;
    }
}

/* Header & Nav */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-logo span {
    color: var(--text);
}

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

.site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--brand);
}

.hamburger,
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

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

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

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

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

.header-cta {
    padding: 8px 20px !important;
    font-size: 0.875rem !important;
    border-radius: var(--radius) !important;
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .hamburger,
    .mobile-toggle {
        display: flex;
    }
}

/* ═══ Top Bar ═══ */
.top-bar a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar-right a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

/* ═══ Offcanvas Mobile Menu ═══ */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9995;
    transition: right 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.offcanvas-menu.open {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.offcanvas-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}

.offcanvas-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.5rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.offcanvas-close:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.offcanvas-nav {
    padding: 16px 0;
}

.offcanvas-nav a {
    display: block;
    padding: 14px 24px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
}

.offcanvas-nav a:hover {
    background: var(--bg-alt);
    color: var(--brand);
}

.offcanvas-footer {
    padding: 16px 24px;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    color: var(--border);
}

/* Page Hero (blog, sobre, servicos, produtos) */
.page-hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 40px;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.page-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 600px) {
    .page-hero { padding: 40px 0 28px; }
    .page-hero h1 { font-size: 1.625rem; }
}

/* Page Breadcrumb Strip (between hero and content) */
.page-breadcrumb {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.page-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    padding: 9px 0;
    flex-wrap: wrap;
}
.page-breadcrumb li + li::before {
    content: '/';
    margin-right: 4px;
    opacity: 0.45;
}
.page-breadcrumb a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}
.page-breadcrumb a:hover { text-decoration: underline; }
.page-breadcrumb li:last-child { color: var(--text); font-weight: 600; }

/* CTA Block (reused: home, sobre, servicos, produtos) */
.cta-block {
    background: var(--brand);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-block__title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.cta-block__text {
    color: rgba(255,255,255,.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
}
.cta-block::before,
.cta-block::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}
.cta-block::before { width: 240px; height: 240px; top: -60px; right: -60px; }
.cta-block::after  { width: 120px; height: 120px; bottom: -24px; left: 8%; }
@media (max-width: 768px) {
    .cta-block { padding: 56px 24px; border-radius: 20px; }
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-light);
}

/* Footer */
.site-footer {
    background: var(--footer-bg, #0f172a);
    color: var(--footer-fg, #fff);
    padding: 64px 0 32px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--footer-logo-accent, var(--footer-fg, #fff));
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--footer-fg, #fff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-desc {
    color: var(--footer-muted, #94a3b8);
    font-size: 0.9375rem;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--footer-fg, #fff);
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-col h2 {
    color: var(--footer-fg, #fff);
}

.footer-heading {
    color: var(--footer-fg, #fff);
    margin-bottom: 24px;
    font-size: 1rem;
    font-weight: 700;
}

.footer-logo-img {
    max-height: 48px;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col nav a {
    color: var(--footer-muted, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col nav a:hover {
    color: var(--footer-fg, #fff);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border, #1e293b);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--footer-muted, #94a3b8);
    font-size: 13px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--footer-muted, #94a3b8);
}

.powered {
    color: var(--footer-muted, #94a3b8);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--footer-muted, #94a3b8);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--footer-fg, #fff);
}

.social-icon {
    color: var(--footer-muted, #94a3b8);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--footer-fg, #fff);
}

.footer-bottom a {
    color: var(--footer-link, #60a5fa);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--footer-link-hover, #93bbfc);
}

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

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

/* ═══ Top Bar (Anti-Cabeçalho) ═══════════════════════════════════ */
.top-bar {
    background: #0f172a;
    padding: 8px 0;
    font-size: 12.5px;
    color: #94a3b8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

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

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

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar-item:hover {
    color: #fff;
}

a.top-bar-item {
    cursor: pointer;
}

.top-bar-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-social {
    color: #94a3b8;
    transition: color 0.2s;
    display: flex;
}

.top-bar-social:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ═══ Header Improvements ════════════════════════════════════════ */
.site-header.scrolled {
    box-shadow: var(--shadow);
}

.site-logo-img {
    max-height: 40px;
}

.btn-cta {
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ═══ Offcanvas Mobile Menu ══════════════════════════════════════ */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9995;
    transition: right 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.offcanvas-menu.open {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.offcanvas-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 6px;
    display: flex;
}

.offcanvas-close:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.offcanvas-nav {
    padding: 16px 0;
}

.offcanvas-nav a {
    display: block;
    padding: 14px 24px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
}

.offcanvas-nav a:hover {
    background: var(--bg-alt);
    color: var(--brand);
}

.offcanvas-contact {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.offcanvas-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 0;
}

.offcanvas-contact-item:hover {
    color: var(--brand);
}

.offcanvas-social {
    display: flex;
    gap: 16px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.offcanvas-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.offcanvas-social a:hover {
    color: var(--brand);
}

/* Hamburger animation */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

.mobile-toggle span {
    transition: all 0.3s ease;
}

/* ═══ Contact Page ═══════════════════════════════════════════════ */
.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--brand);
    margin-top: 2px;
}

.contact-item a {
    color: var(--brand);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Utilities */
.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.city-link {
    display: block;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s;
}

.city-link:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
}

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON & MODAL
   ═══════════════════════════════════════════════════════════════ */

/* ── Floating Button ──────────────────────────────────────────── */
.wa-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    color: #fff;
}

.wa-float-btn svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.wa-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* Pulse ring */
.wa-float-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.30);
    animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* ── Modal Overlay ────────────────────────────────────────────── */
.wa-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.wa-modal-overlay[hidden] {
    display: none;
}

/* ── Modal Card ───────────────────────────────────────────────── */
.wa-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    animation: waSlideIn 0.22s ease;
}

@keyframes waSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── Modal Header ─────────────────────────────────────────────── */
.wa-modal-header {
    background: #009E8A;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-modal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.wa-modal-name {
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.2;
}

.wa-modal-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.80);
    margin-top: 2px;
}

.wa-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #A0FFB1;
    flex-shrink: 0;
}

.wa-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.80);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.wa-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* ── Callout Strip ────────────────────────────────────────────── */
.wa-modal-callout {
    background: #FDFAE2;
    padding: 9px 16px;
    font-size: 12.5px;
    color: #926E36;
    text-align: center;
    border-bottom: 1px solid #f5eecc;
}

/* ── Form Body ────────────────────────────────────────────────── */
.wa-modal-body {
    background: #EFEFEF;
    padding: 20px 16px 24px;
}

.wa-form-group {
    margin-bottom: 14px;
}

.wa-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

.wa-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 24px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.wa-input:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.wa-input::placeholder {
    color: #9a9a9a;
}

.wa-field-error {
    display: none;
    font-size: 11.5px;
    color: #dc2626;
    margin-top: 4px;
    padding-left: 4px;
}

.wa-submit-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 24px;
    border: none;
    background: #25D366;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    transition: background 0.15s, opacity 0.15s;
    margin-top: 6px;
}

.wa-submit-btn:hover {
    background: #1db954;
}

.wa-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Thank-you ────────────────────────────────────────────────── */
.wa-thank-you {
    background: #f8f8f8;
    padding: 32px 20px 28px;
    text-align: center;
}

.wa-thank-you[hidden] {
    display: none;
}

.wa-ty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.wa-ty-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.wa-ty-sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 480px) {
    .wa-modal-overlay {
        padding: 12px;
        align-items: center;
        justify-content: center;
    }

    .wa-modal {
        max-width: 100%;
        border-radius: 16px;
    }

    .wa-float-btn {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
}
