/* Odonto Prótese GV · v2 "curvas verde": creme, verde floresta e curvas orgânicas */
:root {
  --cream: #f4efe5; --cream-2: #ece5d7; --paper: #fbf8f2;
  --sage: #e1e7da; --sage-2: #cfdac7;
  --forest: #1f3d2b; --forest-2: #2a4d37; --deep: #15291d;
  --brand: #00682a; --brand-soft: #3d8a5a;
  --ink: #1b2a21; --muted: #5b6a60; --line: rgba(31, 61, 43, .14);
  --on-dark: #f1efe6; --on-dark-muted: #b9c6bb;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --wrap: 1200px; --gut: clamp(20px, 4vw, 48px);
  --r: 22px; --r-lg: 34px;
  --shadow: 0 18px 40px -22px rgba(21, 41, 29, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.1; margin: 0; font-variation-settings: "opsz" 72, "SOFT" 60; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { display: block; font: 600 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin: 14px auto 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ícones */
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 .98rem/1 var(--sans);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--green { background: var(--forest); color: var(--on-dark); }
.btn--green:hover { background: var(--brand); box-shadow: 0 10px 22px -12px rgba(0, 104, 42, .7); }
.btn--line { border-color: rgba(31, 61, 43, .35); color: var(--forest); background: rgba(255, 255, 255, .35); }
.btn--line:hover { background: var(--paper); border-color: var(--forest); }
.btn--light { background: var(--on-dark); color: var(--forest); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(241, 239, 230, .5); color: var(--on-dark); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* cabeçalho */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 229, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__bar { display: flex; align-items: center; gap: 28px; height: 78px; }
.top__logo img { height: 46px; width: auto; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 500; font-size: .96rem; padding: 6px 0; position: relative; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.top__nav a:hover::after, .top__nav a[aria-current]::after { transform: scaleX(1); }
.top__cta { padding: 12px 20px; }
.top__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--forest); cursor: pointer; }
@media (max-width: 980px) {
  .top__nav, .top__cta { display: none; }
  .top__toggle { display: block; }
  .top.is-open .top__nav { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px var(--gut) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.is-open .top__nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .top__bar { height: 66px; } .top__logo img { height: 38px; } .top.is-open .top__nav { top: 66px; } }

/* curvas */
.wave { display: block; width: 100%; margin: -1px 0 -2px; position: relative; z-index: 1; overflow: visible; height: clamp(46px, 7vw, 110px); }
.wave--flip { transform: scaleY(-1); }
.band { position: relative; }
.band--forest { background: var(--forest); color: var(--on-dark); }
.band--forest .eyebrow { color: #9fd0ae; }
.band--forest .lead, .band--forest .muted { color: var(--on-dark-muted); }
.band--sand { background: var(--cream-2); }
.band--paper { background: var(--paper); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 80px) 0; }

/* foto com borda orgânica (máscara SVG que se estica com a caixa) */
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; }
.organic { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='2.4'/%3E%3C/filter%3E%3Cpath filter='url(%23f)' d='M24 -10H110V110H8C3 88 11 72 7 56 3 40 14 28 11 16 10 6 15 -2 24 -10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='2.4'/%3E%3C/filter%3E%3Cpath filter='url(%23f)' d='M24 -10H110V110H8C3 88 11 72 7 56 3 40 14 28 11 16 10 6 15 -2 24 -10Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.blob { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3Cpath filter='url(%23f)' d='M50 4C72 3 92 16 95 38 98 62 88 86 64 94 42 101 14 92 7 68 0 44 14 17 33 8 39 5 44 4 50 4Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3Cpath filter='url(%23f)' d='M50 4C72 3 92 16 95 38 98 62 88 86 64 94 42 101 14 92 7 68 0 44 14 17 33 8 39 5 44 4 50 4Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; overflow: hidden; }
.photo { position: relative; overflow: hidden; background: var(--sage); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.03); }

/* herói */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px; min-height: min(720px, calc(100svh - 78px)); }
.hero__text { padding: 56px 0 72px; position: relative; z-index: 2; }
.hero__text .lead { margin-top: 22px; }
.hero__media { align-self: stretch; margin-right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); min-height: 440px; }
.hero__media img { height: 100%; }
.hero__play { position: absolute; left: 13%; bottom: 9%; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 0;
  background: rgba(251, 248, 242, .9); color: var(--forest); font: 600 .92rem/1.2 var(--sans); cursor: pointer; box-shadow: var(--shadow); backdrop-filter: blur(8px); text-align: left; }
.hero__play span.disc { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--on-dark); display: grid; place-items: center; }
.hero__play .ico { width: 16px; height: 16px; fill: currentColor; stroke-width: 1; margin-left: 2px; }
.hero__play small { display: block; font-weight: 400; color: var(--muted); }
.hero__play:hover { transform: translateY(-2px); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
.feats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -54px; background: rgba(251, 248, 242, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7); }
.feats li { list-style: none; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--forest); }
.feats li + li { border-left: 1px solid var(--line); }
.feats .ico { width: 30px; height: 30px; color: var(--brand); }
.feats ul { display: contents; }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 40px 0 8px; }
  .hero__media { margin: 0 calc(-1 * var(--gut)); min-height: 0; aspect-ratio: 4 / 3.4; }
  .feats { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .feats li:nth-child(3) { border-left: 0; }
  .feats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .feats li { padding: 16px 14px; font-size: .86rem; gap: 10px; }
  .feats .ico { width: 24px; height: 24px; }
  .hero__play { left: 8%; }
}

