/* ============================================================
     TOKENS — paleta inspirada em madeiras de instrumento:
     tampo de spruce (creme), corpo em mogno (marrom escuro),
     ferragens em latão/ouro e o sunburst laranja-ferrugem.
     ============================================================ */
  :root{
    --ink:        #14100c;   /* fundo principal, "corpo" escuro */
    --panel:      #1d1712;   /* painéis, header */
    --panel-2:    #261d15;   /* cards */
    --panel-3:    #2f241a;   /* cards hover / bordas de madeira */
    --wood-line:  #4a3623;   /* linhas / bordas sutis */
    --gold:       #c8964c;   /* latão — acento primário, da logo */
    --gold-soft:  #e6c581;   /* latão claro — hover */
    --cream:      #f2e8d6;   /* texto principal sobre fundo escuro */
    --cream-dim:  #cabaa0;   /* texto secundário */
    --ember:      #b1481f;   /* sunburst — acento secundário / CTA */
    --ember-soft: #d66a3a;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --container: 1180px;
    --radius: 6px;
  }

  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; scroll-padding-top:80px; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  }

  body{
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  img{ max-width:100%; display:block; }
  a{ color:inherit; text-decoration:none; }
  ul{ list-style:none; }
  button{ font-family:inherit; cursor:pointer; }

  .wrap{
    max-width: var(--container);
    margin:0 auto;
    padding: 0 24px;
  }
  @media (max-width:768px){ .wrap{ padding: 0 28px; } }
  @media (max-width:380px){ .wrap{ padding: 0 22px; } }

  ::selection{ background: var(--gold); color:var(--ink); }

  /* leve textura de "veio de madeira" no fundo geral */
  body::before{
    content:"";
    position:fixed; inset:0;
    background-image: repeating-linear-gradient(100deg, rgba(200,150,76,0.025) 0px, rgba(200,150,76,0.025) 1px, transparent 1px, transparent 90px);
    pointer-events:none;
    z-index:0;
  }

  /* ---------- eyebrow / marcador de traste (elemento assinatura) ----------
     Inspirado nos pontos de marcação do braço do violão/guitarra:
     ponto único nas seções, dois pontos para marcar a 12ª casa (o "clímax"
     da página, aqui usado na seção de contato). Substitui a numeração
     genérica 01/02/03 por algo que pertence de fato ao instrumento. */
  .eyebrow{
    display:flex; align-items:center; gap:10px;
    font-family: var(--font-mono);
    font-size:12.5px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color: var(--gold);
    margin-bottom:18px;
  }
  .eyebrow .dots{ display:flex; gap:5px; }
  .eyebrow .dots span{
    width:6px; height:6px; border-radius:50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(200,150,76,.5);
  }

  h1,h2,h3,h4{
    font-family: var(--font-display);
    font-weight:600;
    color: var(--cream);
    letter-spacing:-0.01em;
  }

  .section{ padding: 108px 0; position:relative; z-index:1; }
  @media (max-width:768px){ .section{ padding:76px 0; } }

  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head h2{ font-size: clamp(30px, 4vw, 44px); line-height:1.12; }
  .section-head p{ margin-top:16px; font-size:17px; color:var(--cream-dim); max-width:520px; }

  /* ---------- reveal on scroll ---------- */
  .reveal{
    opacity:0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in-view{ opacity:1; transform:none; }
  .reveal-delay-1{ transition-delay:.1s; }
  .reveal-delay-2{ transition-delay:.2s; }
  .reveal-delay-3{ transition-delay:.3s; }

  /* ================= HEADER ================= */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background: rgba(20,16,12,0.72);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border-bottom: 1px solid rgba(200,150,76,0.14);
    transition: background .3s ease, border-color .3s ease;
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    height:80px;
  }
  .brand{ display:flex; align-items:center; gap:14px; }
  .brand img{
    height:44px; width:44px; object-fit:cover; border-radius:50%;
    border:1px solid rgba(200,150,76,.4);
    padding:2px;
  }
  .brand-text{ display:flex; flex-direction:column; line-height:1.05; }
  .brand-text strong{
    font-family: var(--font-display); font-weight:600;
    font-size:19px; letter-spacing:.05em; text-transform:uppercase;
    color: var(--cream);
    white-space:nowrap;
  }

  .nav-links{ display:flex; align-items:center; gap:46px; }
  .nav-links a{
    font-family: var(--font-display);
    font-size:15px; font-weight:600;
    letter-spacing:.1em; text-transform:uppercase;
    color: var(--cream-dim);
    position:relative; padding:4px 0;
    transition: color .25s ease;
  }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:-4px; width:0; height:1px;
    background:var(--gold); transition:width .3s ease;
  }
  .nav-links a:hover{ color: var(--cream); }
  .nav-links a:hover::after{ width:100%; }

  .burger{
    display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
  }
  .burger span{ width:24px; height:1.5px; background:var(--cream); transition:.3s; }

  .mobile-menu{
    display:none;
    position:fixed; top:80px; left:0; right:0; z-index:99;
    background: var(--panel);
    border-bottom:1px solid var(--wood-line);
    flex-direction:column; padding:18px 24px 28px;
    gap:4px;
  }
  .mobile-menu a{
    font-family: var(--font-display);
    padding:14px 4px; font-size:16px; letter-spacing:.08em; text-transform:uppercase;
    color: var(--cream-dim);
    border-bottom:1px solid rgba(200,150,76,0.08);
  }
  .mobile-menu.open{ display:flex; }

  @media (max-width:860px){
    .nav-links{ display:none; }
    .burger{ display:flex; }
  }

  @media (max-width:520px){
    .nav{ height:72px; }
    .brand img{ height:38px; width:38px; }
    .brand-text strong{ font-size:15px; letter-spacing:.03em; }
    .mobile-menu{ top:72px; }
  }

  @media (max-width:520px){ .hero{ padding-top:72px; } html{ scroll-padding-top:72px; } }

  @media (max-width:400px){
    .brand-text strong{ font-size:12.5px; letter-spacing:.01em; }
  }

  /* ================= HERO ================= */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex; align-items:center;
    padding-top:80px;
    overflow:hidden;
  }
  .hero-bg{
    position:absolute; inset:0;
    background-image: url('images/hero-bg.jpg');
    background-size:cover;
    background-position:center 30%;
    filter: saturate(0.85) brightness(0.55);
    transform: scale(1.06);
  }
  .hero-bg::after{ content:""; }
  .hero-overlay{
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.55) 40%, var(--ink) 96%),
      linear-gradient(100deg, rgba(20,16,12,0.9) 0%, rgba(20,16,12,0.45) 55%, rgba(20,16,12,0.75) 100%);
  }

  .hero-content{ position:relative; z-index:2; padding: 60px 0 90px; }
  .hero-content .eyebrow{ color:var(--gold-soft); }
  .hero-content h1{
    font-size: clamp(38px, 6.2vw, 76px);
    line-height:1.04;
    max-width: 780px;
    font-weight:600;
  }
  .hero-content h1 em{
    font-style:italic; font-weight:450; letter-spacing:.01em;
    color: var(--gold-soft);
  }
  .hero-content .lede{
    margin-top:26px;
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--cream-dim);
    max-width:520px;
  }

  .hero-cta{ display:flex; gap:16px; margin-top:42px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:15px 28px; border-radius:100px;
    font-size:14.5px; font-weight:600; letter-spacing:.01em;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
    border:1px solid transparent;
  }
  .btn-primary{ background: var(--ember); color:#fff7ec; box-shadow:0 8px 24px -8px rgba(177,72,31,0.6); }
  .btn-primary:hover{ background: var(--ember-soft); transform:translateY(-2px); }
  .btn-ghost{ border-color: rgba(242,232,214,0.28); color: var(--cream); }
  .btn-ghost:hover{ border-color: var(--gold); color:var(--gold-soft); transform:translateY(-2px); }

  /* corda / linha ondulada — elemento decorativo sutil sob o título */
  .string-line{
    margin-top:52px; width:100%; max-width:560px; height:26px;
    opacity:.55;
  }

  @media (max-width:768px){
    .hero-content{ text-align:center; display:flex; flex-direction:column; align-items:center; }
    .hero-content .eyebrow{ justify-content:center; }
    .hero-content h1,
    .hero-content .lede{ max-width:100%; }
    .hero-cta{ justify-content:center; }
  }

  /* ================= SOBRE ================= */
  .about{
    background: var(--panel);
    border-top:1px solid var(--wood-line);
    border-bottom:1px solid var(--wood-line);
    padding: 108px 0;
  }
  @media (max-width:768px){ .about{ padding: 76px 0; } }
  .about-grid{
    display:grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items:start;
  }
  @media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:44px; } }

  .about-text p{
    font-size:16.5px; color: var(--cream-dim);
    margin-bottom:20px;
  }
  .about-text p strong{ color:var(--cream); font-weight:600; }
  .about-signoff{
    margin-top:64px; padding-top:30px;
    display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px;
  }
  @media (max-width:768px){ .about-signoff{ margin-top:44px; } }
  .about-signoff::before{
    content:""; order:-1;
    width:72px; height:1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .about-signoff .sig-mark{ width:38px; height:38px; color:var(--gold); }
  .about-signoff span{ font-family:var(--font-display); font-style:italic; font-size:19px; color:var(--cream); max-width:440px; }
  .about-signoff small{ display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; color:var(--gold); text-transform:uppercase; margin-top:6px; }

  .about-media{
    position:relative;
    border-radius: var(--radius);
    overflow:hidden;
    border:1px solid var(--wood-line);
    aspect-ratio: 4/5;
  }
  .about-media img{ width:100%; height:100%; object-fit:cover; }
  .about-media.is-logo{ background: var(--panel-2); }
  .about-media.is-logo img{ object-fit:contain; padding:56px; }

  /* ================= SERVIÇOS ================= */
  .services-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  @media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } }

  .card{
    background: var(--panel-2);
    border:1px solid var(--wood-line);
    border-radius: var(--radius);
    padding:32px 28px;
    text-align:center;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
  }
  .card:hover{ transform:translateY(-5px); border-color: var(--gold); background: var(--panel-3); }
  .card .icon{
    width:44px; height:44px;
    display:flex; align-items:center; justify-content:center;
    color: var(--gold);
    margin:0 auto 22px;
  }
  .card .icon svg{ width:100%; height:100%; }
  .card h3{ font-size:19px; font-weight:600; margin-bottom:10px; }
  .card p{ font-size:14.5px; color:var(--cream-dim); line-height:1.65; }

  /* ---------- carrossel ---------- */
  .gallery{ margin-top:76px; }
  .gallery-head{
    text-align:center; margin-bottom:26px;
  }
  .gallery-head h3{ font-size:22px; font-weight:600; }
  .gallery-head p{ color:var(--cream-dim); font-size:14.5px; margin-top:6px; }
  .gallery-controls{ display:flex; justify-content:center; gap:10px; margin-top:24px; }
  .gallery-btn{
    width:44px; height:44px; border-radius:50%;
    border:1px solid var(--wood-line); background:var(--panel-2); color:var(--cream);
    display:flex; align-items:center; justify-content:center;
    transition: border-color .25s ease, color .25s ease, background .25s ease;
  }
  .gallery-btn:hover{ border-color:var(--gold); color:var(--gold-soft); background:var(--panel-3); }
  .gallery-btn svg{ width:18px; height:18px; }

  .carousel-viewport{
    overflow-x:auto;
    scroll-snap-type: x mandatory;
    display:flex;
    gap:18px;
    padding-bottom:8px;
    scrollbar-width:none;
  }
  .carousel-viewport::-webkit-scrollbar{ display:none; }

  .slide{
    scroll-snap-align:start;
    flex: 0 0 calc((100% - 2 * 18px) / 3);
    background: var(--panel-2);
    border:1px solid var(--wood-line);
    border-radius: var(--radius);
    display:flex; flex-direction:column;
    overflow:hidden;
  }
  @media (max-width:900px){ .slide{ flex: 0 0 calc((100% - 18px) / 2); } }
  @media (max-width:600px){ .slide{ flex: 0 0 min(560px, 86vw); } }

  .slide img, .slide video{
    width:100%; height:300px;
    object-fit: contain; /* garante a foto/vídeo inteiro, seja retrato ou paisagem */
    background: var(--panel-2);
  }
  @media (max-width:600px){ .slide img, .slide video{ height:340px; } }
  .slide .cap{
    display:block; text-align:center;
    font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
    color: var(--gold-soft);
    padding:12px 14px;
    border-top:1px solid rgba(200,150,76,.25);
  }

  .gallery-dots{ display:flex; gap:8px; justify-content:center; margin-top:22px; }
  .gallery-dots button{
    width:7px; height:7px; border-radius:50%; border:none; background:var(--wood-line);
    transition: background .25s ease, width .25s ease;
  }
  .gallery-dots button.active{ background:var(--gold); width:22px; border-radius:4px; }

  /* ================= CONTATO ================= */
  .contact{
    position:relative;
    background: var(--panel);
    border-top:1px solid var(--wood-line);
    overflow:hidden;
    padding: 84px 0;
  }
  @media (max-width:768px){ .contact{ padding:64px 0; } }
  .contact::before{
    content:"";
    position:absolute; top:-30%; right:-10%;
    width:520px; height:520px; border-radius:50%;
    background: radial-gradient(circle, rgba(200,150,76,0.14), transparent 70%);
    pointer-events:none;
  }
  .contact-grid{
    display:grid;
    grid-template-columns: auto 1fr;
    gap:40px;
    align-items:center;
  }
  @media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:36px; } }

  .contact-inner{ position:relative; z-index:1; max-width:400px; }
  @media (max-width:900px){ .contact-inner{ max-width:none; } }
  .contact-inner h2{ font-size: clamp(30px,4.4vw,46px); line-height:1.12; }
  .contact-inner p{ margin-top:18px; font-size:17px; color:var(--cream-dim); }
  .contact-actions{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; margin-top:34px; }

  .btn-social{
    display:inline-flex; align-items:center; gap:11px;
    padding:16px 28px; border-radius:100px;
    font-size:15px; font-weight:700;
    color:#fff;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .btn-social svg{ width:19px; height:19px; }
  .btn-social:hover{ transform:translateY(-3px) scale(1.01); }

  .btn-whats{
    padding:18px 32px; font-size:16px;
    background:#25D366; color:#0b1a10;
    box-shadow: 0 12px 30px -10px rgba(37,211,102,0.55);
  }
  .btn-whats:hover{ box-shadow:0 16px 36px -8px rgba(37,211,102,0.65); }
  .btn-whats svg{ width:22px; height:22px; }

  .contact-map{
    position:relative;
    border-radius: var(--radius);
    overflow:hidden;
    border:1px solid var(--wood-line);
    aspect-ratio: 4/3;
    width:100%;
    max-width:500px;
    margin-left:auto;
    background: var(--panel-2);
  }
  @media (max-width:900px){ .contact-map{ margin:0 auto; } }
  .contact-map iframe{
    width:100%; height:100%; border:0; display:block;
    filter: grayscale(0.2) contrast(1.05);
  }
  .contact-map-tag{
    position:absolute; left:16px; bottom:16px;
    background: rgba(20,16,12,0.78);
    backdrop-filter: blur(6px);
    border:1px solid rgba(200,150,76,.3);
    padding:9px 14px; border-radius:100px;
    font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-soft);
    pointer-events:none;
  }

  /* ================= FOOTER ================= */
  footer{ background: var(--ink); border-top:1px solid var(--wood-line); padding: 64px 0 28px; }
  .footer-grid{
    display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:44px;
    padding-bottom:44px; border-bottom:1px solid var(--wood-line);
  }
  @media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:36px; } }

  .footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
  .footer-brand img{ height:38px; width:38px; border-radius:50%; object-fit:contain; }
  .footer-brand strong{ font-family:var(--font-display); font-size:18px; }
  .footer-col p{ color:var(--cream-dim); font-size:14.5px; max-width:320px; }
  .footer-col h4{
    font-family:var(--font-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
    color:var(--gold); margin-bottom:16px; font-weight:500;
  }
  .footer-col ul li{ margin-bottom:11px; }
  .footer-col ul a{ color:var(--cream-dim); font-size:14.5px; transition:color .2s ease; }
  .footer-col ul a:hover{ color:var(--gold-soft); }

  .social-row{ display:flex; gap:12px; }
  .social-row a{
    width:42px; height:42px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; color:#fff;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .social-row a:hover{ transform:translateY(-3px); }
  .social-row svg{ width:19px; height:19px; }

  .social-instagram{
    background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
    box-shadow: 0 8px 20px -8px rgba(238,42,123,0.5);
  }
  .social-instagram:hover{ box-shadow: 0 10px 24px -6px rgba(238,42,123,0.6); }

  .social-facebook{
    background:#1877F2;
    box-shadow: 0 8px 20px -8px rgba(24,119,242,0.5);
  }
  .social-facebook:hover{ box-shadow: 0 10px 24px -6px rgba(24,119,242,0.6); }

  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
    padding-top:26px; font-size:13px; color:var(--cream-dim);
  }
  .footer-bottom span{ font-family:var(--font-mono); letter-spacing:.02em; }