/* ============================
   Caminho Sonoro — styles
   ============================ */
:root{
  --background: oklch(0.22 0.025 145);
  --surface: oklch(0.26 0.03 150);
  --card: oklch(0.29 0.035 150);
  --foreground: oklch(0.94 0.015 80);
  --muted-foreground: oklch(0.72 0.025 90);
  --border: oklch(0.94 0.02 80 / 12%);
  --primary: oklch(0.78 0.13 75);
  --primary-foreground: oklch(0.22 0.025 145);
  --gradient-sun: linear-gradient(135deg, oklch(0.82 0.14 70), oklch(0.65 0.17 45));
  --gradient-forest: linear-gradient(180deg, oklch(0.22 0.025 145 / 0.2) 0%, oklch(0.22 0.025 145 / 0.85) 65%, oklch(0.22 0.025 145) 100%);
  --gradient-ember: radial-gradient(ellipse at center, oklch(0.7 0.16 55 / 0.35), transparent 60%);
  --shadow-warm: 0 30px 80px -30px oklch(0.6 0.18 50 / 0.4);
  --radius: 0.75rem;
}

*{box-sizing:border-box;margin:0;padding:0;border-color:var(--border)}
html{scroll-behavior:smooth}
body{
  background:var(--background);color:var(--foreground);
  font-family:"Inter",system-ui,sans-serif;font-weight:300;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:"Fraunces",Georgia,serif;font-weight:400;letter-spacing:-0.02em;line-height:1.05}
h1{font-size:clamp(2.5rem,6vw,5.5rem)}
h2{font-size:clamp(2rem,4.5vw,3.75rem)}
h2.big{font-size:clamp(2.5rem,5.5vw,4.5rem)}
h2.huge{font-size:clamp(3rem,6vw,5rem)}
h2.mega{font-size:clamp(3rem,8vw,6rem)}
h3{font-size:1.5rem}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
::selection{background:var(--primary);color:var(--primary-foreground)}

.container{max-width:80rem;margin:0 auto;padding:0 1.5rem}
.center{text-align:center}
.narrow{max-width:56rem}
.text-left{text-align:left}

.serif-italic{font-family:"Fraunces",Georgia,serif;font-style:italic;font-weight:400}
.text-gold{background:var(--gradient-sun);-webkit-background-clip:text;background-clip:text;color:transparent}

.eyebrow{display:inline-flex;align-items:center;gap:.75rem;font-size:.7rem;letter-spacing:.32em;text-transform:uppercase;color:var(--primary);font-weight:500}
.eyebrow-line{display:inline-block;width:2.2rem;height:1px;background:currentColor;opacity:.7}

.btn-sun,.btn-ghost{display:inline-flex;align-items:center;gap:.5rem;padding:.95rem 1.6rem;border-radius:999px;font-size:.92rem;letter-spacing:.02em;border:0;cursor:pointer;transition:all .4s ease;font-family:inherit}
.btn-sun{background:var(--gradient-sun);color:var(--primary-foreground);font-weight:500;box-shadow:var(--shadow-warm)}
.btn-sun:hover{transform:translateY(-2px);box-shadow:0 35px 90px -25px oklch(0.7 0.18 50/.55)}
.btn-ghost{border:1px solid oklch(0.94 0.02 80/.25);color:var(--foreground);background:transparent}
.btn-ghost:hover{background:oklch(0.94 0.02 80/.06);border-color:var(--primary);color:var(--primary)}
.btn-sm{padding:.6rem 1.2rem;font-size:.78rem}

/* Grain overlay */
.soft-grain{position:relative}
.soft-grain::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.06;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.9  0 0 0 0 0.7  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;padding:1.5rem 0;transition:all .5s ease}
.nav.scrolled{padding:.75rem 0;background:oklch(0.22 0.025 145/.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:80rem;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:.625rem}
.brand-mark{height:2rem;width:2rem;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--gradient-sun);color:var(--primary-foreground)}
.brand-name{font-size:1.125rem}
.nav-links{display:none;gap:2rem;font-size:.875rem;color:var(--muted-foreground)}
.nav-links a:hover{color:var(--primary)}
@media (min-width:1024px){.nav-links{display:flex;align-items:center}}

