/* NutriEdu · site institucional v2 (mais cor, formas orgânicas, mascote 3D)
   Tokens da nutriedu-brand + cores extraídas das artes de redes sociais */

:root {
  --primary: #307848;
  --brand: #5BA574;
  --deep: #0F3D24;
  --deep-hover: #1A5233;
  --vivid: #007B42;      /* manchas verdes das artes */
  --leaf: #7AAE5E;       /* verde folha das manchas */
  --lime: #A5C756;       /* faixa verde clara */
  --doodle-green: #5C9D27;
  --gold: #F39A1E;
  --sun: #FFA11D;        /* manchas laranja */
  --yellow: #FEB229;     /* manchas amarelas */
  --tangerine: #FF8A00;  /* rabiscos e palavra destaque */
  --cream: #FBF5ED;
  --cream-2: #F5EDE0;
  --white: #FFFFFF;
  --text: #33443A;
  --text-soft: #56665C;
  --line: rgba(15, 61, 36, 0.12);

  --font-title: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --font-hand: 'Patrick Hand', 'Comic Sans MS', cursive;

  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius: 1.5rem;
  --radius-lg: 2.25rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shape-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M6,4 C28,-1 50,5 72,1 C88,-2 99,6 98,20 C97,40 101,62 97,80 C94,96 82,100 62,97 C42,94 24,101 9,96 C-1,92 1,72 2,52 C3,34 -3,10 6,4Z'/%3E%3C/svg%3E");
  --shape-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50,2 C72,1 92,14 97,36 C102,58 92,84 70,94 C50,103 22,98 9,80 C-3,62 0,34 12,18 C21,7 34,2 50,2Z'/%3E%3C/svg%3E");
  --shape-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M14,10 C32,-2 66,2 86,10 C100,16 102,40 96,60 C90,82 70,98 46,96 C22,94 2,84 1,58 C0,36 2,18 14,10Z'/%3E%3C/svg%3E");
  --shape-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M22,0 L100,0 L100,88 C86,98 70,92 54,97 C42,100 30,99 20,100 C8,90 17,78 9,64 C1,50 15,38 7,24 C2,12 11,3 22,0Z'/%3E%3C/svg%3E");
  --shape-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M3,8 C25,0 50,6 75,2 C90,0 99,4 99,14 C100,40 98,66 99,88 C99,97 90,100 72,98 C50,95 28,101 8,97 C1,95 0,88 1,70 C2,48 -1,26 3,8Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--deep); line-height: 1.06; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; }
p { margin: 0 0 1em; }
em.hl { font-style: normal; color: var(--tangerine); }
strong { color: var(--deep); }

:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--deep); color: var(--white); padding: 0.6rem 1rem; border-radius: 0.5rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.section { padding: var(--section) 0; position: relative; overflow: hidden; }
.section--white { background: var(--white); }
.section--deep { background: var(--deep); color: rgba(255, 255, 255, 0.86); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep strong { color: var(--white); }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-soft); max-width: 40rem; }
.center .lead { margin-left: auto; margin-right: auto; }

