/* Engenharia da Beleza — warm cream · terracotta + soft brown (from the eb logo) · Spectral + Nunito Sans */
:root {
  --cream: #FAF3EA;
  --cream-deep: #F3E7D8;
  --paper: #FFFDFA;
  --sand: #ECDCC8;
  --blush: #F6E6D9;
  --terra: #C0704A;
  --terra-deep: #A2542F;
  --terra-soft: #E7B99C;
  --brown: #7A5A45;
  --ink: #33271F;
  --ink-soft: #6B584A;
  --wa: #1FA855;
  --wa-deep: #17864B;
  --line: #E4D3BF;
  --line-soft: #EFE2D2;
  --shadow-sm: 0 2px 8px rgba(80, 50, 30, .07);
  --shadow-md: 0 14px 34px -18px rgba(90, 55, 32, .35);
  --shadow-lg: 0 34px 70px -30px rgba(90, 52, 28, .40);
  --display: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 140px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-optical-sizing: auto; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: clamp(16px, 1.05vw, 17.5px); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
::selection { background: var(--terra-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
* { caret-color: var(--terra); }
html { scrollbar-color: var(--terra-soft) var(--cream-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: var(--terra-soft); border-radius: 999px; border: 3px solid var(--cream-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--terra); }
a { color: inherit; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--terra); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--ink); font-weight: 500; }
.section__title em { font-style: italic; color: var(--terra); }
.section__intro { margin-top: 18px; color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 60ch; text-wrap: pretty; }
.stars { color: var(--terra); letter-spacing: 2px; font-size: .95rem; }
.stars--lg { font-size: 1.5rem; letter-spacing: 3px; }
.btn { --_pad: 15px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--_pad); font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0; border-radius: var(--radius-pill); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease); will-change: transform; }
.btn svg { transition: transform .3s var(--ease); }
.btn--sm { --_pad: 11px 20px; font-size: .95rem; }
.btn--primary { background: var(--terra); color: #fff; box-shadow: 0 12px 26px -12px rgba(162,84,47,.75); }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(162,84,47,.85); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--terra); color: var(--terra-deep); transform: translateY(-2px); background: var(--paper); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(31,168,85,.6); }
.btn--wa:hover { background: var(--wa-deep); transform: translateY(-2px); }
.link-underline { font-weight: 700; color: var(--terra-deep); text-decoration: none; border-bottom: 2px solid var(--terra-soft); padding-bottom: 2px; transition: border-color .2s var(--ease), color .2s var(--ease); }
.link-underline:hover { border-color: var(--terra); color: var(--terra); }
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--cream) 90%, transparent); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav__brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-name { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.nav__brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--terra); border-radius: 2px; transition: width .28s var(--ease); }
.nav__links a:hover { color: var(--terra-deep); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero { position: relative; overflow: hidden; }
.hero__wash { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(46% 55% at 82% 8%, rgba(231,185,156,.55), transparent 70%), radial-gradient(40% 46% at 6% 30%, rgba(246,230,217,.9), transparent 72%), radial-gradient(60% 60% at 96% 88%, rgba(240,213,190,.5), transparent 70%); }
.hero__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: clamp(44px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 104px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.hero__title em { font-style: italic; color: var(--terra); }
.hero__lede { margin-top: 24px; max-width: 46ch; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); text-wrap: pretty; }
.hero__lede strong { color: var(--brown); font-weight: 800; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; color: var(--ink-soft); font-size: .96rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--terra); }
.hero__media { position: relative; align-self: stretch; min-height: 420px; }
.hero__photo { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { inset: 0 0 auto auto; width: 78%; height: 100%; z-index: 1; border: 6px solid var(--paper); }
.hero__photo--sub { width: 44%; aspect-ratio: 3/4; left: 0; bottom: -18px; z-index: 2; border: 6px solid var(--paper); }
.hero__badge { position: absolute; z-index: 3; left: -6px; top: 26px; background: var(--paper); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; max-width: 180px; border: 1px solid var(--line-soft); }
.hero__badge-num { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--terra); line-height: 1; }
.hero__badge-label { font-size: .76rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.35; }
.strip { background: var(--brown); color: var(--cream); }
.strip__list { max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter); list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; }
.strip__list svg { width: 26px; height: 26px; flex: none; color: var(--terra-soft); }
.section { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section__head { max-width: 66ch; }
.services__grid { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); display: flex; flex-direction: column; gap: 12px; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--terra-soft); }
.svc__icon { width: 60px; height: 60px; border-radius: 18px; background: var(--blush); color: var(--terra-deep); display: grid; place-items: center; margin-bottom: 4px; }
.svc__icon svg { width: 34px; height: 34px; }
.svc__name { font-size: 1.5rem; font-weight: 600; }
.svc__desc { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.svc__link { align-self: flex-start; text-decoration: none; font-weight: 700; color: var(--terra-deep); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.svc__link span { transition: transform .25s var(--ease); }
.svc__link:hover span { transform: translateX(4px); }
.svc--feature { grid-column: span 2; grid-row: span 1; flex-direction: row; align-items: stretch; padding: 0; overflow: hidden; }
.svc--feature .svc__photo { flex: 0 0 46%; overflow: hidden; }
.svc--feature .svc__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; transition: transform .6s var(--ease); }
.svc--feature:hover .svc__photo img { transform: scale(1.05); }
.svc--feature .svc__body { padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.svc--feature .svc__name { font-size: 2rem; }
.svc--feature .svc__desc { font-size: 1.08rem; }
.why { padding: 0; background: radial-gradient(60% 80% at 90% 0%, rgba(231,185,156,.25), transparent 60%), var(--cream-deep); }
.why__inner { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.why__head { max-width: 60ch; }
.why__grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.why__item { display: flex; flex-direction: column; gap: 12px; }
.why__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: var(--terra-deep); box-shadow: var(--shadow-sm); }
.why__icon svg { width: 30px; height: 30px; }
.why__item h3 { font-size: 1.3rem; font-weight: 600; margin-top: 4px; }
.why__item p { color: var(--ink-soft); font-size: .98rem; }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(122,90,69,.22)); mix-blend-mode: multiply; pointer-events: none; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__copy p { color: var(--ink-soft); margin-top: 18px; font-size: 1.06rem; }
.about__copy p strong { color: var(--ink); }
.about__quote { margin: 26px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--terra); font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--brown); line-height: 1.4; }
.about__copy .btn { margin-top: 8px; }
.gallery__grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(51,39,31,.5)); opacity: .55; transition: opacity .3s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: .8; }
.gallery__tag { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cta { margin-top: 34px; display: flex; justify-content: center; }
.reviews__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 60ch; }
.reviews__grid { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.review figcaption { font-weight: 800; color: var(--ink); font-size: .98rem; margin-top: auto; }
.contact { background: radial-gradient(50% 60% at 10% 10%, rgba(246,230,217,.7), transparent 60%), var(--cream); }
.contact__inner { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact__lede { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; max-width: 44ch; }
.contact__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact__facts { margin: 36px 0 24px; display: grid; gap: 22px; }
.contact__facts dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-deep); font-weight: 800; margin-bottom: 6px; }
.contact__facts dd { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.6; }
.contact__facts dd span { display: block; }
.contact__closed { color: var(--ink-soft); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; border: 6px solid var(--paper); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.92) contrast(1.02); }
.footer { background: var(--ink); color: var(--cream); }
.footer__inner { max-width: var(--container); margin: 0 auto; padding: clamp(52px, 7vw, 88px) var(--gutter) 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand img { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 16px; }
.footer__brand p { color: color-mix(in srgb, var(--cream) 72%, transparent); max-width: 34ch; font-size: .98rem; }
.footer__col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); margin-bottom: 16px; font-weight: 800; }
.footer__col a { display: block; text-decoration: none; color: color-mix(in srgb, var(--cream) 82%, transparent); padding: 6px 0; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__bar { max-width: var(--container); margin: 0 auto; padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.wa-float { position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(31,168,85,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31,168,85,.5); animation: waPulse 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 36px -8px rgba(31,168,85,.7); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.45);} 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0);} 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0);} }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .wa-float::before { animation: none; } }
@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(2, 1fr); } .svc--feature { grid-column: span 2; } .why__grid { grid-template-columns: repeat(2, 1fr); } .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--paper); padding: 18px var(--gutter) 26px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .38s var(--ease); z-index: 90; }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { min-height: 380px; max-width: 460px; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .strip__list { grid-template-columns: repeat(2, 1fr); gap: 16px 22px; }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  :root { --radius: 18px; --radius-lg: 26px; }
  .services__grid { grid-template-columns: 1fr; }
  .svc--feature { grid-column: span 1; flex-direction: column; }
  .svc--feature .svc__photo { flex: none; }
  .svc--feature .svc__photo img { min-height: 220px; }
  .why__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: span 2; }
  .footer__bar { flex-direction: column; gap: 6px; }
  .hero__cta .btn, .contact__cta .btn { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .nav__brand img { width: 44px; height: 44px; }
  .nav__brand-name { font-size: 1.02rem; }
  .nav__brand-sub { display: none; }
}
@media (max-width: 400px) {
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}
