/* ============================================================
   SAIDEIRA — Global Stylesheet
   Covers: index.html, termos-de-uso.html,
           politica-privacidade.html, suporte.html
   ============================================================ */

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

/* ── Base ── */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1D2A4A;
    line-height: 1.6;
    padding: 0;
}

/* ============================================================
   LANDING PAGE — index.html
   ============================================================ */

/* ── Container ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 0;
    padding: 10px 20px 80px;
    box-shadow: none;
}

/* ── HERO BANNER ── */
.hero-banner {
    background: linear-gradient(180deg, #77b3ef 0%, #e7ebf1 100%);
    border-radius: 0;
    padding: 70px 36px 90px;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.hero-inner {
    width: fit-content;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto;
    gap: 16px;
    align-items: center;
}

.hero-kicker {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #445268;
    font-weight: 700;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #1a1d21;
    line-height: 1.05;
    margin: 5px 0;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 40px;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
    margin: 5px 0;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* ── Buttons ── */
.btn {
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #1a1f27;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.btn-primary {
    background: #ffffff;
    color: #1a1f27;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.btn-secondary {
    background: #1a1f27;
    color: #ffffff;
}

.btn:hover { transform: translateY(-3px); }

.btn-dark {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 28px;
    background: #1a1f27;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

/* ── Hero Visual ── */
.hero-visual {
    position: relative;
    width: 340px;
    height: 420px;
    margin-left: -80px;
}

.iphone-image {
    position: absolute;
    width: 250px;
    height: auto;
    left: 130px;
    bottom: 0;
    z-index: 1;
    box-shadow: none;
}

.table-image {
    position: absolute;
    width: 220px;
    height: auto;
    bottom: 0;
    left: 0;
    z-index: 2;
    background: transparent;
    filter: drop-shadow(0 20px 10px rgba(0,0,0,0.32));
    border-radius: 0;
}

/* ── Sub-Hero ── */
.sub-hero {
    background: linear-gradient(180deg, #e7ebf1 0%, #f8fafc 60%, #ffffff 100%);
    padding: 30px 30px 60px;
    text-align: center;
}

.sub-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1f27;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sub-hero p {
    font-size: 18px;
    color: #3a3f47;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Comic Strip ── */
.comic-section {
    background: radial-gradient(ellipse at center, #ffffff 0%, #f9c446 100%);
    padding: 50px 36px 60px;
    text-align: center;
}

.comic-section h2 {
    color: #1a1f27;
    margin-bottom: 32px;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 960px;
    margin: 0 auto;
}

.comic-grid img {
    width: 100%;
    border-radius: 10px;
    display: block;
    border: 3px solid rgba(0,0,0,0.08);
}

/* ── Pain Point ── */
.problem-box {
    background: #FEF3C7;
    border-left: 4px solid #F4C441;
    padding: 25px;
    border-radius: 14px;
    margin: 60px 0;
    font-weight: 500;
}

/* ── Section headings ── */
h2 {
    font-size: 28px;
    color: #1b3f92;
    margin-bottom: 25px;
}

/* ── How It Works — CARDS ── */
.how-section {
    background: linear-gradient(180deg, #ffffff 0%, #e7ebf1 50%, #77b3ef 100%);
    padding: 60px 36px 24px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.how-grid-wrapper {
    max-width: 944px;
    margin: 20px auto 60px;
    background: #F9FAFB;
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.how-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    margin: 0;
    max-width: 100%;
}

.how-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
}

.how-card {
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.how-card-1 {
    background: linear-gradient(160deg, #f7dbba 0%, #f07c1a 100%);
    min-height: 420px;
    justify-content: flex-start;
}

.how-card-2 {
    background: linear-gradient(135deg, #cce0f4 0%, #4a8fd4 100%);
    padding: 28px;
}

.how-card-3 {
    background: linear-gradient(135deg, #ffc97a 0%, #f9a84d 100%);
}

.how-card-4 {
    background: linear-gradient(135deg, #c6e1f6 0%, #529ddb 100%);
}

.how-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #1a1f27;
    line-height: 1.2;
    margin-bottom: 8px;
}

.how-card-2-body {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.how-card-2-body p {
    margin-bottom: 0;
    flex: 1;
}

.how-qr-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.how-appstore-btn {
    display: inline-block;
    margin-top: 16px;
    transition: transform 0.2s;
}

.how-appstore-btn:hover { transform: translateY(-3px); }

.how-appstore-btn img {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
}

.how-card p {
    font-size: 15px;
    color: #2a3040;
    line-height: 1.5;
    margin-bottom: 0;
}

.how-card-text { z-index: 1; }

.how-phone-mockup {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    height: 60%;
    object-fit: contain;
    display: block;
    z-index: 1;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,0.22));
}

/* ── Features ── */
.features-section {
    background: linear-gradient(180deg, #77b3ef 33%, #a8caeb 55%, #cfdcef 100%);
    padding: 40px 36px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    text-align: center;
}
.features {
    display: grid;
    width: 70%;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #F9FAFB;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
}

.feature-card h3 { margin-bottom: 10px; }

.feature-icon {
    display: block;
    margin: 0 auto 14px;
}

/* ── Final CTA ── */
.final-cta {
    text-align: center;
    margin-top: 50px;
}
.final-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.final-cta-icon {
    height: 60px;
    width: auto;
}
/* ── Footer ── */
.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #E6F4FE;
}

.footer a {
    margin: 0 12px;
    color: #092054;
    text-decoration: none;
    font-weight: 600;
}
.cta-button { 
  /* download with ios - nao ta sendo usado por enquanto */
  background-color: #000;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer a:hover { text-decoration: underline; }


/* ============================================================
   LEGAL PAGES — termos-de-uso, politica-privacidade, suporte
   Scoped with body.legal-page to avoid conflicts with index
   ============================================================ */

body.legal-page {
    background: linear-gradient(135deg, #4C7DF0 0%, #7FA8FF 100%);
    min-height: 100vh;
    padding: 20px;
}

body.legal-page .container {
    max-width: 800px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

body.legal-page .header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E6F4FE;
}

body.legal-page .logo {
    font-size: 48px;
    font-weight: 800;
    color: #4C7DF0;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

body.legal-page .subtitle {
    font-size: 18px;
    color: #6B7280;
    font-weight: 500;
}

body.legal-page .last-updated {
    display: inline-block;
    background: #E6F4FE;
    color: #4C7DF0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
}

body.legal-page h1 {
    font-size: 32px;
    color: #1D2A4A;
    margin-bottom: 24px;
    font-weight: 800;
}

body.legal-page h2 {
    font-size: 22px;
    color: #0f2353;
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

body.legal-page h3 {
    font-size: 18px;
    color: #1D2A4A;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

body.legal-page p {
    margin-bottom: 16px;
    color: #374151;
    font-size: 16px;
}

body.legal-page ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

body.legal-page li {
    margin-bottom: 8px;
    color: #374151;
    font-size: 16px;
}

body.legal-page .highlight-box {
    background: #FEF3C7;
    border-left: 4px solid #F4C441;
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
}

body.legal-page .highlight-box p {
    margin-bottom: 8px;
    color: #1D2A4A;
    font-weight: 500;
}

body.legal-page .highlight-box p:last-child { margin-bottom: 0; }

body.legal-page .contact-box {
    background: #E6F4FE;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin-top: 40px;
}

body.legal-page .contact-box h3 {
    color: #4C7DF0;
    margin-top: 0;
    margin-bottom: 16px;
}

body.legal-page .contact-email {
    font-size: 18px;
    font-weight: 700;
    color: #1D2A4A;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    background: white;
    border-radius: 12px;
    transition: transform 0.2s;
}

body.legal-page .contact-email:hover { transform: translateY(-2px); }

body.legal-page .intro {
    background: #F9FAFB;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid #E5E7EB;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 900px */
@media (max-width: 900px) {
    .hero-title { font-size: 40px; }
}

/* 768px */
@media (max-width: 768px) {
    .hero-banner  { padding: 40px 22px 30px; }
    .hero-inner   { grid-template-columns: 1fr; text-align: center; width: 100%; }
    .hero-cta     { justify-content: center; }
    .hero-visual  { height: auto; min-height: unset; width: 100%; margin: 10px auto 0; display: flex; justify-content: center; align-items: flex-end; }
    .hero-title   { font-size: 34px; }
    .iphone-image { position: relative; left: auto; right: auto; bottom: auto; transform: none; width: 260px; }
    .table-image  { display: none; }

    .sub-hero       { padding: 20px 22px 30px; }
    .sub-hero h1    { font-size: 24px; }
    .sub-hero p     { font-size: 16px; }

    .comic-section  { padding: 36px 16px 44px; }
    .comic-grid     { grid-template-columns: 1fr; gap: 8px; }

    .how-grid       { grid-template-columns: 1fr; max-width: 100%; }
    .how-card-1     { min-height: 360px; }
    .how-phone-img  { width: 50%; }
    .how-phone-mockup { right: auto; right: 0; bottom: 0; width: 52%; height: auto; }
    .how-grid-wrapper { margin-bottom: 20px; }
    .features-section { padding-top: 20px; }
    

    body.legal-page .container { padding: 24px; border-radius: 16px; }
    body.legal-page .logo      { font-size: 36px; }
    body.legal-page h1         { font-size: 26px; }
    body.legal-page h2         { font-size: 20px; }
    body.legal-page            { padding: 12px; }
}

/* 640px */
@media (max-width: 640px) {
    .comic-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* 480px */
@media (max-width: 480px) {
    .container      { padding: 24px 16px 60px; }
    .hero-banner    { padding: 40px 18px 50px; }
    .hero-title     { font-size: 26px; padding-top: 16px; padding-bottom: 16px; }
    .hero-subtitle  { font-size: 28px; }
    .btn            { padding: 12px 20px; min-width: 130px; font-size: 14px; }
    .hero-visual {
        height: auto;
        min-height: unset;
    }

    .iphone-image {
        width: 65vw;
        max-width: 280px;
    }
    .table-image    { width: 135px; right: 50px; }
    h2              { font-size: 22px; }
    .features       { grid-template-columns: 1fr; }
    .how-section    { padding: 30px 16px; }
    .features-section { padding: 30px 16px; }

    .how-bottom     { grid-template-columns: 1fr; }
    .how-card h3    { font-size: 18px; }
}

/* 380px */
@media (max-width: 380px) {
    .comic-grid { grid-template-columns: 1fr; }
}