/* HERO */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden}
.hero-img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;animation:drift 22s ease-in-out infinite}
@keyframes drift{0%,100%{transform:scale(1.05) translate3d(0,0,0)}50%{transform:scale(1.08) translate3d(-1%,-1%,0)}}
.hero-overlay-forest{position:absolute;inset:0;background:var(--gradient-forest)}
.hero-overlay-ember{position:absolute;inset:0;background:var(--gradient-ember)}
.hero-content{position:relative;padding:8rem 1.5rem 10rem;max-width:72rem;text-align: center;}
.hero-content h1{
    margin: 2rem auto 0;
    max-width:56rem;
}

.lead{
    margin: 2rem auto 0;
    max-width:38rem;
    font-size:1.125rem;
    color:var(--muted-foreground);
    text-align:center;
}
.cta-row{
    margin-top:3rem;
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:center;
}
.hero-strip{position:absolute;bottom:2.5rem;left:1.5rem;right:1.5rem;max-width:75rem;margin:0 auto;display:none;align-items:center;justify-content:space-between;font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:var(--muted-foreground)}
.hero-strip-right{display:flex;align-items:center;gap:.5rem}
.dash{height:1px;width:2rem;background:oklch(0.72 0.025 90/.4)}
@media (min-width:768px){.hero-strip{display:flex}}

/* SECTIONS */
.section{position:relative;    padding-top: 50px;
    padding-bottom: 50px;}
.bg-surface{background:var(--surface)}
.bg-bg{background:var(--background)}
.header-block{text-align:center;}
.header-block h2{margin-top:1.5rem}
.header-block p.lead{margin-top:2rem}
.center .header-block,.center.container{margin-left:auto;margin-right:auto}
.center .lead{margin-left:auto;margin-right:auto;max-width:38rem}
.header-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.5rem}
.header-row h2{margin-top:1.5rem}
.side-note{max-width:22rem;color:var(--muted-foreground)}

/* Grids */
.grid-2,.grid-3,.grid-4{display:grid;gap:1px;background:var(--border);border-radius:1rem;overflow:hidden;margin-top:5rem}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media(min-width:768px){.grid-2{grid-template-columns:1fr 1fr}.grid-3{grid-template-columns:1fr 1fr}.grid-4{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
.tile{background:var(--surface);padding:2.5rem;transition:background .5s ease}
.bg-bg.tile{background:var(--background)}
.tile:hover{background:var(--card)}
.tile .icon{height:2.5rem;width:2.5rem;color:var(--primary)}
.tile h3{margin-top:2rem}
.tile p{margin-top:1rem;color:var(--muted-foreground)}
.tile .kicker{font-family:"Fraunces",serif;font-style:italic;font-size:1.875rem;background:var(--gradient-sun);-webkit-background-clip:text;background-clip:text;color:transparent}
.tile .kicker + p{margin-top:1rem;color:var(--muted-foreground)}

/* JOURNEY */
.grid-journey{display:grid;gap:4rem;align-items:center;grid-template-columns:1fr}
@media(min-width:1024px){.grid-journey{grid-template-columns:5fr 7fr}}
.portrait-wrap{position:relative}
.portrait-glow{position:absolute;inset:-1rem;border-radius:1.5rem;opacity:.3;filter:blur(48px);background:var(--gradient-sun)}
.portrait{position:relative;border-radius:1.5rem;box-shadow:var(--shadow-warm);object-fit:cover;width:100%}
.prose{margin-top:2.5rem;display:flex;flex-direction:column;gap:1.5rem;font-size:1.125rem;color:var(--muted-foreground)}
.prose .emph{color:var(--foreground)}
.prose.large{font-size:1.25rem}
.prose .pull{font-size:1.75rem;padding-top:1rem}

/* Experiences cards (alternative — same .tile) */
#exp-grid .tile{background:var(--background);cursor:default}
#exp-grid .exp-head{display:flex;align-items:flex-start;justify-content:space-between}
#exp-grid .exp-num{font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:var(--primary)}
#exp-grid .exp-arrow{height:2rem;width:2rem;border-radius:999px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:.3s}
#exp-grid .tile:hover .exp-arrow{border-color:var(--primary);color:var(--primary)}
#exp-grid .tile h3{font-family:"Fraunces",serif;font-style:italic;color:var(--foreground);transition:color .4s}
#exp-grid .tile:hover h3{background:var(--gradient-sun);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Videos */
.video-grid{display:grid;gap:1.5rem;grid-template-columns:1fr;margin-top:4rem;background:transparent;border-radius:0}
@media(min-width:768px){.video-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.video-grid{grid-template-columns:repeat(3,1fr)}}


/* CARD */

.video-card{

    cursor:pointer;

}

.video-frame{

    position:relative;

    aspect-ratio:16/9;

    overflow:hidden;

    border-radius:20px;

}

.video-frame video{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.4s;
}

.video-card:hover video{

    transform:scale(1.05);

}

/* Overlay */

.video-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,0,0,.25);

    opacity:0;

    transition:.35s;

}

