/* =========================================================
   HOME (index.html) — carregada depois de base.css
   ========================================================= */

/* Reveal: só esconde se o JS estiver ativo (classe .js no <html>),
   assim o conteúdo nunca fica invisível sem JavaScript. */
.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible{ opacity:1; transform:none; }

.section{ padding:var(--space-section) 0; }
.section-head{ max-width:640px; margin:0 auto var(--space-head); text-align:center; }
.section-head .eyebrow{ justify-content:center; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p{ color:var(--ink-soft); font-size:1.05rem; }

/* VINE DIVIDER */
.vine-divider{ max-width:220px; margin:0 auto; color:var(--vine); }
.vine-divider svg{ width:100%; height:auto; overflow:visible; }
.vine-divider path{ fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-dasharray:280; stroke-dashoffset:280; transition:stroke-dashoffset 1.4s ease; }
.vine-divider circle{ fill:var(--gold); opacity:0; transition:opacity .6s ease .8s; }
.vine-divider.is-visible path{ stroke-dashoffset:0; }
.vine-divider.is-visible circle{ opacity:1; }
html:not(.js) .vine-divider path{ stroke-dashoffset:0; }
html:not(.js) .vine-divider circle{ opacity:1; }

/* HERO */
.hero{ position:relative; overflow:hidden; padding:clamp(48px,10vw,96px) 0 clamp(48px,9vw,88px);
  background:radial-gradient(60% 55% at 85% 0%, rgba(76,137,155,.16), transparent 60%), radial-gradient(55% 45% at 8% 100%, rgba(143,193,207,.22), transparent 60%); }
.hero__bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; filter:blur(22px); opacity:.16; transform:scale(1.12); }
.hero__vines{ position:absolute; inset:0; z-index:1; width:100%; height:100%; opacity:.5; pointer-events:none; }
.hero .wrap{ position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; }
.hero .eyebrow{ margin-bottom:18px; }
.img-logo{ width:clamp(200px, 38vw, 360px); height:auto; margin-bottom:1em; }
.hero h1{ font-size:clamp(2.2rem, 6vw, 4.6rem); max-width:14ch; }
.hero h1 em{ font-style:italic; color:var(--vine); }
.hero__tagline{ font-size:clamp(1.05rem, 2vw, 1.3rem); color:var(--ink-soft); max-width:34ch; margin:0 0 2em; }
.hero__meta{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px 28px; font-family:var(--mono); font-size:.78rem; letter-spacing:.06em; color:var(--ink-soft); text-transform:uppercase; }
.hero__meta strong{ display:block; font-family:var(--sans); font-weight:700; font-size:.95rem; letter-spacing:0; text-transform:none; color:var(--ink); margin-bottom:2px; }

/* QUEM SOMOS / NAQUILO QUE CREMOS */
.about{ background:var(--bg-alt); }
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(28px,5vw,56px); align-items:center; }
.about-grid.beliefs-grid{ grid-template-columns:1.1fr .9fr; }
.about-media{ position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/5; background:linear-gradient(160deg, var(--vine-dark), var(--vine) 70%); }
.about-media img{ width:100%; height:100%; object-fit:cover; }
.about-media__frame{ position:absolute; inset:14px; border:1px solid rgba(255,255,255,.35); border-radius:calc(var(--radius) - 8px); pointer-events:none; }

.full-text p, .expandable-text p{ color:var(--ink-soft); margin:0 0 1.1em; }
.full-text p:first-child, .expandable-text p:first-child{ margin-top:0; }
.expandable-text{ position:relative; max-height:9.6em; overflow:hidden; transition:max-height .55s ease; }
.expandable-text::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3.4em; background:linear-gradient(to bottom, transparent, var(--bg)); transition:opacity .3s ease; }
.expandable-text.is-open{ max-height:1400px; }
.expandable-text.is-open::after{ opacity:0; }
.read-more{ background:none; border:none; padding:0; margin-top:18px; font-family:var(--sans); font-weight:700; font-size:.92rem; color:var(--vine-dark); cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.read-more:focus-visible{ outline:2px solid var(--vine); outline-offset:3px; }
.read-more svg{ width:12px; height:12px; transition:transform .3s ease; }
.read-more[aria-expanded="true"] svg{ transform:rotate(180deg); }
.beliefs{ background:var(--bg); }

/* NOSSO JEITO */
.traits-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:clamp(16px,3vw,28px); }
.trait-card{ background:var(--bg-alt); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(24px,3vw,32px) clamp(20px,3vw,28px); }
.trait-card__icon{ width:40px; height:40px; margin-bottom:18px; color:var(--vine); }
.trait-card h3{ font-size:1.15rem; margin-bottom:.35em; }
.trait-card p{ color:var(--ink-soft); font-size:.95rem; margin:0; }