.tbc { display: inline-block; background: #FFF4D6; color: #7A4B00; border: 1.5px dashed #D99A1E; border-radius: 0.4rem; padding: 0 0.4em; font-family: var(--font-body); font-size: 0.85em; font-weight: 800; letter-spacing: 0.02em; line-height: 1.6; }
.section--deep .tbc, .site-footer .tbc, .on-green .tbc { background: rgba(255, 244, 214, 0.14); color: #FFE3A6; border-color: #F3B95F; }

/* Kicker manuscrito */
.kicker { display: inline-block; font-family: var(--font-hand); font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--primary); margin-bottom: 0.2rem; position: relative; line-height: 1.2; }
.kicker::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -0.35rem; height: 0.55rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c12-4 24 2 38-1s26-3 38 0' fill='none' stroke='%23FF8A00' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.section--deep .kicker, .on-green .kicker { color: var(--lime); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.35rem; padding: 0.85rem 1.8rem; border-radius: 999px; border: 2.5px solid transparent; font-family: var(--font-body); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 0 var(--deep); }
.btn--primary:hover { background: var(--deep-hover); box-shadow: 0 9px 0 var(--deep); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: var(--white); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--sun { background: var(--yellow); color: var(--deep); box-shadow: 0 6px 0 #C97C00; }
.btn--sun:hover { background: #FFC24D; box-shadow: 0 9px 0 #C97C00; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== Formas ===== */
.blob { position: absolute; z-index: 0; pointer-events: none; }
.blob svg { width: 100%; height: 100%; display: block; }
.doodle { position: absolute; z-index: 3; pointer-events: none; }
.doodle svg { width: 100%; height: 100%; display: block; }
.doodle--orange { color: var(--tangerine); }
.doodle--green { color: var(--doodle-green); }
.doodle--white { color: var(--white); }
.doodle--lime { color: var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 6s ease-in-out infinite; }
  .float--slow { animation-duration: 8s; }
  .wiggle { animation: wiggle 4s ease-in-out infinite; }
  .spin { animation: spin 40s linear infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg) } 50% { transform: rotate(6deg) } }
@keyframes spin { to { transform: rotate(360deg) } }

/* Onda entre seções */
.wave { display: block; width: 100%; height: clamp(3rem, 6vw, 5.5rem); margin: -1px 0; position: relative; z-index: 2; }
.wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wave + .section, .wave + .site-footer { margin-top: -2px; }

/* Moldura orgânica com contorno colorido */
.frame { position: relative; isolation: isolate; }
.frame::before {
  content: ""; position: absolute; inset: -14px -14px -14px -14px; z-index: -1;
  background: var(--c, var(--leaf));
  -webkit-mask: var(--shape, var(--shape-a)) center / 100% 100% no-repeat; mask: var(--shape, var(--shape-a)) center / 100% 100% no-repeat;
  transform: rotate(-3deg) translate(10px, 12px);
}
.frame img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--shape, var(--shape-a)) center / 100% 100% no-repeat; mask: var(--shape, var(--shape-a)) center / 100% 100% no-repeat; }
.frame--b { --shape: var(--shape-b); }
.frame--c { --shape: var(--shape-c); }
.c-orange { --c: var(--sun); } .c-yellow { --c: var(--yellow); } .c-lime { --c: var(--lime); } .c-green { --c: var(--vivid); } .c-leaf { --c: var(--leaf); }

/* Nota manuscrita em mancha verde */
.note-blob {
  position: absolute; z-index: 4; width: clamp(11rem, 18vw, 14rem); aspect-ratio: 1.15;
  display: grid; place-items: center; text-align: center; padding: 1.5rem 1.4rem 1.8rem;
  color: var(--white); font-family: var(--font-hand); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15;
}
.note-blob::before { content: ""; position: absolute; inset: 0; background: var(--vivid); -webkit-mask: var(--shape-c) center / 100% 100% no-repeat; mask: var(--shape-c) center / 100% 100% no-repeat; z-index: -1; }
.note-blob span { transform: rotate(-8deg); display: block; }
.note-blob span::after { content: ""; display: block; height: 0.3rem; margin: 0.4rem auto 0; width: 75%; border-radius: 3px; background: var(--sun); }

