/* Identidade visual do Instagram da Casa do Jatobá (@casadojatoba.itabirito), aplicada às páginas públicas.
   Cores medidas nas publicações e nos destaques; letras desenhadas à mão; balões, curvas e ícones dos destaques. */

:root {
  --font-display: "Londrina Solid", "Fredoka", system-ui, sans-serif;   /* títulos: letras desenhadas à mão, como as artes do Instagram */
  --font-label: "Fredoka", "Nunito Sans", system-ui, sans-serif;        /* balões, botões e rótulos */

  --primary: #0c6084; --forest: #0c6084; --ring: #0c6084;               /* azul-petróleo dos blocos e balões */
  --primary-foreground: #fdf6e8;
  --petrol-soft: #2d5c72;                                                /* azul dos destaques e do perfil */
  --secondary: #e4ebd2; --secondary-foreground: #0c6084;
  --sage: #c0cea3;                                                       /* verde-sálvia (destaque "Escola") */
  --bege: #d9d5b0;                                                       /* bege-oliva das curvas */
  --accent: #f3dccf; --accent-foreground: #7a4f45;                       /* pêssego (destaque "A Casa") */
  --marrom: #855d55;                                                     /* marrom (destaque "Família") */
  --v-trunk: #855d55; --v-terra-ink: #855d55;
  --sun: #f6c24b;
  --balao: 2.4rem 3.4rem 2.8rem 3.2rem / 3.1rem 2.5rem 3.3rem 2.7rem;   /* formato de "pedra" dos balões */
}

/* Letras */
.font-display { font-family: var(--font-display); }      /* a classe do original fixava Fraunces; aqui segue a letra nova */
h1.font-display { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4rem); line-height: 1.02; }
h2.font-display, h3.font-display { line-height: 1.05; }
h1, h2, h3, .v-h2 { font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.v-h2 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem); line-height: 1.02; }
.v-lead + .v-lead { margin-top: 14px; }   /* textos de apresentação em mais de um parágrafo */
.v-hero h1 { display: inline-block; max-width: 100%; margin-top: 18px; padding: .3em .62em .36em; background: var(--primary); color: var(--primary-foreground); border-radius: var(--balao); rotate: -1.2deg; box-shadow: var(--shadow-soft); font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.8rem); line-height: 1.02; }
.am { color: var(--sun); }
.v-eyebrow { font-family: var(--font-label); font-weight: 600; letter-spacing: .14em; color: var(--marrom); }
.v-btn { font-family: var(--font-label); font-weight: 600; letter-spacing: .01em; }
.v-facts li, .v-offers b, .v-offers span, .v-names b, .v-note b, .v-answer, .v-casa li, .v-onde-info p, .v-end-foot p, .v-faq summary, .v-ages span, .v-serv small, .v-tile h3, .v-serv h3 { font-family: var(--font-label); }
.v-facts li { font-weight: 600; }
.v-offers b, .v-names b, .v-note b, .v-onde-info p, .v-casa li, .v-faq summary, .v-answer { font-weight: 600; }
.v-tile h3, .v-serv h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.v-tile.w2 h3 { font-size: 2.4rem; }
.v-matr h2, .v-meto h2, .v-close h2 { line-height: .98; }
.v-matr h2 { font-size: clamp(2.8rem, 1.4rem + 5.4vw, 5.4rem); }
.v-close h2 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.8rem); }
.v-meto h2 { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 3.8rem); }
.v-form h3 { font-size: 2.1rem; }
.v-faq summary { text-transform: none; font-size: 1.1875rem; }
header nav[aria-label="Principal"] a, header .flex.items-center.gap-3 > a { font-family: var(--font-label); font-weight: 500; }

