@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --paper: #faf8f4;
  --white: #fff;
  --ink: #292f38;
  --muted: #535d66;
  --brand: #81452e;
  --brand-dark: #663722;
  --tint: #f8ece2;
  --line: #e1ded8;
  --soft: #f3f1ec;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 8px 22px -16px rgba(53, 40, 31, .42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.25; font-family: var(--font); }
h1 { font-size: clamp(1.9rem, 3.15vw, 2.75rem); line-height: 1.14; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 2.15vw, 1.75rem); font-weight: 800; letter-spacing: -.012em; }
h3 { font-size: 1.17rem; font-weight: 800; }
p { color: var(--muted); }
address { font-style: normal; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 1.15rem; height: 1.15rem; flex: none; vertical-align: middle; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; padding: 9px; background: white; z-index: 5; }
.skip:focus { left: 12px; }
.navrow, .actions, .nav, .foot-top, .section-head, .contact-panel .wrap { display: flex; align-items: center; }
.navrow, .foot-top, .section-head, .contact-panel .wrap { justify-content: space-between; }
.navrow { min-height: 140px; gap: 20px; }
.brand img { height: 118px; width: auto; }
.nav { gap: 2px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.nav a, .mobile-nav a { padding: 8px 16px; border-radius: 25px; font-weight: 800; font-size: .96rem; text-decoration: none; }
.nav a:hover, .mobile-nav a:hover { background: var(--soft); }
.nav a:last-child, .nav a[aria-current="page"] { color: white; background: var(--brand); }
.nav:has([aria-current="page"]) a:last-child:not([aria-current="page"]) { color: var(--ink); background: transparent; }
.mobile-nav { padding: 0 16px 12px; }
.mobile-nav a { display: block; }
.mobile-nav a[aria-current] { color: var(--brand); }
.menu-btn { display: none; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 24px; padding: 9px 15px; background: white; color: var(--ink); font: 800 1rem var(--font); cursor: pointer; }
[hidden] { display: none !important; }
.actions { gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 1px solid transparent; border-radius: 28px; padding: 10px 18px; font-size: .96rem; font-weight: 800; line-height: 1.35; text-decoration: none; }
.btn.primary { color: white; background: var(--brand); box-shadow: var(--shadow); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.secondary { color: var(--ink); background: white; border-color: var(--line); }
.btn.secondary:hover, .menu-btn:hover { border-color: #b79c88; background: #fcf6f1; }
.textlink, .source a { color: var(--brand); font-weight: 700; text-underline-offset: 4px; }
.textlink:hover, .source a:hover { color: var(--brand-dark); }
.eyebrow { color: var(--brand); font-size: .87rem; font-weight: 800; }
.hero { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; padding: 40px 0 46px; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--tint); border-radius: 20px; padding: 4px 11px; margin-bottom: 15px; }
.hero h1 { max-width: 20ch; }
.hero .lead { font-size: clamp(1.04rem, 1.4vw, 1.125rem); max-width: 52ch; margin: 16px 0 22px; }
.quick-contact, .feature, .sidebox, .contact-card, .guides article { background: white; border: 1px solid var(--line); border-radius: 16px; }
.quick-contact { padding: 21px 24px 16px; box-shadow: var(--shadow); }
.quick-contact h2 { font-size: 1.05rem; }
.quick-unit { display: flex; gap: 13px; margin-top: 13px; }
.quick-unit + .quick-unit { border-top: 1px solid var(--line); padding-top: 13px; }
.quick-unit h3 { font-size: 1rem; }
.quick-unit p { font-size: .94rem; }
.quick-wa { display: inline-flex; align-items: center; gap: 6px; margin: 3px 0; color: var(--brand); font-size: .95rem; font-weight: 800; text-decoration: none; }
.quick-wa:hover { text-decoration: underline; }
a .icon-whatsapp { width: 23px; height: 23px; stroke-width: 1.85; }
.instagram-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; text-decoration: none; vertical-align: middle; }
.instagram-link span { text-decoration: underline; text-underline-offset: 4px; }
.instagram-link .icon { width: 21px; height: 21px; stroke-width: 1.9; }
.branch-motif { width: min(240px, 64%); height: auto; margin: 14px 0 -16px; pointer-events: none; }
.quick-social { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: .91rem; }
.glyph { display: inline-grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 11px; background: var(--tint); color: var(--brand); }
.glyph .icon { width: 22px; height: 22px; }
.services, .paper-section, .family-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(185px, 32%);
  gap: 20px; align-items: center; overflow: hidden; padding: 0 12px 0 26px;
  margin-bottom: 17px; border: 1px solid #e8dcd0; border-radius: 16px;
  background: linear-gradient(100deg, #fcf8f1 5%, #f7efe5 78%, #faf4eb);
}
.family-copy { padding-block: 18px; }
.family-copy .eyebrow { margin-bottom: 4px; }
.family-copy p:not(.eyebrow) { margin-top: 7px; }
.family-copy .textlink { display: inline-block; margin-top: 6px; }
.family-mascot {
  width: 100%; max-width: 290px; height: auto; justify-self: end;
  mix-blend-mode: multiply; mask-image: radial-gradient(ellipse 60% 60% at 64% 54%, black 60%, transparent);
}
.guide-section { padding: 36px 0 44px; }
.services { border-block: 1px solid var(--line); }
.section-head { gap: 20px; margin-bottom: 20px; }
.section-head .eyebrow, .headcopy .eyebrow, .page-intro .eyebrow { margin-bottom: 6px; }
.tiles, .guides, .contact-grid { display: grid; gap: 16px; }
.tiles, .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .guides article { padding: 20px; }
.feature { text-decoration: none; box-shadow: var(--shadow); }
.feature:hover { border-color: #c5a58e; }
.feature h3 { margin: 12px 0 6px; }
.feature:nth-child(2) .glyph { background: #f7ecd3; color: #7d5c1b; }
.feature:nth-child(3) .glyph { background: #e9eedf; color: #52613c; }
.split, .bodygrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.headcopy p:not(.eyebrow) { margin: 12px 0; }
.work-photo { width: 100%; height: 160px; object-fit: cover; object-position: center 66%; border-radius: 14px; margin-top: 18px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 1px solid var(--line); padding: 16px 0; }
.steps h3, .guides h3 { margin-bottom: 7px; }
.guide-section { background: #fff; border-top: 1px solid var(--line); }
.guides article { border-left: 3px solid #c29271; }
.guides h3 a { text-decoration: none; }
.guides h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--soft); border-block: 1px solid var(--line); padding: 28px 0; }
.contact-panel .wrap { position: relative; z-index: 1; }
.curves-motif { display: block; width: 158px; height: auto; margin: 9px 0 -29px; pointer-events: none; }
.contact-panel .wrap, .foot-top { gap: 22px; }
.contact-panel p { margin-top: 4px; }
.footer { padding: 20px 0; }
.foot-top img { width: 80px; height: auto; }
.footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; font-size: .92rem; }
.footer a, .crumbs a { text-underline-offset: 3px; }
.foot-note { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.inner { padding: 22px 0 52px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.crumbs b { color: #8c9294; font-weight: 400; }
.page-intro { max-width: 775px; margin-bottom: 28px; }
.page-intro h1 { font-size: clamp(1.85rem, 3vw, 2.4rem); }
.page-intro .lead { margin-top: 12px; font-size: 1.08rem; }
.bodygrid { grid-template-columns: minmax(0, 1.75fr) minmax(238px, .85fr); }
.prose { max-width: 74ch; }
.prose section + section { margin-top: 24px; }
.prose h2, .faq h2, .sidebox h2, .contact-card h2 { font-size: 1.35rem; }
.prose h2 { margin-bottom: 7px; }
.prose p + p { margin-top: 12px; }
.sidebox, .contact-card { padding: 22px; box-shadow: var(--shadow); }
.sidebox p { margin: 10px 0 16px; }
.source { margin-top: 10px; font-size: .92rem; }
.contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact-card h2 { margin: 12px 0 7px; }
.contact-card address { color: var(--muted); }
.contact-card p { margin: 10px 0 14px; }
.contact-social { margin-top: 15px; }
.faq { margin-top: 32px; max-width: 800px; }
.faq h2 { margin-bottom: 12px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; cursor: pointer; list-style: none; padding: 13px 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 15px 0; }
.article-related { display: inline-block; margin-top: 20px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .navrow { min-height: 104px; }
  .branch-motif { width: 170px; margin: 6px 0 -12px; }
  .curves-motif { width: 117px; }
  .family-banner { grid-template-columns: minmax(0,1fr) minmax(100px, 30%); gap: 3px; padding: 0 0 0 16px; }
  .family-copy { padding-block: 13px; }
  .family-copy h2 { font-size: 1.3rem; }
  .family-mascot { width: 100%; }
  .brand img { height: 86px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero, .split, .bodygrid, .tiles, .guides, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .hero { padding: 21px 0 27px; gap: 20px; }
  .hero .lead { margin: 11px 0 15px; }
  .quick-contact { padding: 17px 19px 14px; }
  .services, .paper-section, .guide-section { padding: 28px 0; }
  .services, .paper-section { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .contact-panel .wrap, .foot-top { flex-direction: column; align-items: flex-start; gap: 15px; }
  .bodygrid, .split { gap: 23px; }
  .inner { padding-top: 15px; }
  .crumbs { margin-bottom: 18px; }
  .page-intro { margin-bottom: 18px; }
}
@media (min-width: 761px) { .mobile-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Recrutamento */
.career-grid { display:grid; grid-template-columns:minmax(15rem,.72fr) minmax(0,1.28fr); gap:clamp(1.5rem,6vw,5rem); align-items:start; }
.career-intro h1,.receipt h1 { font-size:clamp(1.85rem,3vw,2.4rem); }
.career-intro .lead { margin:.7rem 0 1.7rem; max-width:36ch; font-size:1.1rem; }
.career-info { border-top:1px solid var(--line); padding-top:1.2rem; }
.career-info h2,.career-box h2 { font-size:1.3rem; margin-bottom:.4rem; }
.career-branch { width:12rem; margin-top:1.2rem; }
.career-box { background:white; border:1px solid var(--line); border-radius:18px; padding:clamp(1.1rem,3vw,2rem); box-shadow:var(--shadow); min-width:0; }
.form-hint,.hint,.deadline { font-size:.91rem; color:var(--muted); }
.job-form { display:grid; gap:1rem; margin:1.25rem 0 0; }
.job-form label { display:grid; gap:.3rem; font-weight:700; min-width:0; }
.job-form input,.job-form select,.job-form textarea { width:100%; min-width:0; border:1px solid #a9a6a0; border-radius:8px; min-height:45px; padding:.6rem .7rem; background:white; color:var(--ink); font:400 1rem var(--font); }
.job-form textarea { min-height:6rem; }
.job-form select { appearance:none; background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23663722' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; padding-right:2.2rem; }
.job-form :is(input,select,textarea):focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.job-form input[type=file]::file-selector-button { border:0; border-radius:6px; padding:.32rem .55rem; background:var(--soft); font:inherit; margin-right:.55rem; cursor:pointer; }
.form-pair { display:grid; grid-template-columns:1fr 1.1fr; gap:.9rem; }
.job-form button,.admin-box button { width:fit-content; font-family:var(--font); cursor:pointer; }
.privacy-note { font-size:.91rem; line-height:1.5; }
.privacy-note a { color:var(--brand); }
.form-error { background:#fff2e8; padding:.7rem 1rem; color:#843e26; border-radius:8px; }
.receipt { max-width:44rem; }
.receipt p { margin:.8rem 0; }
.admin-box { margin:1.2rem 0; }
.admin-filter { display:flex; align-items:end; gap:.75rem; margin:1rem 0; }
.opportunity,.app-card { margin:.8rem 0; padding:.9rem 0; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.opportunity p,.app-card p { margin:.3rem 0; }
.opportunity .textlink { display:inline-block; margin:.45rem 0; }
.app-card .actions { margin-top:.6rem; }
.admin-box details { margin:.65rem 0; }
.btn.small { min-height:36px; }
@media(max-width:760px){.career-grid,.form-pair { grid-template-columns:minmax(0,1fr); }.career-branch { display:none; }.career-intro .lead { margin-bottom:1rem; }.admin-filter { flex-wrap:wrap; }}
