/* ============================================================
   Casa de Repouso Efraim — estilos
   Estética: aconchego vintage + verde sálvia + terracota + creme
============================================================ */
:root{
  --green:#1c7fc2; --green-2:#2a93d4; --green-dark:#0e3a57; --green-soft:#e6f2fb;
  --sage:#7fb4d6; --clay:#1573a8; --clay-soft:#d8ebf8;
  --gold:#5aa0cb; --gold-text:#176090;
  --cream:#eef4f9; --cream-2:#e3eef7; --paper:#ffffff;
  --ink:#17222e; --muted:#51647a; --white:#fff;
  --whats:#1aa64b; --whats-dark:#138a3d;
  --shadow:0 18px 44px rgba(14,58,87,.14); --shadow-sm:0 8px 22px rgba(14,58,87,.10);
  --radius:20px; --radius-sm:14px; --max:1180px; --header-h:96px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--cream);line-height:1.7;font-size:17px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;line-height:1.16;color:var(--green-dark);font-weight:600}
section[id]{scroll-margin-top:var(--header-h)}
:focus-visible{outline:3px solid var(--gold-text);outline-offset:3px;border-radius:6px}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 22px}
.container--narrow{max-width:840px}

.ic{width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic--lg{width:34px;height:34px}
.btn--whats .ic,.whats-float .ic,.nav__cta .ic{fill:currentColor;stroke:none}
.btn--whats .ic{width:1.15em;height:1.15em}
.stars .ic{fill:var(--gold);stroke:var(--gold)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-family:'Inter',sans-serif;font-weight:600;font-size:1rem;padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .2s,background .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn--lg{padding:1.02rem 2rem;font-size:1.06rem}
.btn--block{width:100%}
.btn--primary{background:var(--green);color:#fff;box-shadow:var(--shadow-sm)}
.btn--primary:hover{background:var(--green-dark)}
.btn--whats{background:var(--whats);color:#fff;box-shadow:0 10px 24px rgba(26,166,75,.32)}
.btn--whats:hover{background:var(--whats-dark)}
.btn--ghost{background:transparent;color:var(--green-dark);border-color:rgba(51,86,74,.4)}
.btn--ghost:hover{background:var(--green-soft)}
.btn--cream{background:var(--cream);color:var(--green-dark)}
.btn--cream:hover{background:#fff}

.topbar{background:var(--green-dark);color:#e6efe9;font-size:.9rem}
.topbar__inner{display:flex;gap:1.6rem;justify-content:center;flex-wrap:wrap;padding:.55rem 22px;align-items:center}
.topbar__item{display:inline-flex;align-items:center;gap:.4rem}
.topbar__phone{color:#fff;font-weight:600;min-height:32px}

.header{position:sticky;top:0;z-index:50;background:rgba(244,249,253,.94);backdrop-filter:blur(10px);border-bottom:1px solid rgba(51,86,74,.08);transition:box-shadow .25s}
.header.scrolled{box-shadow:0 6px 24px rgba(38,65,58,.12)}
.header__inner{display:flex;align-items:center;justify-content:space-between;padding:.6rem 22px;min-height:64px}
.brand{display:flex;align-items:center;gap:.7rem}
.brand__logo{display:block;width:46px;height:46px}
.brand__logo svg{width:100%;height:100%}
.brand__logo .roof{fill:var(--green)}
.brand__logo .heart{fill:var(--clay)}
.brand__logo--light .roof{fill:#bcd3c8}
.brand__logo--light .heart{fill:var(--gold)}
.brand__text{display:flex;flex-direction:column;line-height:1.04}
.brand__text strong{font-family:'Inter';font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600}
.brand__text em{font-family:'Fraunces';font-style:normal;font-weight:700;font-size:1.4rem;color:var(--green-dark)}
.nav{display:flex;align-items:center;gap:1.25rem}
.nav a{font-weight:500;color:var(--ink);font-size:.96rem;transition:color .15s}
.nav a:hover{color:var(--green)}
.nav__cta{color:#fff !important;padding:.55rem 1.1rem}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:10px;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.nav-toggle span{width:26px;height:3px;background:var(--green-dark);border-radius:3px;transition:.25s}

.hero{position:relative;color:#fff;overflow:hidden;background:var(--green-dark)}
.hero__bg{position:absolute;inset:0;background:radial-gradient(1100px 600px at 80% -10%,rgba(90,160,203,.38),transparent 60%),radial-gradient(900px 520px at 0% 110%,rgba(42,147,212,.30),transparent 55%),linear-gradient(135deg,#12527e 0%,#0e3a57 65%,#0a2c44 100%)}
.hero__bg::after{content:"";position:absolute;inset:0;opacity:.06;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:24px 24px}
.hero__content{position:relative;z-index:2;padding:5.6rem 22px 5rem;max-width:860px}
.hero__eyebrow{display:inline-flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);padding:.4rem 1rem;border-radius:999px;font-weight:600;font-size:.85rem;margin-bottom:1.4rem}
.hero__title{color:#fff;font-size:clamp(2.5rem,6vw,4.2rem);font-weight:600;letter-spacing:-.01em}
.hero__title span{color:var(--gold);font-style:italic}
.hero__subtitle{margin:1.5rem 0 2.1rem;font-size:clamp(1.08rem,2.3vw,1.32rem);max-width:640px;color:#eaf2ee}
.hero__subtitle strong{color:#fff}
.hero__actions{display:flex;gap:1rem;flex-wrap:wrap}
.hero__badges{list-style:none;display:flex;flex-wrap:wrap;gap:.7rem 1.7rem;margin-top:2.7rem;font-weight:600;color:#dceae3;font-size:.98rem}
.hero__badges li{display:inline-flex;align-items:center;gap:.45rem}
.hero__badges .ic{color:var(--gold)}

.pillars{background:var(--clay);color:#fff}
.pillars__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;padding:2.6rem 22px}
.pillar{text-align:center}
.pillar .ic--lg{color:#fff;margin-bottom:.6rem}
.pillar h3{color:#fff;font-size:1.18rem;margin-bottom:.2rem}
.pillar p{color:#fbe7dd;font-size:.95rem;line-height:1.5}

.section{padding:5.5rem 0}
.section--soft{background:var(--cream-2)}
.section--green{background:var(--green);color:#fff;background-image:radial-gradient(900px 500px at 100% 0%,rgba(90,160,203,.22),transparent 60%)}
.section__head{text-align:center;max-width:720px;margin:0 auto 3.2rem}
.section__eyebrow{display:inline-block;color:var(--gold-text);font-family:'Inter';font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;margin-bottom:.6rem}
.section__eyebrow--light{color:var(--gold)}
.section__title{font-size:clamp(1.85rem,3.8vw,2.7rem)}
.section__title--light{color:#fff}
.section__lead{margin-top:1rem;color:var(--muted);font-size:1.12rem}
.section__lead--light{color:#dce8e2}
.section p{color:var(--muted)}
.section p strong{color:var(--ink)}
.grid-2{display:grid;grid-template-columns:1fr 1.05fr;gap:3.4rem;align-items:center}
.grid-2 h2{margin-bottom:.3rem}
.grid-2 p{margin-bottom:1rem}
.grid-2 .btn{margin-top:.6rem}
.about__media{position:relative}
.about__media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover}
.about__media.img-missing img{display:none}
.about__media.img-missing{aspect-ratio:4/3;border-radius:var(--radius);background:linear-gradient(135deg,var(--green-soft),var(--clay-soft));display:grid;place-items:center;min-height:340px}
.about__media.img-missing::before{content:"Foto da casa";color:var(--green);font-family:'Fraunces';font-weight:600}
.about__tag{position:absolute;left:18px;bottom:18px;right:18px;background:rgba(251,246,236,.95);color:var(--green-dark);font-weight:600;font-size:.92rem;padding:.7rem 1rem;border-radius:12px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:.5rem}
.about__tag .ic{color:var(--clay)}

.letter{background:var(--paper);border-top:1px solid #e8ddc8;border-bottom:1px solid #e8ddc8;background-image:radial-gradient(rgba(28,127,194,.05) 1px,transparent 1px);background-size:18px 18px}
.letter__inner{max-width:780px;margin:0 auto;text-align:center;padding:4rem 22px}
.letter__quote{width:48px;height:48px;fill:var(--clay);opacity:.85;margin:0 auto .6rem}
.letter__text{font-family:'Fraunces';font-size:clamp(1.3rem,2.8vw,1.8rem);line-height:1.5;color:var(--green-dark);font-weight:500}
.letter__sign{margin-top:1.3rem;color:var(--gold-text);font-weight:600;letter-spacing:.02em}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.card{background:var(--paper);border-radius:var(--radius);padding:2.1rem 1.8rem;box-shadow:var(--shadow-sm);border:1px solid #ece1cd;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card__icon{display:grid;place-items:center;width:62px;height:62px;border-radius:16px;background:var(--green-soft);color:var(--green);margin-bottom:1.1rem}
.card__icon .ic{width:30px;height:30px}
.card h3{font-size:1.22rem;margin-bottom:.45rem}
.card p{font-size:.98rem}

.services{display:grid;grid-template-columns:repeat(4,1fr);gap:1.3rem}
.service{display:flex;gap:.9rem;align-items:flex-start;background:var(--paper);border-radius:var(--radius-sm);padding:1.35rem;box-shadow:var(--shadow-sm);border:1px solid #ece1cd}
.service > .ic{width:30px;height:30px;color:var(--clay);margin-top:2px}
.service h3{font-size:1.06rem;margin-bottom:.15rem}
.service p{font-size:.92rem;margin:0;line-height:1.5}

.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.step{position:relative;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);padding:1.8rem 1.4rem 1.5rem}
.step__num{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--gold);color:var(--green-dark);font-family:'Fraunces';font-weight:700;font-size:1.3rem;margin-bottom:.8rem}
.step h3{color:#fff;font-size:1.12rem;margin-bottom:.3rem}
.step p{color:#d9e6df;font-size:.94rem;margin:0;line-height:1.5}
.admissao__cta{text-align:center;margin-top:2.6rem}

.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.gallery__item{position:relative;overflow:hidden;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);cursor:pointer;aspect-ratio:4/3;background:var(--green-soft);padding:0;border:0;display:block}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.gallery__item:hover img{transform:scale(1.07)}
.gallery__item::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(38,65,58,.35));opacity:0;transition:opacity .25s}
.gallery__item:hover::after{opacity:1}
.gallery__item.is-missing{display:grid;place-items:center;background:linear-gradient(135deg,var(--green-soft),var(--clay-soft))}
.gallery__item.is-missing img{display:none}
.gallery__item.is-missing::before{content:"Foto";color:var(--green);font-family:'Fraunces';font-weight:600}
.gallery__item.is-missing::after{display:none}

.quote{position:relative;text-align:center;padding:5rem 0;color:#fff;background:linear-gradient(135deg,#2a93d4 0%,#0e3a57 100%)}
.quote .container{position:relative;z-index:1}
.quote__text{font-family:'Fraunces';font-weight:600;font-style:italic;font-size:clamp(1.9rem,4vw,3rem);color:#fff}
.quote__sub{margin:.9rem auto 1.9rem;max-width:580px;font-size:1.12rem;color:#fbeee7}

.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.testimonial{background:var(--paper);border-radius:var(--radius);padding:1.9rem;box-shadow:var(--shadow-sm);border:1px solid #ece1cd;display:flex;flex-direction:column;gap:.9rem}
.stars{display:flex;gap:.15rem;color:var(--gold)}
.stars .ic{width:20px;height:20px}
.testimonial blockquote{font-family:'Fraunces';font-size:1.12rem;line-height:1.55;color:var(--green-dark);font-style:italic}
.testimonial figcaption{display:flex;align-items:center;gap:.7rem;margin-top:auto}
.avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--green);color:#fff;font-family:'Fraunces';font-weight:700;font-size:1.2rem;flex:none}
.testimonial figcaption strong{display:block;color:var(--ink);font-family:'Inter'}
.testimonial figcaption small{color:var(--muted);font-size:.85rem}

.faq{display:flex;flex-direction:column;gap:.9rem}
.faq__item{background:var(--paper);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);border:1px solid #ece1cd;overflow:hidden}
.faq__q{width:100%;text-align:left;background:none;border:0;cursor:pointer;font-family:'Fraunces',serif;font-weight:600;font-size:1.12rem;color:var(--green-dark);padding:1.25rem 1.4rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:56px}
.faq__icon{flex:none;width:30px;height:30px;display:grid;place-items:center;background:var(--green-soft);color:var(--green);border-radius:50%;transition:transform .25s}
.faq__icon .ic{width:18px;height:18px}
.faq__item.open .faq__icon{transform:rotate(45deg);background:var(--clay);color:#fff}
.faq__a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq__a p{padding:0 1.4rem 1.3rem;color:var(--muted)}
.faq__a a{color:var(--clay);font-weight:600;text-decoration:underline}

.contact{display:grid;grid-template-columns:1fr 1fr;gap:1.8rem;align-items:start}
.contact__info,.contact__form{background:var(--paper);border-radius:var(--radius);padding:2.1rem;box-shadow:var(--shadow-sm);border:1px solid #ece1cd}
.contact__map{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);min-height:340px;grid-column:1/-1}
.contact__map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}
.contact__row{display:flex;gap:.9rem;margin-bottom:1.5rem}
.contact__row > .ic{width:26px;height:26px;color:var(--clay);margin-top:3px}
.contact__row h3{font-size:1.08rem;margin-bottom:.1rem}
.contact__row p{color:var(--muted);margin:0}
.contact__row a{color:var(--green);font-weight:600;min-height:32px;display:inline-block}
.contact__actions{display:flex;flex-direction:column;gap:.8rem;margin-top:1.6rem}
.contact__form h3{font-size:1.3rem;margin-bottom:.2rem}
.contact__form-lead{color:var(--muted);margin-bottom:1.1rem;font-size:.96rem}
.contact__form label{display:block;font-weight:600;color:var(--green-dark);font-size:.92rem;margin-bottom:.9rem}
.contact__form input,.contact__form select,.contact__form textarea{width:100%;margin-top:.35rem;padding:.75rem .9rem;border:1.5px solid #ddd0bb;border-radius:11px;font-family:inherit;font-size:1rem;color:var(--ink);background:#fff;font-weight:400}
.contact__form input:focus,.contact__form select:focus,.contact__form textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(51,86,74,.15)}
.contact__form textarea{resize:vertical}
.contact__note{display:block;margin-top:.7rem;color:var(--muted);font-size:.8rem;line-height:1.4}

.footer{background:var(--green-dark);color:#cfe0d9;padding:3.4rem 0 0}
.footer__inner{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:2rem;padding-bottom:2.5rem}
.footer h3{color:#fff;font-family:'Inter';font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:1rem}
.footer__brand{display:flex;gap:.9rem;align-items:flex-start}
.footer__brand .brand__logo{width:46px;height:46px;flex:none}
.footer__brand strong{display:block;color:#fff;font-family:'Fraunces';font-size:1.25rem}
.footer__brand p{color:#aac4bb;margin-top:.25rem;font-size:.95rem}
.footer__legal{font-size:.82rem !important;color:#8faba2;opacity:.85}
.footer__col a,.footer__col p{display:block;color:#cfe0d9;margin-bottom:.5rem;font-size:.95rem}
.footer__col a{min-height:30px}
.footer__col a:hover{color:#fff}
.footer__bottom{border-top:1px solid rgba(255,255,255,.12);padding:1.2rem 0;text-align:center;font-size:.86rem;color:#a8c1b8}

.whats-float{position:fixed;right:20px;bottom:20px;z-index:60;width:60px;height:60px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 12px 28px rgba(37,211,102,.45);transition:transform .2s}
.whats-float .ic{width:32px;height:32px}
.whats-float:hover{transform:scale(1.08)}
.whats-float::before{content:"";position:absolute;inset:0;border-radius:50%;animation:pulse 2.4s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.45)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}

.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}

.lightbox{position:fixed;inset:0;z-index:100;background:rgba(20,32,28,.93);display:none;align-items:center;justify-content:center;padding:24px}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:88vh;border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.lightbox__close{position:absolute;top:14px;right:18px;width:48px;height:48px;display:grid;place-items:center;font-size:2rem;color:#fff;cursor:pointer;background:rgba(0,0,0,.3);border:0;border-radius:50%;line-height:1}

@media (max-width:1024px){.services{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.section{padding:4.4rem 0}}
@media (max-width:920px){.cards{grid-template-columns:repeat(2,1fr)}.testimonials{grid-template-columns:1fr}.pillars__grid{grid-template-columns:repeat(2,1fr);gap:1.6rem 1.2rem}.gallery{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:1fr;gap:2.2rem}.contact{grid-template-columns:1fr}.footer__inner{grid-template-columns:1fr 1fr}.footer__brand{grid-column:1/-1}}
@media (max-width:720px){
  body{font-size:16px}
  .nav{position:fixed;inset:var(--header-h) 0 auto 0;flex-direction:column;background:var(--paper);padding:1.2rem 22px 1.8rem;gap:.4rem;box-shadow:0 18px 30px rgba(0,0,0,.12);transform:translateY(-140%);transition:transform .3s ease;align-items:stretch;border-bottom:1px solid #e8ddc8}
  .nav.open{transform:translateY(0)}
  .nav a{padding:.75rem .3rem;border-bottom:1px solid #ece1cd;min-height:44px;display:flex;align-items:center}
  .nav__cta{justify-content:center;border-bottom:0;margin-top:.5rem}
  .nav-toggle{display:flex}
  .nav-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .nav-toggle.open span:nth-child(2){opacity:0}
  .nav-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .section{padding:3.6rem 0}
  .hero__content{padding:3.8rem 22px 3.4rem}
  .topbar__inner{font-size:.8rem;gap:.3rem 1rem}
  .footer__inner{grid-template-columns:1fr;text-align:left}
  .footer__brand{grid-column:auto}
}
@media (max-width:460px){.cards,.services,.steps,.pillars__grid{grid-template-columns:1fr}.hero__title br{display:none}.hero__badges{gap:.5rem 1rem;font-size:.92rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}.js .reveal{opacity:1;transform:none}.whats-float::before{display:none}}

/* Hero: botão secundário legível sobre fundo escuro */
.hero .btn--ghost{color:#fff;border-color:rgba(255,255,255,.55)}
.hero .btn--ghost:hover{background:rgba(255,255,255,.14)}

/* === Correções de auditoria (mobile/tablet) === */
@media (max-width:900px){
  .nav{position:fixed;inset:var(--header-h) 0 auto 0;flex-direction:column;background:var(--paper);padding:1.2rem 22px 1.8rem;gap:.4rem;box-shadow:0 18px 30px rgba(0,0,0,.12);transform:translateY(-140%);transition:transform .3s ease;align-items:stretch;border-bottom:1px solid #e8ddc8}
  .nav.open{transform:translateY(0)}
  .nav a{padding:.8rem .3rem;border-bottom:1px solid #ece1cd;min-height:46px;display:flex;align-items:center}
  .nav__cta{justify-content:center;border-bottom:0;margin-top:.5rem}
  .nav-toggle{display:flex}
}
@media (max-width:720px){
  .footer__col a{min-height:44px;display:flex;align-items:center}
  .topbar__phone{min-height:40px}
}
@media (max-width:460px){
  .btn{white-space:normal;text-align:center}
  .btn--lg{padding:.95rem 1.2rem;font-size:1rem}
  body{overflow-wrap:break-word}
  .hero__actions .btn,.contact__actions .btn{width:100%}
}

/* === Ajustes pós red-team === */
/* Suaviza pilares (evita 2 faixas terracota seguidas) */
.pillars{background:var(--cream-2);color:var(--ink);border-bottom:1px solid #e8ddc8}
.pillar .ic--lg{color:var(--clay)}
.pillar h3{color:var(--green-dark)}
.pillar p{color:var(--muted)}

/* Bloco de confiança (ex-depoimentos) */
.trust-band{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.trust-card{background:var(--paper);border:1px solid #ece1cd;border-radius:var(--radius);padding:2rem 1.7rem;box-shadow:var(--shadow-sm);text-align:center}
.trust-card .ic--lg{color:var(--clay);margin-bottom:.7rem}
.trust-card h3{font-size:1.15rem;margin-bottom:.4rem}
.trust-card p{color:var(--muted);font-size:.97rem}

/* Faixa de documentação */
.docs{background:var(--green)}
.docs__inner{display:flex;gap:1.2rem;align-items:flex-start;padding:2.6rem 22px;max-width:920px;margin:0 auto}
.docs .ic--lg{color:var(--gold);flex:none;margin-top:4px}
.docs h2{color:#fff;font-size:1.35rem;margin-bottom:.4rem}
.docs p{color:#e3eee9;font-size:1rem;line-height:1.6}
.docs strong{color:#fff}

/* Status do formulário */
.contact__status{margin-top:.7rem;font-weight:600;color:var(--green);min-height:1.2em}
.contact__status.err{color:var(--clay)}

@media (max-width:920px){.trust-band{grid-template-columns:1fr}}
@media (max-width:460px){.docs__inner{flex-direction:column;gap:.7rem}}

/* === Identidade da logo (azul/borboleta) === */
.brand__img{height:56px;width:auto;display:block}
.footer__brand .brand__img{height:64px}
@media (max-width:720px){ .brand__img{height:48px} }

/* Fonte caligráfica ecoando a logo */
.quote__text{font-family:'Great Vibes',cursive;font-weight:400;font-style:normal;font-size:clamp(2.8rem,7vw,4.6rem);line-height:1.05}
.hero__title span{font-family:'Great Vibes',cursive;font-style:normal;font-weight:400;font-size:1.18em;line-height:1}

/* Borboleta como marca d'água no hero */
.hero::after{content:"";position:absolute;top:-24px;right:-30px;width:360px;height:360px;
  background:url('images/butterfly.png') no-repeat center/contain;opacity:.12;transform:rotate(8deg);
  pointer-events:none;z-index:1}
@media (max-width:720px){ .hero::after{width:200px;height:200px;top:-10px;right:-24px;opacity:.1} }

/* Borboleta sutil no selo da carta */
.letter__quote{display:none}
.letter__inner::before{content:"";display:block;width:64px;height:42px;margin:0 auto 1rem;
  background:url('images/butterfly.png') no-repeat center/contain;opacity:.9}

/* ============================================================
   BLOG / ARTIGOS
============================================================ */
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:1rem}
.breadcrumb a{color:var(--green);font-weight:600}
.breadcrumb a:hover{text-decoration:underline}

.posthero{background:linear-gradient(135deg,#12527e 0%,#0e3a57 70%,#0a2c44 100%);color:#fff;padding:3.2rem 0 2.6rem;position:relative;overflow:hidden}
.posthero::after{content:"";position:absolute;top:-30px;right:-30px;width:240px;height:240px;background:url('/images/butterfly.png') no-repeat center/contain;opacity:.10;transform:rotate(8deg)}
.posthero .container{position:relative;z-index:1;max-width:820px}
.posthero .breadcrumb,.posthero .breadcrumb a{color:#cfe0ff}
.posthero h1{color:#fff;font-size:clamp(1.8rem,4.2vw,2.8rem);line-height:1.15}
.posthero__meta{margin-top:.9rem;color:#cfe0ea;font-size:.92rem;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.posthero__meta .ic{color:var(--gold)}

.prose{max-width:760px;margin:0 auto;padding:3rem 22px 1rem;font-size:1.08rem;color:#2c3540}
.prose p{margin:0 0 1.15rem;color:#3a4550}
.prose h2{font-size:1.55rem;margin:2.4rem 0 .8rem;color:var(--green-dark)}
.prose h3{font-size:1.22rem;margin:1.8rem 0 .6rem;color:var(--green-dark)}
.prose ul,.prose ol{margin:0 0 1.2rem 1.2rem;padding-left:1rem}
.prose li{margin:.4rem 0;color:#3a4550}
.prose a{color:var(--clay);font-weight:600;text-decoration:underline}
.prose strong{color:var(--ink)}
.prose img{border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);margin:1.5rem 0;width:100%}
.prose blockquote{margin:1.6rem 0;padding:1rem 1.4rem;border-left:4px solid var(--gold);background:var(--green-soft);border-radius:0 12px 12px 0;font-family:'Fraunces';font-style:italic;color:var(--green-dark)}
.prose figure{margin:1.6rem 0}
.prose figcaption{font-size:.85rem;color:var(--muted);text-align:center;margin-top:.4rem}

.post__cta{max-width:760px;margin:2.5rem auto;padding:2rem;background:var(--green);color:#fff;border-radius:var(--radius);text-align:center}
.post__cta h3{color:#fff;font-size:1.4rem;margin-bottom:.5rem}
.post__cta p{color:#dce8e2;margin-bottom:1.3rem}

.post-nav{max-width:760px;margin:0 auto 3rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:0 22px}
.post-nav a{color:var(--green);font-weight:600}

/* Listagem do blog */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.post-card{display:flex;flex-direction:column;background:var(--paper);border:1px solid #e2e9f0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.post-card img{width:100%;aspect-ratio:16/10;object-fit:cover}
.post-card__body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1}
.post-card__tag{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--gold-text)}
.post-card h2{font-size:1.18rem;margin:.4rem 0 .5rem;line-height:1.25}
.post-card p{font-size:.95rem;color:var(--muted);flex:1}
.post-card__link{margin-top:.9rem;color:var(--clay);font-weight:600}

/* Teaser do blog na home */
.blog-teaser .blog-grid{margin-top:.5rem}
@media (max-width:920px){.blog-grid{grid-template-columns:1fr}}