.video-card:hover .video-overlay{

    opacity:1;

}

.play-button{

    width:72px;

    height:72px;

    border-radius:50%;

    background:var(--gradient-sun);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#000;

    transition:.3s;

}

.play-button:hover{

    transform:scale(1.1);

}

/* MODAL */

/* ==========================
   MODAL
========================== */

.video-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    backdrop-filter:blur(8px);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:9999;

    padding:2rem;
}

.video-modal-content{

    position:relative;

    width:min(850px,90vw);

    animation:modalIn .35s ease;
}

.video-modal video{

    width:100%;
    max-height:80vh;

    border-radius:18px;

    background:#000;

    display:block;
}

.video-close{

    position:absolute;

    top:15px;
    right:15px;

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:rgba(0,0,0,.6);

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    transition:.3s;

    z-index:2;
}

.video-close:hover{

    background:var(--gradient-sun);

    color:#111;

    transform:scale(1.08);

}

.video-close svg{

    width:20px;
    height:20px;
}

@keyframes modalIn{

    from{
        opacity:0;
        transform:scale(.9);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.video-frame{
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:20px;
}

.video-frame video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.video-card iframe{position:absolute;inset:0;height:100%;width:100%;border:0}
.video-card .video-tag{display:block;margin-top:1.25rem;font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:var(--primary)}
.video-card .video-title{margin-top:.5rem;font-family:"Fraunces",serif;font-style:italic;font-size:1.25rem}

/* Courses */
.courses{padding:8rem 0 12rem;overflow:hidden;position:relative}
.ember-bg{position:absolute;inset:0;background:var(--gradient-ember);opacity:.3;pointer-events:none}
.courses-grid{display:grid;gap:2rem;grid-template-columns:1fr;margin-top:5rem;background:transparent;border-radius:0}
@media(min-width:1024px){.courses-grid{grid-template-columns:1fr 1fr}}
.course-card{position:relative;padding:2.5rem;border-radius:1.5rem;background:var(--background);border:2px solid var(--border);overflow:hidden;box-shadow:var(--shadow-warm);transition:border-color .5s}
@media(min-width:768px){.course-card{padding:3.5rem}}
.course-card:hover{border-color:var(--primary)}
.course-glow{position:absolute;top:-6rem;right:-6rem;height:18rem;width:18rem;border-radius:999px;opacity:.3;filter:blur(48px);background:var(--gradient-sun);transition:opacity .7s}
.course-card:hover .course-glow{opacity:.6}
.course-body{position:relative}
.course-tag{font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:var(--primary)}
.course-title{margin-top:1.5rem;font-family:"Fraunces",serif;font-style:italic;font-size:clamp(1.875rem,3vw,2.5rem);background:var(--gradient-sun);-webkit-background-clip:text;background-clip:text;color:transparent}
.course-text{margin-top:1.5rem;font-size:1.125rem;color:var(--muted-foreground)}
.course-points{margin-top:2rem;display:flex;flex-direction:column;gap:.75rem}
.course-points li{display:flex;align-items:center;gap:.75rem;color:var(--foreground)}
.course-points li::before{content:"";height:.375rem;width:.375rem;border-radius:999px;background:var(--primary)}
.course-cta{margin-top:2.5rem}

/* Testimonials */
#testi-grid figure{background:var(--surface);padding:2.5rem}
@media(min-width:768px){#testi-grid figure{padding:3rem}}
#testi-grid svg{height:2rem;width:2rem;color:var(--primary);opacity:.7}
#testi-grid blockquote{margin-top:1.5rem;font-family:"Fraunces",serif;font-style:italic;font-size:1.25rem;color:var(--foreground);line-height:1.6}
#testi-grid figcaption{margin-top:2rem;display:flex;align-items:center;gap:1rem}
#testi-grid .avatar{height:2.5rem;width:2.5rem;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:.875rem;color:var(--primary-foreground);background:var(--gradient-sun)}
#testi-grid .role{display:block;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted-foreground);margin-top:.25rem}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:180px;gap:1rem;margin-top:4rem}
@media(min-width:768px){.gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:220px}}
.gallery figure{position:relative;overflow:hidden;border-radius:1rem}
.gallery img{height:100%;width:100%;object-fit:cover;transition:transform 1.5s ease}
.gallery figure:hover img{transform:scale(1.05)}
.gallery figure::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,oklch(0.22 0.025 145/.6),transparent 60%);opacity:.7}
@media(min-width:768px){.gallery .g-1{grid-column:span 2;grid-row:span 2}.gallery .g-2{grid-row:span 2}}

