/* Toldos Almeida Sorocaba — tema 2026 */
:root {
  --navy: #0c1b33;
  --navy-2: #14264a;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-soft: #f7f8fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 27, 51, .10);
  --shadow-sm: 0 4px 14px rgba(12, 27, 51, .08);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Topbar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: .9rem;
  padding: .45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--amber); }
.topbar .badge { color: var(--amber); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text strong { color: var(--navy); font-size: 1.05rem; font-weight: 800; }
.brand .brand-text span { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .55rem .8rem; border-radius: 8px; transition: .15s;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.nav .btn-nav {
  background: var(--amber); color: var(--navy); margin-left: .5rem;
}
.nav .btn-nav:hover { background: var(--amber-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: .55rem .7rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(430px, 68vh, 620px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,27,51,.88) 0%, rgba(12,27,51,.72) 45%, rgba(12,27,51,.35) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 4.5rem 0; }
.hero .eyebrow {
  display: inline-block; background: rgba(245,158,11,.18); color: var(--amber);
  border: 1px solid rgba(245,158,11,.45);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #dbe4f0; max-width: 56ch; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.6rem; }
.hero-stats div strong { display: block; font-size: 1.6rem; color: var(--amber); font-weight: 800; }
.hero-stats div span { font-size: .85rem; color: #cbd5e1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.btn-primary:hover { background: var(--amber-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #dbe4f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #9fb0c9; }
.kicker {
  display: block; color: var(--amber-dark); font-weight: 800;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem;
}
.section-dark .kicker { color: var(--amber); }

/* Cards / grids */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-body .link { font-weight: 700; color: var(--amber-dark); text-decoration: none; font-size: .95rem; }
.card-body .link:hover { text-decoration: underline; }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--amber); display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: rgba(245,158,11,.18); color: var(--amber-dark);
  font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}

/* Prova social */
.rating { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.stars { color: var(--amber); letter-spacing: .12em; font-size: 1.05rem; }
.rating span { color: var(--muted); font-size: .9rem; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.quote p { font-size: .97rem; color: var(--ink); }
.quote footer { font-size: .88rem; color: var(--muted); font-weight: 600; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.cta-band p { margin: 0; color: #b9c6db; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-dark); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); font-size: .96rem; }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #b9c6db; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: #93a4c0; margin-bottom: .9rem; }
.breadcrumb a { color: var(--amber); text-decoration: none; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.06); }

/* Blog */
.post-card .card-body .meta { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.post-card h3 { font-size: 1.08rem; }
.article { max-width: 760px; }
.article h2 { font-size: 1.4rem; margin-top: 1.8rem; }
.article h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.article figure { margin: 1.6rem 0; }
.article figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.article .lead { font-size: 1.1rem; color: var(--ink); }
.article ul { padding-left: 1.2rem; }
.article strong { color: var(--navy); }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.post-card a { text-decoration: none; color: inherit; }
.post-card > a img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.post-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--amber-dark); }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; font-weight: 600; }

.post { padding: 0 0 clamp(3rem, 7vw, 4.5rem); }
.post-header { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%); color: #fff; padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.post-header h1 { color: #fff; max-width: 22ch; margin-bottom: .5rem; }
.post-header .post-meta { color: #93a4c0; }
.post-body { max-width: 780px; padding-top: clamp(1.8rem, 4vw, 2.6rem); }
.post-body h2 { font-size: 1.45rem; margin-top: 1.9rem; }
.post-body h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.post-body figure { margin: 1.7rem 0; }
.post-body figure img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.post-body figcaption { font-size: .86rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.post-body .cta-band { margin-top: 2.2rem; }
.post-body .check-list { margin-top: 0; }
.post-body .check-list li { color: var(--ink); }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.post-nav-item { font-weight: 700; font-size: .92rem; color: var(--amber-dark); text-decoration: none; }
.post-nav-item:hover { text-decoration: underline; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem;
}
.info-list .ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  background: var(--bg-soft); display: grid; place-items: center; font-size: 1.1rem;
}
.info-list strong { display: block; color: var(--navy); font-size: .95rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.info-list a:hover { color: var(--amber-dark); }

form.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
  display: grid; gap: .9rem;
}
form.contact-form label { font-weight: 600; font-size: .88rem; color: var(--navy); display: block; margin-bottom: .3rem; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line);
  border-radius: 10px; font: inherit; font-size: .95rem; background: #fff;
}
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.2);
}
.post-lead { font-size: 1.08rem; color: #c7d2e6; max-width: 62ch; }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .92rem; }
.compare-table th, .compare-table td { border: 1px solid #dfe6f0; padding: .7rem .9rem; text-align: left; }
.compare-table thead th { background: var(--navy); color: #fff; }
.compare-table tbody tr:nth-child(even) { background: #f4f7fc; }
.related-posts { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid #e2e8f3; }
.related-posts h3 { margin-bottom: 1rem; }
.related-posts .blog-grid { grid-template-columns: repeat(2, 1fr); }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-success {
  background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .35);
  color: #15803d; border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; display: none;
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  text-decoration: none; transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float .label {
  position: absolute; right: 68px; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: .15s;
}
.wa-float:hover .label { opacity: 1; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb0c9; padding: 3.2rem 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.4rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer a { color: #9fb0c9; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand img { height: 38px; margin-bottom: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0; font-size: .83rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* Util */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Responsivo */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: .6rem 1.2rem 1.2rem; gap: .2rem;
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .75rem .6rem; }
  .nav .btn-nav { margin: .5rem 0 0; text-align: center; justify-content: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .topbar .container { justify-content: center; }
}
