/* ========================================
   STYLE.CSS — Sistema de Design Completo
   Paleta: Terracota #c15f3c / Bege #f4f3ee
   ======================================== */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ===== TOKENS ===== */
:root {
  --primary: #c15f3c;
  --primary-dark: #9e4b2c;
  --primary-light: #d4745a;
  --primary-subtle: rgba(193, 95, 60, 0.09);
  --white: #ffffff;
  --bg: #f4f3ee;
  --gray: #b1ada1;
  --gray-light: #e8e5df;
  --text: #0A0A0B;
  --text-muted: #6b6760;
  --border: #dbd8d1;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(10,10,11,0.07);
  --shadow-md: 0 6px 28px rgba(10,10,11,0.12);
  --max: 1200px;
  --py: 80px;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; top: -100px; left: 0; z-index: 9999;
  background: var(--primary); color: #fff; padding: 12px 24px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-white-outline:hover { background: rgba(255,255,255,.1); }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.35rem; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.logo-tagline { font-size: .62rem; color: var(--text-muted); font-weight: 500; letter-spacing: .6px; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .9rem; font-weight: 500; color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600 !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 99; box-shadow: var(--shadow-md); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--gray-light); }
.mobile-nav a:last-child { border-bottom: none; }
.page-content { padding-top: 72px; }

/* ===== HERO (Home) ===== */
.hero {
  background: var(--bg); padding: var(--py) 0 calc(var(--py) * 1.25);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(193,95,60,.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-subtle); color: var(--primary);
  padding: 6px 16px; border-radius: 100px; font-size: .82rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: var(--text); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-subtitle { font-size: 1.08rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual cards */
.hero-visual { display: flex; justify-content: center; }
.hero-cards { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 360px; }
.hero-card {
  background: var(--white); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
  border-left: 4px solid var(--primary);
}
.hero-card-icon {
  width: 42px; height: 42px; background: var(--primary-subtle); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.hero-card-text h4 { font-size: .93rem; font-weight: 700; margin-bottom: 2px; }
.hero-card-text p { font-size: .78rem; color: var(--text-muted); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-icon {
  width: 40px; height: 40px; background: var(--primary-subtle); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.trust-text { font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ===== SECTION HELPERS ===== */
.section { padding: var(--py) 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.02rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; background: var(--primary-subtle); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps-connector {
  position: absolute; top: 29px; left: 13%; right: 13%;
  height: 2px; background: linear-gradient(to right, var(--primary) 0%, var(--gray) 100%); z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: var(--white);
  font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 14px rgba(193,95,60,.3);
}
.step-item h3 { margin-bottom: 8px; font-size: 1rem; }
.step-item p { font-size: .87rem; color: var(--text-muted); }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item {
  text-align: center; padding: 40px 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--primary);
}
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .88rem; color: var(--text-muted); font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f59e0b; font-size: 1rem; }
.testimonial-text { font-size: .9rem; color: var(--text); line-height: 1.72; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .88rem; margin-bottom: 2px; }
.author-location { font-size: .75rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--border); border-left: 4px solid var(--primary);
}
.faq-question { font-weight: 700; font-size: .93rem; margin-bottom: 10px; }
.faq-answer { font-size: .87rem; color: var(--text-muted); line-height: 1.68; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--primary); padding: var(--py) 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.82); margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 18px; }
.footer-col p, .footer-col address { font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.85; }
.footer-col a { display: block; font-size: .83rem; color: rgba(255,255,255,.65); transition: color .2s; margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary); }
.footer-seals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.seal {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 8px 10px; font-size: .7rem; color: rgba(255,255,255,.65);
}
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.35); }

/* ===== PAGE HERO (páginas internas) ===== */
.page-hero { background: var(--text); color: var(--white); padding: 76px 0 60px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 580px; margin: 0 auto; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--primary); }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 860px; margin: 0 auto; padding: var(--py) 24px; }
.legal-content h2 { font-size: 1.4rem; margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.legal-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.78; }
.legal-content ul, .legal-content ol { margin: 10px 0 18px 24px; }
.legal-content ul li { list-style: disc; margin-bottom: 7px; color: var(--text-muted); line-height: 1.65; }
.legal-content ol li { list-style: decimal; margin-bottom: 7px; color: var(--text-muted); line-height: 1.65; }
.toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 44px; }
.toc h3 { margin-bottom: 16px; font-size: 1rem; }
.toc ol { margin-left: 20px; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--primary); text-decoration: underline; font-size: .88rem; }
.info-box { background: var(--primary-subtle); border: 1px solid rgba(193,95,60,.2); border-radius: var(--radius); padding: 22px; margin: 20px 0; }
.info-box p { color: var(--text); margin: 0; }
.update-date { font-size: .82rem; color: var(--text-muted); margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem; color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(193,95,60,.11); }
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info-block { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: var(--primary-subtle); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.contact-info-text h4 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { font-size: .86rem; color: var(--text-muted); display: block; transition: color .2s; }
.contact-info-text a:hover { color: var(--primary); }
.map-placeholder {
  width: 100%; height: 180px; background: var(--gray-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--border); color: var(--text-muted); font-size: .88rem; margin-top: 24px; text-align: center; padding: 24px;
}
.faq-mini { margin-top: 48px; }
.faq-mini h3 { margin-bottom: 20px; }

/* ===== ABOUT PAGE ===== */
.about-section { padding: var(--py) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.78; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center;
}
.value-icon {
  width: 48px; height: 48px; background: var(--primary-subtle); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--primary);
}
.value-card h3 { font-size: .97rem; margin-bottom: 7px; }
.value-card p { font-size: .83rem; color: var(--text-muted); }
.company-data-box { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius); padding: 30px; margin-top: 40px; }
.company-data-box h3 { color: var(--primary); margin-bottom: 18px; }
.data-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.data-row:last-child { border-bottom: none; }
.data-label { font-weight: 700; min-width: 140px; flex-shrink: 0; }
.data-value { color: var(--text-muted); }
.person-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.person-card h3 { margin-bottom: 8px; }
.person-card .role { color: var(--primary); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.person-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.75; margin-bottom: 10px; }

/* ===== REEMBOLSO / EXTRA ===== */
.steps-list { counter-reset: steps; display: flex; flex-direction: column; gap: 16px; }
.step-list-item {
  counter-increment: steps; display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border);
}
.step-list-item::before {
  content: counter(steps); width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-list-item div h4 { font-size: .95rem; margin-bottom: 4px; }
.step-list-item div p { font-size: .86rem; color: var(--text-muted); }
.warning-box { background: #fff8f3; border: 1px solid rgba(193,95,60,.3); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 22px; margin: 20px 0; }
.warning-box p { margin: 0; color: var(--text); font-size: .9rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); }

/* ===== FOCUS ===== */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ===== RESPONSIVE 1024px ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-connector { display: none; }
  .hero-inner { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px) {
  :root { --py: 56px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-seals { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE 480px ===== */
@media (max-width: 480px) {
  .trust-bar-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-seals { grid-template-columns: 1fr 1fr; }
}