/* Manifesto */
.manifesto{padding:8rem 0 12rem;overflow:hidden;position:relative}
.manifesto .ember-bg{opacity:.25}

/* Contact */
.contact-form{margin-top:3.5rem;display:grid;gap:1rem;text-align:left;grid-template-columns:1fr}
@media(min-width:768px){.contact-form{grid-template-columns:1fr 1fr}}
.contact-form label{display:block}
.contact-form label.full{grid-column:1/-1}
.contact-form span{font-size:.75rem;letter-spacing:.25em;text-transform:uppercase;color:var(--muted-foreground)}
.contact-form input,.contact-form textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--border);outline:none;padding:1rem 0;color:var(--foreground);font-family:inherit;font-size:1rem;margin-top:.5rem;resize:none;transition:border-color .3s}
.contact-form input:focus,.contact-form textarea:focus{border-bottom-color:var(--primary)}
.contact-form button{grid-column:1/-1;justify-self:start;margin-top:.5rem}

/* Footer */
.footer{padding:4rem 0;border-top:1px solid var(--border)}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;font-size:.875rem;color:var(--muted-foreground)}

/* Reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity 1.1s ease,transform 1.1s ease}
.reveal.in{opacity:1;transform:none}
.reveal.delay-1{transition-delay:.15s}
.reveal.delay-2{transition-delay:.3s}
.reveal.delay-3{transition-delay:.45s}


.contact-section{
  position:relative;
  padding:8rem 1.5rem;
  background: var(--background, #0b0b0b);
}

.contact-content{
  max-width:72rem;
  margin:0 auto;
  text-align:center;
}

.contact-content h2{
  margin-top:2rem;
  max-width:56rem;
  margin-left:auto;
  margin-right:auto;
}

.contact-content .lead{
  margin-top:2rem;
  max-width:38rem;
  margin-left:auto;
  margin-right:auto;
  font-size:1.125rem;
  color:var(--muted-foreground);
}

/* GRID DE CONTATOS */
.contact-grid{
  margin-top:3rem;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1rem;
}

/* CARD */
.contact-card{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.2rem 1.4rem;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  text-decoration:none;
  color:inherit;
  transition:all .25s ease;
  background: rgba(255,255,255,0.02);
}

.contact-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.contact-card .icon{
  font-size:1.5rem;
}

.contact-card strong{
  display:block;
  font-size:1rem;
}

.contact-card p{
  margin:0;
  font-size:.9rem;
  color:var(--muted-foreground);
}

/* BOTÕES (mesmo estilo do hero) */
.cta-row{
  margin-top:3rem;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:1rem;
}
.course-image{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  margin-bottom:1.2rem;
  position:relative;
}

.course-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.05);
  transition:transform .5s ease;
}

.course-card:hover .course-image img{
  transform:scale(1.12);
}

/* leve overlay pra combinar com teu estilo dark/ember */
.course-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.35), transparent);
}

.testimonials-wrapper {
  position: relative;
  margin-top:100px;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;

  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);

  font-size: 20px;
  transition: .3s;
}

.testimonial-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.testimonial-nav.prev {
  left: -24px;
}

.testimonial-nav.next {
  right: -24px;
}

@media (max-width: 768px) {
  .testimonial-nav {
    display: none;
  }
}

/* Testimonials */
.testimonials {
  background: hsl(var(--cream));
}

.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: hsl(var(--olive) / 0.3);
  border-radius: 999px;
}

.testimonial-card {
  background: hsl(var(--offwhite) / 0.95);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-card svg {
  color: hsl(var(--olive) / 0.4);
}

.testimonial-card p {
  color: hsl(var(--foreground));
  line-height: 1.6;
  flex: 1;
}

.testimonial-card .author {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--text-subtle));
}

/* Cards de imagem */
.testimonial-card.image {
  flex: 0 0 420px; /* largura do card */
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.testimonial-card.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Tablet */
@media (max-width: 1024px) {
  .testimonial-card.image {
    flex: 0 0 350px;
  }
}

/* Celular */
@media (max-width: 768px) {
  .testimonial-card.image {
    flex: 0 0 280px;
  }
}

.testimonial-card.image img {
  width: 100%;
  border-radius: 12px;
}