/* PROGRAMAÇÃO */
.schedule{ background:var(--vine-dark); color:#fff; }
.schedule .eyebrow{ color:var(--gold-soft); }
.schedule .section-head p{ color:rgba(255,255,255,.78); }
.schedule-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,4vw,40px); align-items:stretch; }
.schedule-card{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); border-radius:var(--radius); padding:clamp(24px,4vw,40px); display:flex; flex-direction:column; justify-content:center; gap:22px; }
.schedule-row{ display:flex; gap:16px; align-items:flex-start; }
.schedule-row svg{ width:22px; height:22px; flex-shrink:0; margin-top:3px; color:var(--gold); }
.schedule-row strong{ display:block; font-size:1.05rem; margin-bottom:2px; }
.schedule-row span{ color:rgba(255,255,255,.78); font-size:.94rem; }
.schedule-card .btn-primary{ background:var(--gold); color:var(--vine-dark); align-self:flex-start; }
.schedule-card .btn-primary:hover{ background:var(--gold-soft); }
.schedule .btn:focus-visible{ outline-color:var(--gold); }
.map-frame{ border-radius:var(--radius); overflow:hidden; border:1px solid rgba(255,255,255,.18); min-height:300px; }
.map-frame iframe{ width:100%; height:100%; min-height:300px; border:0; display:block; }

/* GALERIA — 3 colunas = 9 células: 4 + 1 + 1 + 2 + 1, sem buracos */
.gallery{ background:var(--bg-alt); }
.gallery-grid{ display:grid; grid-template-columns:repeat(3, 1fr); grid-auto-rows:clamp(130px, 18vw, 200px); gap:clamp(10px,2vw,16px); }
.gallery-item{ position:relative; border-radius:14px; overflow:hidden; background:linear-gradient(150deg, var(--gold-soft), var(--vine) 120%); }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-item.tall{ grid-row:span 2; }
.gallery-item.wide{ grid-column:span 2; }
.gallery-item__label{ position:absolute; inset:auto 0 0 0; padding:14px 16px; font-family:var(--mono); font-size:.68rem; letter-spacing:.06em; color:#fff; background:linear-gradient(to top, rgba(18,38,45,.6), transparent); opacity:0; transition:opacity .3s ease; }
.gallery-item:hover .gallery-item__label{ opacity:1; }

/* CONTATO */
.contact{ background:var(--bg-alt); }
.contact-list{ list-style:none; margin:0 0 clamp(28px,4vw,40px); padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:clamp(14px,2vw,20px); }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(18px,3vw,24px); }
.contact-list svg{ width:22px; height:22px; color:var(--vine); flex-shrink:0; margin-top:3px; }
.contact-list strong{ display:block; margin-bottom:2px; }
.contact-list a, .contact-list span{ color:var(--ink-soft); text-decoration:none; font-size:.95rem; overflow-wrap:anywhere; }
.contact-list a:hover{ color:var(--vine-dark); text-decoration:underline; }
.contact-cta{ text-align:center; }
.btn-whatsapp{ background:#1A7F46; color:#fff; }
.btn-whatsapp:hover{ background:#136035; }
.btn-whatsapp svg{ width:20px; height:20px; }

/* RESPONSIVO */
@media (max-width:860px){
  .about-grid, .about-grid.beliefs-grid, .schedule-grid{ grid-template-columns:1fr; }
  .about-media{ aspect-ratio:16/10; order:-1; }
  .traits-grid{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
  .gallery-item:last-child{ grid-column:span 2; }
  .hero__meta{ flex-direction:column; gap:14px; }
}