/* Formas: painéis arredondados e curvas grandes, como nas artes do Instagram */
.v-card-bg { border-radius: clamp(28px, 5vw, 72px); margin-inline: clamp(8px, 1.6vw, 20px); }
.v-art .b1 { background: color-mix(in oklab, var(--bege) 45%, var(--background)); }
.v-art .b2 { background: color-mix(in oklab, var(--bege) 18%, var(--background)); }
.v-art::before { content: ""; position: absolute; left: -7%; bottom: -5%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--primary); }
.v-art::after { content: ""; position: absolute; right: -3%; top: 2%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.v-art .sun, .v-art .dot { display: none; }
.v-pot .blob, .v-photo::before { background: color-mix(in oklab, var(--sage) 55%, transparent); }
.v-meto > .v-deco { background: color-mix(in oklab, var(--sage) 28%, transparent); }
.v-serv.deep, .v-tile.deep, .v-meto, .v-matr-in { background: var(--primary); }

/* Faixa de matrículas: bloco azul com curva bege e selo redondo com a logo (como a arte "Matrículas abertas") */
.v-matr-in { padding-left: clamp(28px, 4.5vw, 56px); border-radius: clamp(2rem, 4vw, 3.2rem); }
.v-matr-in::before { right: auto; left: -90px; top: auto; bottom: -110px; width: 280px; background: var(--bege); opacity: .35; }
.v-matr-in::after { right: -50px; bottom: -80px; width: 220px; background: var(--sun); opacity: .92; }
.v-matr .v-selo { display: block; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; background: #fbf1df; padding: 8px; object-fit: contain; box-shadow: 0 8px 22px -10px rgb(0 0 0 / .45); }
.v-matr p.t { font-family: var(--font-label); font-weight: 400; }

/* Ícones dos destaques do Instagram: coração, mãozinha, sol e árvore em círculos coloridos */
.v-casa .v-ic, .v-tile .v-ic { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 12%, transparent); }
.v-casa .v-ic svg, .v-tile .v-ic svg { display: none; }
.v-casa .v-ic::before, .v-tile .v-ic::before { content: ""; width: 100%; height: 100%; background: var(--ico) center / 58% no-repeat; }
.v-casa li:nth-child(1) .v-ic, .v-bento .v-tile:nth-child(1) .v-ic, .v-bento .v-tile:nth-child(5) .v-ic { background-color: var(--marrom); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 54C14 40 7 30 7 21 7 13 13 8 20 8c5 0 9 3 12 7 3-4 7-7 12-7 7 0 13 5 13 13 0 9-7 19-25 33z' fill='%23fbf3e4'/%3E%3Cpath d='M22 22c0-3 3-5 6-3M20 29c2 5 6 9 12 14' fill='none' stroke='%23855d55' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.v-casa li:nth-child(2) .v-ic, .v-bento .v-tile:nth-child(3) .v-ic, .v-bento .v-tile:nth-child(6) .v-ic { background-color: var(--sage); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%230c6084' stroke='%230c6084' stroke-linecap='round'%3E%3Cellipse cx='33' cy='43' rx='14' ry='12' stroke='none'/%3E%3Cpath d='M17 40 9 26M25 32 21 11M34 30V8M43 32l3-20M50 38l8-15' fill='none' stroke-width='8'/%3E%3C/g%3E%3C/svg%3E"); }
.v-casa li:nth-child(3) .v-ic, .v-bento .v-tile:nth-child(4) .v-ic { background-color: var(--petrol-soft); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg stroke='%23f6c24b' stroke-width='4' stroke-linecap='round' fill='none'%3E%3Ccircle cx='32' cy='32' r='11' fill='%23f6c24b'/%3E%3Cpath d='M32 6v8M32 50v8M6 32h8M50 32h8M13.6 13.6l5.7 5.7M44.7 44.7l5.7 5.7M13.6 50.4l5.7-5.7M44.7 19.3l5.7-5.7'/%3E%3C/g%3E%3C/svg%3E"); }
.v-bento .v-tile:nth-child(2) .v-ic { background-color: #e6e1bb; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M29 58c1-9 1-16-3-22l-7-6 3-3 7 6c0-5 0-9-2-13l4-1c2 5 3 10 2 16l7-8 3 3-8 9c-2 5-2 12-1 19z' fill='%23855d55'/%3E%3Cg fill='%23a1b873'%3E%3Ccircle cx='20' cy='20' r='9'/%3E%3Ccircle cx='34' cy='13' r='10'/%3E%3Ccircle cx='46' cy='22' r='9'/%3E%3Ccircle cx='30' cy='26' r='9'/%3E%3C/g%3E%3Ccircle cx='32' cy='52' r='5' fill='%230c6084'/%3E%3C/svg%3E"); }

/* Serviços: cada cartão leva um balão de idade, como o selo das artes */
.v-serv small { align-self: flex-start; padding: 6px 16px; border-radius: 999px 1.4rem 999px 1.4rem; background: var(--primary); color: var(--primary-foreground); letter-spacing: .08em; font-weight: 600; }
.v-serv.deep small { background: var(--sun); color: var(--foreground); }
.v-serv.sage { background: var(--sage); }
.v-serv.terra { background: var(--accent); }

/* Onde estamos */
.v-onde-info b { font-family: var(--font-label); font-weight: 600; color: var(--marrom); }

@media (max-width: 767px) {
  .v-hero h1 { rotate: 0deg; }
  .v-casa .v-ic, .v-tile .v-ic { width: 56px; height: 56px; }
}
