@font-face {
  font-family: "DM Sans";
  src: url(fontes/dm-sans-normal.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url(fontes/cormorant-garamond-normal.woff2) format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url(fontes/cormorant-garamond-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
:root {
  --ink: #161712;
  --paper: #f7f7f5;
  --sand: #f2eee5;
  --warm-sand: #e8dac5;
  --petrol: #006c6a;
  --turquoise: #1c9ca4;
  --sage: #99a99e;
  --deep: #143424;
  --muted: #555b53;
  --line: #d6d9d0;
  --serif: "Cormorant Garamond", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--warm-sand);
  color: var(--ink);
  font:
    400 1rem/1.6 "DM Sans",
    Arial,
    sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
summary {
  cursor: pointer;
  font: inherit;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #008985;
  outline-offset: 4px;
}
p,
h1,
h2,
h3,
figure,
ol {
  margin: 0;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
.wrap {
  width: min(90%, 1400px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  background: white;
  padding: 8px;
  z-index: 8;
}
.skip:focus {
  top: 10px;
}
header {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.headrow,
.head-actions,
.brand,
.headrow nav,
.button,
.place,
.footrow,
.footrow > a:last-child {
  display: flex;
  align-items: center;
}
.headrow {
  min-height: 84px;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  gap: 10px;
  width: max-content;
  flex-shrink: 0;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand span {
  display: grid;
  text-transform: uppercase;
  line-height: 1.25;
}
.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  font-weight: 600;
}
.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.065em;
  font-weight: 700;
}
.headrow nav {
  gap: clamp(20px, 2.7vw, 46px);
}
nav a,
.footrow a {
  text-decoration: none;
}
nav a {
  font-size: 0.9rem;
  font-weight: 500;
}
nav a:hover,
.footrow a:hover {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 4px;
  background: var(--petrol);
  color: white;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  min-height: 49px;
  transition: background 0.18s;
}
.button:hover {
  background: #004e4d;
}
.button svg {
  width: 21px;
  height: 21px;
}
.headrow .button {
  min-height: 43px;
  padding: 10px 16px;
  font-size: 0.875rem;
}
.head-actions {
  gap: 10px;
}
#menu .nav-icon,
#menu .small-label,
#menu a[href="#inicio"] {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 0.83fr 1.22fr;
  gap: clamp(26px, 4.8vw, 88px);
  align-items: center;
  padding-block: clamp(48px, 5.5vw, 90px);
}
.intro {
  padding-bottom: 10px;
}
.eyebrow {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--petrol);
}
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rule:before {
  content: "";
  width: 29px;
  height: 2px;
  background: var(--turquoise);
  flex: none;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(4rem, 6.9vw, 6.65rem);
  margin: 23px 0 20px;
}
h2 {
  font-size: clamp(2.85rem, 4.65vw, 4.6rem);
}
h1 em,
h2 em {
  font-weight: 500;
  color: var(--petrol);
}
.lead,
.contact p,
.studio p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.65;
}
.lead {
  max-width: 400px;
  margin-bottom: 26px;
}
.place {
  gap: 7px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 23px;
}
.place svg {
  width: 16px;
  height: 16px;
  color: var(--petrol);
}
.hero-photo {
  min-width: 0;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 1.32;

  background: radial-gradient(
    ellipse 46% 49% at 53% 50%,
    #c0cfbc 0%,
    var(--sage) 99.5%,
    transparent 100%
  );
  object-fit: contain;
  object-position: center;
}
.hero-photo figcaption {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.modal-section {
  background: #fff;
  padding: clamp(48px, 5.2vw, 84px) 0 clamp(64px, 6.5vw, 104px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.section-head p {
  max-width: 355px;
  color: var(--muted);
  line-height: 1.55;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 36px);
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center bottom;
}
h3 {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.card h3 {
  margin: 20px 0 8px;
}
.card p,
.programs p {
  color: #42483f;
}
.card details {
  margin-top: 15px;
  border-top: 1px solid #c9ccbf;
}
.card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  color: var(--petrol);
  padding: 12px 1px;
  font-weight: 600;
  font-size: 0.88rem;
}
.card summary::-webkit-details-marker {
  display: none;
}
.card summary:after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.card details[open] summary:after {
  content: "−";
}
.card details a,
.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--petrol);
  font-weight: 600;
  font-size: 0.94rem;
  text-underline-offset: 4px;
}
.method {
  background: #1b211e;
  color: var(--paper);
  padding: clamp(64px, 7vw, 110px) 0;
}
.method-grid,
.studio,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}
.method .eyebrow {
  color: #94d8cc;
}
.method h2,
.studio h2,
.contact h2 {
  margin-top: 18px;
}
.method h2 em {
  color: #96cec0;
}
.method ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.method li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  border-top: 1px solid #49534d;
  padding: 21px 0;
  gap: 12px;
}
.method li:before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.825rem;
  color: #94d8cc;
  font-variant-numeric: tabular-nums;
}
.method li:last-child {
  padding-bottom: 0;
}
.method li p {
  color: #d2d7d0;
  margin-top: 7px;
}
.studio,
.contact {
  padding-block: clamp(64px, 7.6vw, 125px);
}
.studio img {
  width: 100%;
  height: clamp(320px, 35vw, 520px);
  object-fit: cover;
  object-position: center 56%;
  border-radius: 2px;
}
.studio p:not(.eyebrow) {
  margin-top: 18px;
}
.programs {
  background: #c2cdc4;
  padding: clamp(54px, 5.5vw, 88px) 0;
}
.programs h2 em {
  color: var(--deep);
}
.program-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 120px);
}
.program-grid article {
  border-top: 1px solid #839789;
  padding-top: 20px;
}
.program-grid p {
  margin-top: 10px;
  max-width: 510px;
}
.program-grid .text-link {
  color: #004e4a;
}
.contact-band {
  background: var(--deep);
  color: var(--paper);
}
.contact-band h2 em,
.contact-band .eyebrow {
  color: #a9d7c4;
}
.contact-band p:not(.eyebrow),
.contact-band .number {
  color: #e2ebe2;
}
.contact-band .button {
  background: #d4e7d6;
  color: var(--deep);
  margin-top: 22px;
}
.contact-band .button:hover {
  background: #e6f0e7;
}
.number {
  display: block;
  width: max-content;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  text-underline-offset: 3px;
}
footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.footrow {
  min-height: 92px;
  gap: 28px;
  justify-content: space-between;
}
.footrow > span,
.footrow > a:last-child {
  font-size: 0.875rem;
  color: var(--muted);
}
.footrow > a:last-child {
  gap: 7px;
}
@media (max-width: 960px) {
  .headrow nav {
    gap: 17px;
  }
  .headrow {
    gap: 16px;
  }
  .hero {
    grid-template-columns: 0.85fr 1fr;
    gap: 24px;
  }
  .hero-photo img {
    aspect-ratio: 1.04;
  }
  .cards {
    gap: 20px;
  }
  .brand strong {
    font-size: 0.85rem;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  html {
    --nav-space: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    scroll-padding-block: calc(4.65rem + env(safe-area-inset-top, 0px))
      var(--nav-space);
  }
  body {
    padding-bottom: var(--nav-space);
  }
  header {
    position: sticky;
    top: 0;
    z-index: 5;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--sand);
    border-bottom: 1px solid #d6d9cf;
  }
  .headrow {
    min-height: 64px;
    gap: 10px;
    padding-inline: env(safe-area-inset-left, 0px)
      env(safe-area-inset-right, 0px);
  }
  .headrow .brand {
    gap: 9px;
    min-height: 44px;
  }
  .headrow .brand img {
    width: 37px;
    height: 37px;
  }
  .headrow .brand small {
    font-size: 0.59rem;
    letter-spacing: 0.2em;
    color: var(--petrol);
  }
  .headrow .brand strong {
    font: 600 1.48rem/1 var(--serif);
    letter-spacing: -0.035em;
    text-transform: none;
  }
  .headrow .button {
    min-height: 44px;
    padding: 9px 15px;
    gap: 6px;
    border-radius: 100px;
    font-size: 0.875rem;
  }
  .headrow .button svg {
    width: 18px;
    height: 18px;
  }
  .headrow .wide-label {
    display: none;
  }
  .headrow #menu {
    position: fixed;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 4px max(8px, env(safe-area-inset-right))
      calc(4px + env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgb(22 23 18 / 0.06);
  }
  #menu a,
  #menu a[href="#inicio"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-height: 55px;
    color: var(--muted);
    border-radius: 10px;
    font-size: 0.75rem;
    line-height: 1.2;
    text-decoration: none;
  }
  #menu a:after {
    display: none;
  }
  #menu .small-label {
    display: inline;
  }
  #menu .nav-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 26px;
    border-radius: 20px;
    transition:
      background-color 0.2s,
      color 0.2s;
  }
  #menu a[aria-current="location"] {
    color: var(--petrol);
    font-weight: 700;
  }
  #menu a[aria-current="location"] .nav-icon {
    background: var(--petrol);
    color: white;
  }
  #menu a:focus-visible {
    outline-offset: -2px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 41px 0 24px;
    gap: 28px;
  }
  .intro {
    padding: 0;
  }
  h1 {
    font-size: clamp(3.6rem, 12vw, 5.1rem);
    margin: 14px 0;
  }
  .lead {
    margin: 0 0 19px;
    max-width: 510px;
  }
  .place {
    margin-top: 13px;
  }
  .hero-photo img {
    aspect-ratio: 1.32;
  }
  .section-head {
    display: block;
    margin-bottom: 24px;
  }
  .section-head p {
    margin-top: 13px;
    max-width: 470px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .card h3 {
    margin-top: 15px;
  }
  .method-grid,
  .studio,
  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .studio img {
    height: 300px;
  }
  .studio {
    gap: 27px;
  }
  .program-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact {
    gap: 18px;
  }
  .footrow {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-block: 24px;
  }
  .footrow .brand {
    width: 100%;
  }
}
@media (min-width: 761px) {
  #inicio {
    scroll-margin-top: 84px;
  }
}
@media (max-width: 370px) {
  .headrow {
    gap: 6px;
  }
  .headrow .brand {
    gap: 6px;
  }
  .headrow .brand strong {
    font-size: 1.32rem;
  }
  .headrow .button {
    padding-inline: 11px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .hero-photo figcaption {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.card-photo {
  background-image: radial-gradient(
    ellipse 45% 46% at 50% 53%,
    #c0cfbc 0%,
    var(--sage) 99.5%,
    transparent 100%
  );
  padding-top: 12px;
  overflow: hidden;
  border-radius: 2px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes line-in {
  from {
    scale: 0 1;
  }
  to {
    scale: 1 1;
  }
}
@keyframes open-photo {
  from {
    clip-path: inset(0 0 0 8%);
    opacity: 0.45;
  }
  to {
    clip-path: inset(0);
    opacity: 1;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  :root {
    --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .reveal:not(.in-view):not(:focus-within) {
    opacity: 0;
  }
  .reveal.in-view {
    animation: rise-in 0.68s var(--ease-out) var(--entry-delay, 0ms) backwards;
  }
  .reveal:focus-within {
    animation: none;
  }
  h1.reveal,
  h2.reveal,
  h3.reveal {
    --entry-delay: 40ms;
  }
  h1 + p.reveal,
  h2 + p.reveal,
  h3 + p.reveal,
  p + p.reveal {
    --entry-delay: 105ms;
  }
  .intro .button,
  .contact .button {
    --entry-delay: 155ms;
  }
  .intro .place {
    --entry-delay: 205ms;
  }
  .rule.in-view:before {
    transform-origin: left;
    animation: line-in 0.6s var(--ease-out) both;
  }
  .hero-photo {
    animation: open-photo 0.85s var(--ease-out);
  }
  .button {
    transition:
      transform 0.2s var(--ease-out),
      background-color 0.2s,
      box-shadow 0.2s;
  }
  .button svg {
    transition: transform 0.22s var(--ease-out);
  }
  .button:active {
    transform: scale(0.96);
  }
  .card-photo img {
    transition: transform 0.65s var(--ease-out);
  }
  .card:focus-within .card-photo img {
    transform: scale(1.035);
  }
  .card summary:after {
    transition: transform 0.25s var(--ease-out);
  }
  .card details[open] summary:after {
    content: "+";
    transform: rotate(45deg);
  }
  .cards h3,
  .program-grid h3 {
    transition: color 0.25s;
  }

  @media (hover: hover) and (pointer: fine) {
    .button:hover,
    .button:focus-visible {
      transform: translateY(-3px);
      box-shadow: 0 6px 14px rgb(0 73 70 / 18%);
    }
    .button:hover svg {
      transform: rotate(-8deg);
    }
    .button:active {
      transform: scale(0.97);
    }
    .card:hover .card-photo img {
      transform: scale(1.045);
    }
    .card:hover h3,
    .program-grid article:hover h3 {
      color: var(--petrol);
    }
    nav a,
    .text-link {
      position: relative;
    }
    nav a:after,
    .text-link:after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 1px;
      background: currentColor;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.28s var(--ease-out);
    }
    nav a:hover {
      text-decoration: none;
    }
    nav a:hover:after,
    .text-link:hover:after {
      transform: scaleX(1);
    }
  }
}