/* serviços em arcos */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 46px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 34px 12px 26px; background: linear-gradient(180deg, var(--sage) 0%, #eef1e8 100%);
  border-radius: 999px 999px var(--r) var(--r); text-decoration: none; color: var(--forest); font-weight: 600; line-height: 1.25; transition: transform .25s ease, box-shadow .25s ease, background-color .25s; }
.tile .ico { width: 46px; height: 46px; stroke-width: 1.6; }
.tile small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } .tile { padding: 26px 8px 20px; } }

/* três famílias com foto */
.fam { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.fam a { text-decoration: none; display: block; }
.fam .photo { aspect-ratio: 4 / 4.6; }
.fam h3 { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.fam h3 .ico { width: 18px; height: 18px; stroke-width: 2.2; color: var(--brand); transition: transform .2s; }
.fam a:hover h3 .ico { transform: translateX(4px); }
.fam p { color: var(--muted); margin-top: 6px; font-size: .97rem; }
@media (max-width: 860px) { .fam { grid-template-columns: 1fr; } .fam .photo { aspect-ratio: 16 / 10; } }

/* banda verde: digital ou gesso */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.split__rule { border-left: 1px solid rgba(241, 239, 230, .22); padding-left: 56px; }
.circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.circles li { list-style: none; }
.circles .disc { width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(241, 239, 230, .45);
  background: rgba(255, 255, 255, .06); color: var(--on-dark); transition: background-color .25s, transform .25s; }
.circles li:hover .disc { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.circles .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.circles h3 { font-size: 1rem; }
.circles p { font-size: .88rem; color: var(--on-dark-muted); margin-top: 6px; line-height: 1.45; }
.circles ul { display: contents; }
@media (max-width: 980px) { .split, .split--even { grid-template-columns: 1fr; gap: 40px; } .split__rule { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .circles { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* quem faz */
.meet { display: grid; grid-template-columns: 1.05fr 1fr .55fr; gap: 48px; align-items: center; }
.meet__photo { aspect-ratio: 4 / 3.6; }
.meet__side { aspect-ratio: 3 / 4.6; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ico { width: 24px; height: 24px; color: var(--brand); margin-top: 1px; }
.ticks b { display: block; font-weight: 650; }
.ticks span { color: var(--muted); font-size: .95rem; }
.meet p.lead { margin-top: 18px; }
@media (max-width: 1080px) { .meet { grid-template-columns: 1fr 1fr; } .meet__side { display: none; } }
@media (max-width: 760px) { .meet { grid-template-columns: 1fr; gap: 32px; } }

/* banda com fotos ao fundo e cartões de vidro */
.glassband { position: relative; color: var(--on-dark); background: var(--deep); overflow: hidden; }
.glassband__bg { position: absolute; inset: 0; }
.glassband__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.glassband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 41, 29, .96) 0%, rgba(21, 41, 29, .78) 45%, rgba(21, 41, 29, .55) 100%); }
.glassband .wrap { position: relative; }
.glassband .eyebrow { color: #9fd0ae; }
.glassband .lead { color: var(--on-dark-muted); }
.glass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.glass article { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r); padding: 26px 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s, background-color .25s; }
.glass article:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); }
.glass .ico { width: 32px; height: 32px; color: #b6dcc1; margin-bottom: 16px; }
.glass h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.glass p { margin-top: 10px; color: var(--on-dark-muted); font-size: .96rem; }
.glass .cities { margin-top: 10px; color: var(--on-dark); font-size: .93rem; line-height: 1.75; }
@media (max-width: 980px) { .glass { grid-template-columns: 1fr; } }

.glassband .split { grid-template-columns: 1fr; gap: 44px; }
.gb-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: end; }
.gb-head .btn-row { margin-top: 20px; }
@media (max-width: 860px) { .gb-head { grid-template-columns: 1fr; } }

/* processo */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; text-align: center; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--sage-2) 0 10px, transparent 10px 16px); }
.steps li { list-style: none; position: relative; }
.steps .disc { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--forest-2); color: var(--on-dark); box-shadow: 0 0 0 8px var(--cream); transition: transform .25s; }
.steps li:hover .disc { transform: scale(1.06); }
.steps .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.steps ul { display: contents; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }

/* galeria */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.gallery .photo { aspect-ratio: 3 / 4; border-radius: var(--r); }
.gallery .photo:nth-child(odd) { border-radius: 999px 999px var(--r) var(--r); }
.gallery .photo:nth-child(even) { margin-top: 40px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery .photo:nth-child(n+4) { display: none; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .photo:nth-child(3) { display: none; } .gallery .photo:nth-child(even) { margin-top: 24px; } }

/* chamada final */
.cta { position: relative; background: var(--cream); overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 440px; }
.cta__text { padding: 72px 0; align-self: center; }
.cta__media { margin-right: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); }
.cta__media img { height: 100%; }
.cta .hours { margin-top: 22px; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.cta .hours .ico { width: 22px; height: 22px; color: var(--brand); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } .cta__text { padding: 56px 0 32px; } .cta__media { margin: 0 calc(-1 * var(--gut)); aspect-ratio: 16 / 11; } }

/* rodapé */
.foot { background: var(--deep); color: var(--on-dark); padding: 64px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; }
.foot__grid > div + div { border-left: 1px solid rgba(241, 239, 230, .14); padding-left: 32px; }
.foot img.logo { height: 58px; width: auto; }
.foot .slogan { margin-top: 16px; color: var(--on-dark-muted); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.foot h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #9fd0ae; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.foot a { text-decoration: none; color: var(--on-dark); opacity: .92; }
.foot a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot li.ic { display: flex; gap: 10px; align-items: flex-start; }
.foot li.ic .ico { width: 20px; height: 20px; color: #9fd0ae; margin-top: 2px; }
.foot .hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .95rem; }
.foot .hours dt { color: var(--on-dark-muted); }
.foot .hours dd { margin: 0; }
.foot__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(241, 239, 230, .14); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .85rem; color: var(--on-dark-muted); }
.foot__social { display: flex; gap: 14px; }
.foot__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(241, 239, 230, .3); display: grid; place-items: center; }
.foot__social .ico { width: 18px; height: 18px; }
@media (max-width: 980px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; gap: 28px; } .foot__grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(241, 239, 230, .14); padding-top: 24px; } }

/* barra fixa no celular */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 10px; }
  .mbar .btn { flex: 1; justify-content: center; box-shadow: var(--shadow); }
  .foot { padding-bottom: 96px; }
}

