:root{
    --bg: #0e1310;
    --bg-alt: #141a16;
    --green: #1f5c3d;
    --green-bright: #2f8a5c;
    --orange: #f2661b;
    --ember: #ff4520;
    --cream: #f3efe4;
    --steel: #4b534e;
    --steel-line: rgba(243,239,228,0.12);
    --max: 1180px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--cream);
    font-family:'Inter', sans-serif;
    line-height:1.5;
    overflow-x:hidden;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:var(--max); margin:0 auto; padding:0 24px;}

  h1,h2,h3,.display{
    font-family:'Anton', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.01em;
    line-height:1.02;
    font-weight:400;
  }

  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--orange);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:26px; height:2px;
    background:var(--orange);
    display:inline-block;
  }

  /* ---------- reveal on scroll ---------- */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
  .reveal-stagger > *{opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease;}
  .reveal-stagger.in > *{opacity:1; transform:translateY(0);}
  .reveal-stagger.in > *:nth-child(1){transition-delay:.05s;}
  .reveal-stagger.in > *:nth-child(2){transition-delay:.15s;}
  .reveal-stagger.in > *:nth-child(3){transition-delay:.25s;}
  .reveal-stagger.in > *:nth-child(4){transition-delay:.35s;}

  @media (prefers-reduced-motion: reduce){
    .reveal, .reveal-stagger > *{opacity:1 !important; transform:none !important; transition:none !important;}
    html{scroll-behavior:auto;}
  }

  /* ---------- nav ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:50;
    background:#111a15;
    border-bottom:1px solid var(--steel-line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 24px;
    max-width:var(--max); margin:0 auto;
  }
  .nav-logo{display:flex; align-items:center; gap:14px; font-family:'Anton'; letter-spacing:.03em; font-size:19px;}
  .nav-logo span{color:var(--orange);}

  .burger{
    display:none;
    flex-direction:column; justify-content:center; align-items:center; gap:4px;
    width:32px; height:32px; padding:0;
    background:none; border:none; cursor:pointer;
  }
  .burger span{width:5px; height:5px; border-radius:50%; background:var(--cream); transition:background .2s, transform .2s;}
  .burger.open span{background:var(--orange);}
  .nav-links{display:flex; align-items:stretch; gap:4px; font-size:14px; font-weight:600;}
  .nav-links > li{list-style:none; position:relative; display:flex; align-items:stretch;}
  .nav-links > li > a, .nav-links > li > button{
    display:flex; align-items:center; gap:6px;
    padding:22px 16px;
    opacity:.9; transition:opacity .2s, color .2s, background .2s;
    background:none; border:none; color:inherit; font:inherit; cursor:pointer;
  }
  .nav-links > li > a:hover, .nav-links > li:hover > button{opacity:1; color:var(--orange); background:rgba(243,239,228,0.04);}
  .nav-links .chev{width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin-top:-3px; transition:transform .2s;}
  .nav-links > li:hover .chev{transform:rotate(225deg); margin-top:3px;}

  .dropdown{
    position:absolute; top:100%; left:0;
    min-width:240px;
    background:var(--bg-alt);
    border:1px solid var(--steel-line);
    border-radius:0 0 8px 8px;
    padding:8px;
    box-shadow:0 18px 34px -14px rgba(0,0,0,0.55);
    opacity:0; visibility:hidden; transform:translateY(6px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-links > li:hover .dropdown{opacity:1; visibility:visible; transform:translateY(0);}
  .dropdown a{
    display:flex; flex-direction:column; gap:2px;
    padding:11px 14px; border-radius:5px;
    font-weight:600; font-size:14px; color:var(--cream);
    transition:background .15s;
  }
  .dropdown a:hover{background:rgba(242,102,27,0.1); color:var(--orange);}
  .dropdown a small{font-weight:500; font-size:12px; color:rgba(243,239,228,0.55); letter-spacing:0;}
  .dropdown a:hover small{color:rgba(242,102,27,0.75);}

  .nav-cta{
    background:var(--orange); color:#141a16; padding:10px 20px; border-radius:3px;
    font-weight:700; font-size:14px; transition:background .2s, transform .2s;
    white-space:nowrap;
  }
  .nav-cta:hover{background:var(--ember); transform:translateY(-1px);}
  @media (max-width:900px){
    .nav-links{display:none;}
    .nav-cta{padding:9px 16px; font-size:13px;}
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:flex-end;
    padding-bottom:70px;
    isolation:isolate;
  }
  .hero-bg{
    position:absolute; inset:0; z-index:-2;
    background-image:url('images/forno-aviario.jpg');
    background-size:cover;
    background-position:center 65%;
  }
  .hero-scrim{
    position:absolute; inset:0; z-index:-1;
    background:
      linear-gradient(180deg, rgba(10,13,11,0.55) 0%, rgba(10,13,11,0.35) 30%, rgba(10,13,11,0.92) 88%, #0e1310 100%),
      linear-gradient(90deg, rgba(10,13,11,0.75) 0%, rgba(10,13,11,0.15) 55%);
  }
  .hero-inner{
    width:100%;
    max-width:var(--max);
    margin:0 auto;
    padding:0 24px;
    display:grid;
    grid-template-columns:1.3fr 0.9fr;
    gap:48px;
    align-items:end;
    padding-top:154px;
  }
  @media (max-width:860px){
    .hero-inner{grid-template-columns:1fr; padding-top:112px; gap:28px;}
    .hero{padding-bottom:48px;}
    .gauge-num{font-size:38px;}
  }
  .hero h1{
    font-size:clamp(38px, 5.6vw, 72px);
    margin-bottom:22px;
    max-width:780px;
  }
  .hero h1 .accent{color:var(--orange);}
  .hero p.sub{
    font-size:18px;
    max-width:520px;
    color:rgba(243,239,228,0.82);
    margin-bottom:32px;
  }
  .cta-row{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:15px 26px;
    font-weight:700; font-size:15px;
    border-radius:3px;
    transition:all .2s ease;
    border:1.5px solid transparent;
    cursor:pointer;
  }
  .btn-primary{background:var(--orange); color:#141a16;}
  .btn-primary:hover{background:var(--ember); transform:translateY(-2px); box-shadow:0 10px 24px -8px rgba(255,69,32,.55);}
  .btn-ghost{border-color:rgba(243,239,228,0.35); color:var(--cream);}
  .btn-ghost:hover{border-color:var(--cream); background:rgba(243,239,228,0.06);}

  /* ---- gauge signature element ---- */
  .gauge-card{
    background:rgba(14,19,16,0.72);
    border:1px solid var(--steel-line);
    border-radius:6px;
    padding:26px 24px 22px;
    backdrop-filter:blur(6px);
  }
  .gauge-top{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px;}
  .gauge-label{font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:rgba(243,239,228,0.6);}
  .gauge-time{font-family:'IBM Plex Mono'; font-size:11.5px; color:var(--orange); letter-spacing:.1em;}
  .gauge-track{
    position:relative;
    height:14px;
    border-radius:7px;
    background:rgba(243,239,228,0.08);
    overflow:hidden;
    margin-bottom:16px;
    border:1px solid var(--steel-line);
  }
  .gauge-fill{
    position:absolute; left:0; top:0; bottom:0; width:0%;
    background:linear-gradient(90deg, var(--green-bright), var(--orange) 65%, var(--ember));
    border-radius:7px;
    transition:width 1.6s cubic-bezier(.16,.9,.22,1);
  }
  .gauge-readout{
    display:flex; align-items:baseline; gap:8px;
  }
  .gauge-num{font-family:'IBM Plex Mono'; font-weight:600; font-size:46px; color:var(--cream); font-variant-numeric:tabular-nums;}
  .gauge-unit{font-family:'IBM Plex Mono'; font-size:18px; color:rgba(243,239,228,0.55);}
  .gauge-foot{margin-top:10px; font-size:13.5px; color:rgba(243,239,228,0.6);}

  /* ---------- page switching (tab-style sections) ---------- */
  .page{display:none;}
  .page.active{display:block; animation:pageIn .5s ease;}
  @keyframes pageIn{from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:translateY(0);}}
  @media (prefers-reduced-motion: reduce){.page.active{animation:none;}}

  section{padding:110px 0; position:relative; scroll-margin-top:104px;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(28px,3.6vw,44px); margin-bottom:16px;}
  .section-head p{color:rgba(243,239,228,0.68); font-size:16.5px;}

  /* ---------- história ---------- */
  .historia{
    background:var(--bg-alt);
    border-top:1px solid var(--steel-line);
    border-bottom:1px solid var(--steel-line);
  }
  .historia-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
  }
  .historia-text p{margin-bottom:18px; color:rgba(243,239,228,0.82); font-size:16px;}
  .historia-text p:first-of-type{font-size:19px; color:var(--cream); font-weight:500;}
  .historia-photo{position:relative; border-radius:6px; overflow:hidden; border:1px solid var(--steel-line);}
  .historia-photo img{filter:saturate(1.05) contrast(1.03);}
  .stat-strip{
    display:grid; grid-template-columns:1fr 1fr; gap:1px;
    background:var(--steel-line);
    margin-top:36px;
    border:1px solid var(--steel-line);
    border-radius:6px;
    overflow:hidden;
  }
  .stat{background:var(--bg-alt); padding:20px 22px;}
  .stat .n{font-family:'Anton'; font-size:30px; color:var(--orange); display:block;}
  .stat .l{font-size:12.5px; color:rgba(243,239,228,0.6); text-transform:uppercase; letter-spacing:.06em; margin-top:4px;}

  /* ---------- diferenciais ---------- */
  .dif-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--steel-line); border:1px solid var(--steel-line); border-radius:6px; overflow:hidden;}
  .dif-card{background:var(--bg); padding:32px 26px; transition:background .25s;}
  .dif-card:hover{background:var(--bg-alt);}
  .dif-icon{width:40px; height:40px; margin-bottom:20px; color:var(--orange);}
  .dif-card h3{font-family:'Inter'; font-weight:700; text-transform:none; font-size:17px; margin-bottom:10px; letter-spacing:0;}
  .dif-card p{font-size:14.5px; color:rgba(243,239,228,0.65);}
  @media (max-width:900px){.dif-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.dif-grid{grid-template-columns:1fr;}}

  /* ---------- modelos ---------- */
  .modelos{background:var(--bg-alt); border-top:1px solid var(--steel-line); border-bottom:1px solid var(--steel-line);}
  .model-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
  @media (max-width:760px){.model-grid{grid-template-columns:1fr;}}
  .model-card{
    border:1px solid var(--steel-line); border-radius:8px; padding:36px 32px;
    background:linear-gradient(160deg, rgba(31,92,61,0.14), transparent 55%), var(--bg);
    display:flex; flex-direction:column;
  }
  .model-card.model-alt{background:linear-gradient(160deg, rgba(242,102,27,0.13), transparent 55%), var(--bg);}
  .model-tag{font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:.14em; color:var(--green-bright); text-transform:uppercase;}
  .model-alt .model-tag{color:var(--orange);}
  .model-card h3{font-size:34px; margin:10px 0 4px;}
  .model-cap{font-size:15px; color:rgba(243,239,228,0.65); margin-bottom:26px;}
  .model-specs{list-style:none; margin-bottom:28px; flex-grow:1;}
  .model-specs li{
    display:flex; justify-content:space-between; gap:16px;
    padding:12px 0; border-top:1px solid var(--steel-line);
    font-size:14.5px;
  }
  .model-specs li span:first-child{color:rgba(243,239,228,0.6);}
  .model-specs li span:last-child{font-family:'IBM Plex Mono'; font-weight:600; text-align:right;}
  .model-card .btn{justify-content:center; width:100%;}

  /* ---------- galeria ---------- */
  .galeria-grid{display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:auto auto; gap:16px;}
  .galeria-grid figure{border-radius:6px; overflow:hidden; border:1px solid var(--steel-line); position:relative;}
  .galeria-grid img, .galeria-grid video{width:100%; height:100%; object-fit:cover; display:block;}
  .g-big{grid-row:span 2;}
  figcaption{
    position:absolute; left:0; right:0; bottom:0;
    padding:16px 18px;
    background:linear-gradient(0deg, rgba(10,13,11,0.85), transparent);
    font-size:13.5px; font-family:'IBM Plex Mono'; letter-spacing:.04em;
  }
  @media (max-width:800px){.galeria-grid{grid-template-columns:1fr;} .g-big{grid-row:auto;}}

  /* ---------- calculadora ---------- */
  .calc{
    background:var(--bg-alt); border-top:1px solid var(--steel-line); border-bottom:1px solid var(--steel-line);
  }
  .calc-box{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:0;
    border:1px solid var(--steel-line); border-radius:8px; overflow:hidden;
  }
  .calc-info{padding:44px 40px; background:var(--bg);}
  .calc-info p{color:rgba(243,239,228,0.7); font-size:15.5px; margin:16px 0 26px;}
  .calc-frame{background:#fff; min-height:420px; position:relative;}
  .calc-frame iframe{width:100%; height:100%; min-height:420px; border:0; display:block;}
  @media (max-width:820px){.calc-box{grid-template-columns:1fr;}}

  /* ---------- equipe ---------- */
  .member{text-align:center;}
  .avatar-wrap{
    width:148px; height:148px; margin:0 auto 20px; position:relative;
  }
  .member.featured .avatar-wrap{width:196px; height:196px;}
  .member.featured h3{font-size:21px;}
  .member.featured .role{color:var(--orange); font-weight:600;}
  .member.featured .avatar-ring{border-color:rgba(242,102,27,0.5); border-width:4px;}
  .avatar-ring{
    width:100%; height:100%; border-radius:50%; overflow:hidden;
    border:3px solid var(--steel-line);
    transition:border-color .25s, transform .25s;
  }
  .avatar-ring img{width:100%; height:100%; object-fit:cover;}
  .member a.card-link{display:block;}
  .member a.card-link:hover .avatar-ring{border-color:var(--orange); transform:scale(1.04);}
  .member h3{font-family:'Inter'; font-weight:700; font-size:17px; text-transform:none; letter-spacing:0; margin-bottom:4px;}
  .member .role{font-size:13.5px; color:rgba(243,239,228,0.6); margin-bottom:12px; min-height:34px;}
  .wa-btn{
    display:inline-flex; align-items:center; gap:6px;
    font-size:13px; font-weight:600; color:var(--green-bright);
    border:1px solid rgba(47,138,92,0.4); padding:7px 14px; border-radius:20px;
    transition:all .2s;
  }
  .member a.card-link:hover .wa-btn{background:var(--green-bright); color:#0e1310; border-color:var(--green-bright);}
  .equipe-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-template-rows:repeat(3,auto);
    gap:36px 24px;
    align-items:center;
    justify-items:center;
    max-width:820px;
    margin:0 auto;
  }
  .equipe-grid > .member:nth-child(1){grid-column:1; grid-row:1;}
  .equipe-grid > .member:nth-child(2){grid-column:3; grid-row:1;}
  .equipe-grid > .member:nth-child(3){grid-column:1; grid-row:3;}
  .equipe-grid > .member.featured{grid-column:2; grid-row:2;}
  .equipe-grid > .member:nth-child(5){grid-column:3; grid-row:3;}
  @media (max-width:1100px){.equipe-grid{grid-template-columns:repeat(3,1fr);}}
  @media (max-width:640px){
    .equipe-grid{grid-template-columns:1fr 1fr; grid-template-rows:none; row-gap:44px; max-width:480px;}
    .equipe-grid > .member{grid-column:auto !important; grid-row:auto !important;}
    .equipe-grid > .member.featured{grid-column:1 / span 2 !important; order:-1;}
  }
  @media (max-width:420px){
    .equipe-grid{grid-template-columns:1fr;}
    .equipe-grid > .member.featured{grid-column:1 !important; order:-1;}
  }

  /* ---------- footer ---------- */
  footer{padding:56px 0 40px;}
  .footer-top{
    display:flex; justify-content:space-between; align-items:center; gap:32px;
    padding-bottom:36px; border-bottom:1px solid var(--steel-line); margin-bottom:28px;
    flex-wrap:wrap;
  }
  .footer-logos{display:flex; align-items:center; gap:36px; flex-wrap:wrap;}
  .footer-logos img{height:88px; width:auto; opacity:.96;}
  @media (max-width:600px){.footer-logos img{height:64px;}}
  .footer-cta{display:flex; gap:14px;}
  .footer-bottom{display:flex; justify-content:space-between; color:rgba(243,239,228,0.45); font-size:13px; flex-wrap:wrap; gap:10px;}

  /* generic svg icon reset */
  svg{display:block;}

  /* ---------- mobile menu (três pontinhos) ---------- */
  @media (max-width:900px){
    .burger{display:flex;}
  }
  .menu-panel{
    position:fixed;
    top:70px; right:16px;
    z-index:70;
    background:var(--bg-alt);
    border:1px solid var(--steel-line);
    border-radius:8px;
    padding:8px;
    min-width:210px;
    display:flex; flex-direction:column;
    box-shadow:0 20px 40px -16px rgba(0,0,0,0.6);
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-panel.open{opacity:1; visibility:visible; transform:translateY(0);}
  .menu-panel a{
    padding:13px 16px; border-radius:5px;
    font-weight:600; font-size:14.5px; color:var(--cream);
    transition:background .15s, color .15s;
  }
  .menu-panel a:hover, .menu-panel a.active{background:rgba(242,102,27,0.12); color:var(--orange);}
  .menu-backdrop{
    display:none; position:fixed; inset:0; z-index:65;
    background:rgba(8,10,9,0.55);
    opacity:0; transition:opacity .2s ease;
  }
  .menu-backdrop.open{display:block; opacity:1;}
  @media (min-width:901px){.menu-panel, .menu-backdrop{display:none !important;}}