/* Bilhete de papel */
.paper-note { position: absolute; z-index: 4; background: var(--white); border-radius: 0.4rem; padding: 1rem 1.15rem 1.1rem 1.6rem; max-width: 12rem; font-family: var(--font-hand); color: var(--deep); font-size: 1.3rem; line-height: 1.15; transform: rotate(5deg); box-shadow: 0 14px 28px -14px rgba(15, 61, 36, 0.45); background-image: radial-gradient(circle, rgba(15,61,36,.35) 2px, transparent 2.5px); background-size: 100% 1.4rem; background-repeat: repeat-y; background-position: -0.95rem 0.5rem; }
.paper-note::before { content: ""; position: absolute; top: -0.65rem; left: 50%; width: 4rem; height: 1.2rem; margin-left: -2rem; background: rgba(122, 174, 94, 0.85); transform: rotate(-4deg); border-radius: 2px; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 237, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: linear-gradient(90deg, var(--vivid) 0 25%, var(--lime) 25% 50%, var(--sun) 50% 75%, var(--yellow) 75%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.75rem; }
.brand-logo img { height: 4.4rem; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.95rem; font-weight: 800; font-size: 1rem; color: var(--deep); text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.3rem; height: 0.45rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c12-4 24 2 38-1s26-3 38 0' fill='none' stroke='%23FF8A00' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .btn { margin-left: 0.75rem; min-height: 3rem; padding: 0.6rem 1.35rem; }
.main-nav .btn::after { display: none; }
.nav-toggle { display: none; width: 3rem; height: 3rem; border: 0; border-radius: 0.9rem; background: var(--yellow); color: var(--deep); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 1.6rem; height: 1.6rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 5.75rem 0 auto 0; background: var(--cream); padding: 1.25rem var(--gutter) 1.75rem; transform: translateY(-120%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s 0.35s; z-index: -1; box-shadow: 0 20px 30px -20px rgba(15,61,36,.4); }
  .main-nav.is-open { transform: translateY(0); visibility: visible; transition: transform 0.35s var(--ease); }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { font-size: 1.2rem; }
  .main-nav .btn { margin: 0.75rem 0 0; }
  .brand-logo img { height: 3.7rem; }
}

/* ===== HERO (home) ===== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); color: var(--primary); border: 2px solid var(--lime); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero .eyebrow svg { width: 1.1rem; height: 1.1rem; color: var(--doodle-green); }
.hero h1 { position: relative; }
.hero .lead { margin-bottom: 2rem; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 36rem; justify-self: end; width: 100%; }
.hero-photo { position: absolute; inset: 0 0 4% 8%; }
.hero-photo img { object-position: 55% 30%; }
.hero-mascot3d { position: absolute; left: -10%; bottom: -6%; width: 44%; z-index: 5; filter: drop-shadow(0 18px 22px rgba(15, 61, 36, 0.28)); }
.hero-visual .note-blob { right: -6%; bottom: 2%; }
.hero-visual .paper-note { right: -4%; top: 4%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 27rem; margin-top: 1rem; }
  .hero-visual .note-blob { right: -2%; width: 10rem; font-size: 1.15rem; }
  .hero-mascot3d { left: -4%; }
}

/* ===== PAGE HERO (internas) ===== */
.page-hero { position: relative; overflow: hidden; background: var(--vivid); color: rgba(255, 255, 255, 0.92); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { color: var(--white); margin-bottom: 0.25em; }
.page-hero p { font-size: 1.2rem; max-width: 36rem; margin: 0; }
.breadcrumb { font-size: 0.95rem; font-weight: 800; margin-bottom: 1rem; }
.breadcrumb a { color: var(--yellow); text-decoration: none; }
.page-hero .hero-side-mascot { position: absolute; right: clamp(0.5rem, 8vw, 8rem); bottom: -0.5rem; width: clamp(9rem, 19vw, 15rem); z-index: 2; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }
@media (max-width: 700px) { .page-hero .hero-side-mascot { opacity: 0.3; } }

/* ===== LAYOUTS ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.photo-wrap { position: relative; padding: 1rem; }
.photo-wrap .frame { aspect-ratio: 4 / 4.6; }

.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; }
.mini-features > div { background: var(--cream); border-radius: var(--radius); padding: 1.25rem 1.1rem; border-top: 5px solid var(--c, var(--lime)); }
.section--white .mini-features > div { background: var(--cream); }
.mini-features > div:nth-child(2) { --c: var(--sun); }
.mini-features > div:nth-child(3) { --c: var(--vivid); }
.mini-features h3 { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.02em; }
.mini-features p { font-size: 0.95rem; margin: 0; }
@media (max-width: 700px) { .mini-features { grid-template-columns: 1fr; } }

.tagline { display: inline-block; margin-top: 1.75rem; font-family: var(--font-hand); font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--deep); position: relative; transform: rotate(-2deg); }
.tagline::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.35rem; height: 0.6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c12-4 24 2 38-1s26-3 38 0' fill='none' stroke='%23FF8A00' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.on-green .tagline, .section--deep .tagline { color: var(--white); }

/* Ícone em mancha colorida */
.icon-blob { width: 4.25rem; height: 4.25rem; position: relative; display: grid; place-items: center; color: var(--white); margin-bottom: 1rem; isolation: isolate; }
.icon-blob::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--vivid)); -webkit-mask: var(--shape-b) center / 100% 100% no-repeat; mask: var(--shape-b) center / 100% 100% no-repeat; }
.icon-blob svg { width: 1.95rem; height: 1.95rem; }
.icon-blob.c-yellow, .icon-blob.c-lime { color: var(--deep); }

/* ===== DIFERENCIAIS ===== */
.diff-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 3rem; }
.diff-col { display: grid; gap: 2.5rem; }
.diff-col--left .diff-item { text-align: right; }
.diff-col--left .icon-blob { margin-left: auto; }
.diff-item h3 { margin-bottom: 0.35rem; }
.diff-item p { margin: 0; color: var(--text-soft); }
.diff-plate { position: relative; aspect-ratio: 1; max-width: 30rem; margin: 0 auto; width: 100%; }
.diff-plate .ring { position: absolute; inset: -4%; border-radius: 50%; border: 4px dashed var(--sun); }
.diff-plate .ring2 { position: absolute; inset: 2%; border-radius: 50%; background: var(--lime); }
.diff-plate .plate { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; }
.diff-plate .badge-mascot { position: absolute; right: -10%; bottom: -6%; width: 38%; z-index: 2; }
@media (max-width: 960px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff-plate-wrap { grid-column: 1 / -1; grid-row: 1; max-width: 22rem; margin: 0 auto 1rem; width: 100%; }
  .diff-col--left .diff-item { text-align: left; }
  .diff-col--left .icon-blob { margin-left: 0; }
}
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }

/* ===== NÚMEROS ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { background: rgba(255, 255, 255, 0.07); border: 2px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; position: relative; }
.stat .icon-blob { margin: 0 auto 1rem; }
.stat .label { font-weight: 800; color: var(--white); font-size: 1.1rem; margin-bottom: 0.4rem; }
.stat .value { font-family: var(--font-title); font-weight: 700; color: var(--yellow); font-size: clamp(3rem, 5.5vw, 4rem); line-height: 1; }
.stat .value .tbc { font-size: 1rem; vertical-align: middle; }
.stat .unit { display: block; margin-top: 0.5rem; font-size: 0.98rem; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stats--single { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }

/* ===== DEPOIMENTOS ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.review { background: var(--white); border-radius: var(--radius-lg); padding: 1.9rem; position: relative; border: 3px solid var(--c, var(--lime)); box-shadow: 8px 8px 0 var(--c, var(--lime)); }
.review:nth-child(2) { --c: var(--sun); transform: rotate(1deg); }
.review:nth-child(3) { --c: var(--leaf); transform: rotate(-1deg); }
.review .qmark { position: absolute; top: -1.4rem; right: 1.25rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c, var(--lime)); display: grid; place-items: center; color: var(--deep); }
.review .qmark svg { width: 1.6rem; height: 1.6rem; }
.review .stars { color: var(--sun); letter-spacing: 0.15em; font-size: 1.15rem; margin-bottom: 0.75rem; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; }
.review .who { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; }
.review .avatar { width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.review .avatar img { width: 85%; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .review { transform: none !important; } }

/* ===== CARROSSEL ===== */
.carousel { position: relative; z-index: 1; }
.carousel-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 1rem var(--gutter) 1.5rem; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track figure { margin: 0; flex: 0 0 clamp(15rem, 27vw, 21rem); scroll-snap-align: center; }
.carousel-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 6px solid var(--c, var(--lime)); }
.carousel-track figure:nth-child(4n+2) { --c: var(--sun); }
.carousel-track figure:nth-child(4n+3) { --c: var(--leaf); }
.carousel-track figure:nth-child(4n+4) { --c: var(--yellow); }
.carousel-track figure:nth-child(odd) img { transform: rotate(-1.5deg); }
.carousel-track figure:nth-child(even) img { transform: rotate(1.5deg); }
.carousel-track figcaption { font-family: var(--font-hand); font-size: 1.3rem; color: var(--deep); margin-top: 0.6rem; text-align: center; }
.carousel-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.carousel-nav button { width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; background: var(--yellow); color: var(--deep); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 0 #C97C00; transition: transform 0.2s; }
.carousel-nav button:hover { transform: translateY(-2px); }
.carousel-nav svg { width: 1.4rem; height: 1.4rem; }

/* ===== FAIXA CTA ===== */
.cta-band { position: relative; padding: clamp(3rem, 7vw, 5rem) clamp(1.75rem, 6vw, 4.5rem); color: rgba(255, 255, 255, 0.94); isolation: isolate; min-height: 22rem; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vivid); -webkit-mask: var(--shape-band) center / 100% 100% no-repeat; mask: var(--shape-band) center / 100% 100% no-repeat; }
.cta-band h2 { color: var(--white); max-width: 32rem; }
.cta-band p { max-width: 32rem; font-size: 1.12rem; }
.cta-band .cta-mascot { position: absolute; right: clamp(0rem, 5vw, 4rem); bottom: -1.5rem; width: clamp(10rem, 22vw, 17rem); z-index: 2; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.25)); }
.cta-band .copy { position: relative; z-index: 3; }
@media (max-width: 760px) { .cta-band .cta-mascot { position: relative; right: auto; margin: 1.5rem 0 -3rem auto; display: block; } }