/* páginas internas */
.phero .hero__grid { min-height: min(600px, calc(100svh - 78px)); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.svc article { background: var(--paper); border-radius: var(--r); padding: 30px 28px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.svc article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc .badge { width: 62px; height: 62px; border-radius: 999px 999px 18px 18px; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin-bottom: 18px; }
.svc .badge .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.svc p { color: var(--muted); margin-top: 8px; font-size: .97rem; }
@media (max-width: 980px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } }
.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.duo .photo { aspect-ratio: 4 / 3.3; }
.duo .photo:last-child { margin-top: 60px; }
@media (max-width: 760px) { .duo .photo:last-child { margin-top: 30px; } }
.citygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.citygrid article { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px; transition: transform .25s, box-shadow .25s; }
.citygrid article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.citygrid .ico { width: 28px; height: 28px; color: var(--brand); }
.citygrid h3 { font-size: 1.06rem; }
.citygrid p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.citygrid article.is-home { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.citygrid article.is-home p { color: var(--on-dark-muted); }
.citygrid article.is-home .ico { color: #9fd0ae; }
@media (max-width: 980px) { .citygrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .citygrid { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact a, .contact div { display: flex; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.contact a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact .disc { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; flex: none; }
.contact .ico { width: 26px; height: 26px; }
.contact b { display: block; font-weight: 650; }
.contact span { color: var(--muted); font-size: .94rem; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.note { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }
.note .ico { width: 22px; height: 22px; color: var(--brand); }

/* entrada suave ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (max-width: 560px) { .eyebrow { letter-spacing: .14em; font-size: .72rem; } }

/* fotos que preenchem a caixa sem esticá-la (retratos não aumentam a seção) */
.hero__media img, .cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media { position: relative; min-height: 440px; }
@media (max-width: 860px) { .cta__media { min-height: 0; } }


/* ---------- v2.1: portada a todo o largo, fixa, com fundido ao rolar ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-bg { position: fixed; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--cream) 0%, rgba(244,239,229,.96) 24%, rgba(244,239,229,.78) 38%, rgba(244,239,229,.28) 54%, rgba(244,239,229,0) 68%),
    linear-gradient(180deg, rgba(244,239,229,.55) 0%, rgba(244,239,229,0) 14%, rgba(244,239,229,0) 72%, rgba(244,239,229,.9) 100%); }
.hero-veil { position: fixed; inset: 0; z-index: -1; background: var(--cream); opacity: 0; pointer-events: none; will-change: opacity; }
.hero--full { background: transparent; min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 0; overflow: visible; }
.hero--full .hero__inner { flex: 1; display: flex; align-items: center; }
.hero--full .hero__text { max-width: 560px; padding: 40px 0 60px; }
.hero--full .feats { margin-top: 0; margin-bottom: 40px; }
.hero__film .ico { width: 14px; height: 14px; fill: currentColor; stroke-width: 1; }
.sec--clear { background: transparent; position: relative; z-index: 1; }
.band--cream { background: var(--cream); }
.top { background: rgba(244,239,229,.72); }
body { background: var(--cream); }
.film-box { position: fixed; inset: 0; z-index: 90; background: rgba(21,41,29,.86); display: grid; place-items: center; padding: 24px; }
.film-box video { max-width: min(1000px, 100%); max-height: 86vh; border-radius: 18px; background: #000; }
.film-box button { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); color: var(--forest); font-size: 26px; cursor: pointer; }

/* elemento lateral: ramos de oliveira com coroas, multiplicados sobre o creme */
.side-olive { position: absolute; left: 0; top: calc(100svh - 260px); height: 1150px; width: auto; z-index: 0; pointer-events: none;
  mix-blend-mode: multiply; transform: translate3d(-28%, 0, 0); opacity: .96;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%); }
main { position: relative; }
#servicos .wrap { position: relative; z-index: 1; }
@media (max-width: 1100px) { .side-olive { height: 900px; transform: translate3d(-40%, 0, 0); } }
@media (max-width: 760px) {
  .side-olive { display: none; }
  .hero-bg img { object-position: 64% 30%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(244,239,229,.1) 0%, rgba(244,239,229,.15) 30%, rgba(244,239,229,.88) 52%, var(--cream) 66%); }
  .hero--full { min-height: 0; padding-top: 38vh; }
  .hero--full .hero__text { padding: 20px 0 30px; }
}
@media (prefers-reduced-motion: reduce) { .side-olive { transform: translate3d(-28%, 0, 0) !important; } }


/* ---------- v2.2: auditoria móvel (21/11/2026) ---------- */
.foot__social a { width: 44px; height: 44px; }
@media (max-width: 760px) {
  /* barra fixa: pílula compacta à esquerda, sem colidir com o selo do Netlify à direita */
  .mbar { right: auto; left: 12px; bottom: 14px; }
  .mbar .btn { flex: none; padding: 13px 20px; font-size: .95rem; }
  /* herói da home: ação principal larga, as duas secundárias lado a lado */
  .hero--full .btn-row { gap: 10px; }
  .hero--full .btn-row > .btn--green { flex: 1 1 100%; justify-content: center; }
  .hero--full .btn-row > .btn--line { flex: 1 1 0; justify-content: center; padding: 12px 10px; font-size: .9rem; }
  .hero--full .hero__text { padding-bottom: 18px; }
  /* páginas internas: a foto primeiro, com fundido para baixo */
  .phero .hero__grid { gap: 0; }
  .phero .hero__media { order: -1; aspect-ratio: 4 / 3; min-height: 0; margin: 0 calc(-1 * var(--gut));
    -webkit-mask: linear-gradient(180deg, #000 70%, transparent 100%); mask: linear-gradient(180deg, #000 70%, transparent 100%); }
  .phero .hero__text { padding: 8px 0 32px; }
  .phero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  /* chamada final: fundido para cima em vez da borda orgânica lateral */
  .cta__media { -webkit-mask: linear-gradient(0deg, #000 70%, transparent 100%); mask: linear-gradient(0deg, #000 70%, transparent 100%); }
  .cta .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  /* serviços: cartões compactos, ícone ao lado do texto */
  .svc { gap: 12px; margin-top: 32px; }
  .svc article { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 18px; }
  .svc .badge { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .svc .badge .ico { width: 28px; height: 28px; }
  .svc h3 { font-size: 1.18rem; }
  .svc p { margin-top: 4px; font-size: .93rem; }
  /* foto da equipe: retângulo arredondado, cabeças à vista */
  .meet__photo { -webkit-mask: none; mask: none; border-radius: 28px; aspect-ratio: 4 / 3.2; }
  .meet__photo img { object-position: 50% 22%; }
  .citygrid article { padding: 16px 18px; }
  .sec { padding: 52px 0; }
  .foot__legal { padding-bottom: 8px; }
}

/* v2.3: as três famílias com a mesma moldura arredondada e difuminada, peça ao centro */
.fam .photo { aspect-ratio: 5 / 4; }
@media (max-width: 860px) { .fam .photo { aspect-ratio: 5 / 4; } }
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-bg img { object-position: 85% 55%; }
  .hero-bg::after { background:
    linear-gradient(90deg, var(--cream) 0%, rgba(244,239,229,.95) 38%, rgba(244,239,229,.7) 55%, rgba(244,239,229,0) 78%),
    linear-gradient(180deg, rgba(244,239,229,.55) 0%, rgba(244,239,229,0) 14%, rgba(244,239,229,0) 72%, rgba(244,239,229,.9) 100%); }
  .hero--full .hero__text { max-width: 470px; }
}

/* v2.4: no Safari um item de grade com aspect-ratio e imagem absoluta encolhia; largura explícita */
@media (max-width: 980px) { .phero .hero__media, .hero:not(.hero--full) .hero__media { width: calc(100% + 2 * var(--gut)); justify-self: stretch; } }
@media (max-width: 860px) { .cta__media { width: calc(100% + 2 * var(--gut)); justify-self: stretch; } }
.duo .photo img { object-position: 50% 50%; }
