/* =========================================================
   Debora Palermo — Campanha Deputada Estadual
   Estilo estático para hospedagem compartilhada (Locaweb)
   ========================================================= */

:root {
    --green: #009641;
    --green-dark: #007a34;
    --yellow: #f2c200;
    --yellow-light: #ffd21f;
    --blue: #0a3d8f;
    --blue-deep: #0a2a5c;
    --bg: #f6f8f4;
    --text: #0d2733;
    --muted: #37525e;
    --radius: 1.5rem;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--blue-deep); }

.font-display, .brand-name, .brand-sub, .ticker-item,
.about-title, .stat-num, .cta-title, .footer-brand {
    font-family: "Fraunces", serif;
}

.container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Color bar ---------- */
.color-bar {
    display: flex;
    height: 6px;
    width: 100%;
}
.color-bar .seg { flex: 1; }
.color-bar .green { background: var(--green); }
.color-bar .yellow { background: var(--yellow); }
.color-bar .blue { background: var(--blue); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(10, 61, 143, 0.1);
    background: rgba(246, 248, 244, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
}
.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--blue);
}
.brand-sub {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
}
@media (max-width: 640px) { .brand-sub { display: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    border: none;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.625rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; font-weight: 700; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-yellow { background: var(--yellow); color: var(--blue-deep); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.btn-yellow:hover { background: var(--yellow-light); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 600;
    overflow: hidden;
}
.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Ticker ---------- */
.ticker {
    overflow: hidden;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
    background: var(--blue);
    padding: 0.75rem 0;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.ticker-item {
    margin: 0 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--yellow);
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}
.ticker-item .dot { color: var(--green); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* ---------- About ---------- */
.about { padding: 4rem 1.25rem; }
@media (min-width: 768px) { .about { padding: 6rem 1.25rem; } }
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-photo { order: 1; }
    .about-text { order: 2; }
}
.about-photo {
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 400 / 500;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--green);
}
.about-title {
    margin-top: 0.75rem;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--blue-deep);
}
.about-body {
    margin-top: 1.25rem;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}
.about-body p + p { margin-top: 1rem; }
.about-body strong { font-weight: 600; color: var(--blue-deep); }
.stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10, 61, 143, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.stat-num { font-size: 1.875rem; font-weight: 700; }
.stat-num.green { color: var(--green); }
.stat-num.blue { color: var(--blue); }
.stat-num.gold { color: #c79a00; }
.stat-label {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--muted);
}

/* ---------- CTA ---------- */
.cta { padding: 4rem 1.25rem; }
@media (min-width: 768px) { .cta { padding: 6rem 1.25rem; } }
.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue);
    padding: 3.5rem 1.5rem;
    text-align: center;
}
@media (min-width: 768px) { .cta-card { padding: 5rem 4rem; } }
.cta-title {
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}
@media (min-width: 768px) { .cta-title { font-size: 3rem; } }
.cta-text {
    position: relative;
    margin: 1.25rem auto 0;
    max-width: 36rem;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
}
.cta-card .btn { position: relative; margin-top: 2.25rem; }
.blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}
.blob-green {
    top: -4rem; right: -4rem;
    width: 14rem; height: 14rem;
    background: rgba(0, 150, 65, 0.3);
}
.blob-yellow {
    bottom: -5rem; left: -2.5rem;
    width: 16rem; height: 16rem;
    background: rgba(242, 194, 0, 0.2);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid rgba(10, 61, 143, 0.1);
    background: var(--bg);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 2rem 1.25rem;
    font-size: 0.875rem;
    color: var(--muted);
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.footer-brand { font-size: 1.125rem; font-weight: 600; color: var(--blue); }
.footer-pl { color: var(--green); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.15s ease;
}
.float-wa:hover { transform: scale(1.05); }
.float-wa:active { transform: scale(0.95); }