/* ===== SERVIÇOS ===== */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.service:nth-of-type(even) .service-media { order: 2; }
.service-media { position: relative; padding: 1rem; }
.service-media .frame { aspect-ratio: 16 / 11.5; }
.service-media .frame img { object-position: center 65%; }
.service-media .num { position: absolute; left: -0.25rem; top: -0.25rem; width: 4rem; height: 4rem; border-radius: 50%; background: var(--yellow); color: var(--deep); display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 1.45rem; z-index: 4; border: 4px solid var(--white); }
.service h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.service .sub { font-family: var(--font-hand); color: var(--primary); font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1.2; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service:nth-of-type(even) .service-media { order: 0; } }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.85rem; }
.check-list li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.65rem; align-items: start; }
.check-list li::before { content: ""; width: 1.7rem; height: 1.7rem; border-radius: 50%; margin-top: 0.1rem; background: var(--vivid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 62%; }
.check-list li:nth-child(2)::before { background-color: var(--sun); }
.check-list li:nth-child(3)::before { background-color: var(--leaf); }
.check-list strong { display: block; font-weight: 800; }
.section--deep .check-list li::before { background-color: var(--lime); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2.75rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.75rem; position: relative; border: 3px solid var(--c, var(--lime)); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 8px 10px 0 var(--c, var(--lime)); }
.cards > :nth-child(4n+2) { --c: var(--sun); }
.cards > :nth-child(4n+3) { --c: var(--leaf); }
.cards > :nth-child(4n+4) { --c: var(--yellow); }
.section--white .card { background: var(--cream); }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; color: var(--text-soft); }
.card dl { margin: 1rem 0 0; display: grid; gap: 0.9rem; }
.card dt { font-weight: 800; color: var(--primary); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em; }
.card dd { margin: 0.1rem 0 0; color: var(--text-soft); }
.section--deep .card { background: rgba(255,255,255,.06); }
.section--deep .card p { color: rgba(255,255,255,.82); }
@media (max-width: 960px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }
.steps { counter-reset: step; }
.steps .card { padding-top: 2.75rem; }
.steps .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1.4rem; left: 1.5rem; background: var(--c, var(--lime)); color: var(--deep); font-family: var(--font-title); font-weight: 700; border-radius: 999px; padding: 0.25rem 1rem; font-size: 1.2rem; border: 3px solid var(--white); }

/* ===== CONTATO ===== */
.tabs { display: inline-flex; background: var(--white); border-radius: 999px; padding: 0.35rem; gap: 0.25rem; margin-bottom: 2.5rem; border: 3px solid var(--lime); }
.tabs button { border: 0; background: transparent; border-radius: 999px; min-height: 2.9rem; padding: 0 1.4rem; font-family: var(--font-body); font-weight: 800; font-size: 0.98rem; color: var(--deep); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--vivid); color: var(--white); }
.tab-panel[hidden] { display: none; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 0.9rem; align-items: center; }
.contact-list .icon-blob { width: 3.25rem; height: 3.25rem; margin: 0; }
.contact-list .icon-blob svg { width: 1.45rem; height: 1.45rem; }
.contact-list strong { display: block; font-weight: 800; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); border: 3px solid var(--lime); box-shadow: 12px 12px 0 var(--sun); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { box-shadow: 8px 8px 0 var(--sun); } }
.field label { display: block; font-weight: 800; color: var(--deep); font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input, .field textarea { width: 100%; min-height: 3.1rem; padding: 0.75rem 1rem; border-radius: 1rem; border: 2px solid rgba(15, 61, 36, 0.18); background: var(--cream); font-family: var(--font-body); font-size: 1rem; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--vivid); background: var(--white); }
.form-status { margin-top: 1rem; font-weight: 700; color: var(--primary); }

/* ===== FOOTER ===== */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.82); padding: clamp(2.5rem, 5vw, 4rem) 0 0; position: relative; overflow: hidden; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.footer-logo { width: 10rem; margin-bottom: 1.25rem; }
.site-footer h2 { font-size: 1.35rem; color: var(--white); margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.icon-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.65rem; align-items: start; }
.icon-list svg { width: 1.3rem; height: 1.3rem; color: var(--lime); margin-top: 0.2rem; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.5rem; }
.social { display: flex; gap: 0.6rem; }
.social a { width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; color: var(--deep); background: var(--lime); }
.social a:nth-child(2) { background: var(--sun); }
.social a:nth-child(3) { background: var(--yellow); }
.social a:hover { color: var(--deep); transform: translateY(-2px); }
.social svg { width: 1.3rem; height: 1.3rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.9rem; position: relative; z-index: 1; }
.footer-mascot { position: absolute; right: clamp(1rem, 6vw, 6rem); bottom: 1rem; width: clamp(6rem, 10vw, 8rem); z-index: 1; opacity: 0.95; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .footer-mascot { display: none; } }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .main-nav a::after, .main-nav { transition: none; }
}

/* Mobile: enfeites nunca por cima de texto */
@media (max-width: 760px) {
  .hero > .doodle, .section > .doodle { display: none; }
  .hero > .blob, .section > .blob, .site-footer > .blob { opacity: 0.3 !important; }
  .cta-band .blob.float { display: none; }
  .cta-band .blob { opacity: 0.5 !important; }
}
