:root{--yellow:#fed702;--ink:#111;--muted:#3f3f3f;--soft:#f1f1ef;--line:#d8d8d4}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#e9e9e7;font-family:Montserrat,Arial,sans-serif;color:var(--ink);overflow-x:hidden}
img{display:block;max-width:100%}
button,a{font:inherit}
a{color:inherit;text-decoration:none}
.site{width:min(1280px,100%);margin:auto;background:#fff;overflow:hidden;box-shadow:0 0 0 1px #ddd}
.container{width:1070px;max-width:calc(100% - 60px);margin:auto}

@font-face{font-family:Montserrat;font-style:normal;font-weight:400;font-display:swap;src:url("fonts/montserrat-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:Montserrat;font-style:italic;font-weight:400;font-display:swap;src:url("fonts/montserrat-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:500;font-display:swap;src:url("fonts/montserrat-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:600;font-display:swap;src:url("fonts/montserrat-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:700;font-display:swap;src:url("fonts/montserrat-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:Montserrat;font-style:normal;font-weight:800;font-display:swap;src:url("fonts/montserrat-latin-800-normal.woff2") format("woff2")}

/* ===== Header ===== */
.header{height:96px;display:flex;align-items:center;justify-content:space-between;padding:0 104px;background:#fff}
.header-brand{width:138px;height:36px;display:block}
.header-brand img{width:138px;height:36px;object-fit:contain}
.header-social{display:flex;gap:18px;align-items:center}
.header-social img{width:24px;height:24px;object-fit:contain}

/* ===== Slider base (hero / panoramas) ===== */
.slider{position:relative;overflow:hidden}
.track{display:flex;transition:transform .6s cubic-bezier(.65,0,.35,1)}
.slide{flex:0 0 100%}
.navbtn{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:30px;height:30px;border:0;background:transparent;cursor:pointer;padding:0}
.navbtn.prev{left:24px}.navbtn.next{right:24px}
.navbtn.next img{transform:rotate(180deg)}
.navbtn img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}

/* ===== Hero ===== */
.hero{height:477px;background:#111}
.hero .slide img{width:100%;height:477px;object-fit:cover}

/* ===== Hero intro ===== */
.hero-intro{position:relative;padding:44px 0 34px;background:#fff;text-align:center}
.hero-intro h1{margin:0 auto 16px;font-size:24px;line-height:1.4;font-weight:600;max-width:820px;text-transform:uppercase}
.hero-intro h1 strong{font-weight:800}
.hero-intro .lead{margin:0 auto 24px;font-size:14.5px;line-height:1.7;color:var(--muted);max-width:760px}

.wa-badge{position:absolute;top:44px;right:104px;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:14px;background:linear-gradient(135deg,#1fb35a,#0a8f3f);color:#fff}
.wa-float{position:fixed;right:24px;bottom:24px;width:58px;height:58px;border-radius:50%;background:#0aae35;display:grid;place-items:center;z-index:1000;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.wa-float svg{width:31px;height:31px;fill:#fff}
.wa-badge svg{width:26px;height:26px;fill:#fff}

.btn{display:inline-flex;align-items:center;gap:12px;height:50px;padding:0 8px 0 22px;border:5px solid #e1e0de;border-radius:100px;background:var(--yellow);font-size:13px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#000;white-space:nowrap}
.btn .circle{width:22px;height:22px;border-radius:50%;background:#000;color:var(--yellow);display:flex;align-items:center;justify-content:center;font-size:13px;flex:none}

/* ===== Stats ===== */
.stats{padding:26px 0 50px;background:#fff;border-top:1px solid var(--line)}
.stats .row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stat{height:105px;border:1px solid var(--yellow);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;background:#fff}
.stat:before{content:"";position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:80px;height:10px;background:var(--yellow);border-radius:100px}
.stat strong{font-size:28px;line-height:1;font-weight:800}
.stat span{font-size:12.5px;margin-top:6px;color:var(--muted)}

/* ===== Value ===== */
.value{padding:20px 0 56px;background:#fff}
.value .row{display:flex;gap:56px;align-items:center}
.value-copy{order:1;flex:1}
.value-images{order:2;position:relative;width:460px;flex:none;height:320px}
.value-images .back{position:absolute;left:0;top:20px;width:62%;height:270px;object-fit:cover;border-radius:16px}
.value-images .front{position:absolute;right:0;top:0;width:56%;height:230px;object-fit:cover;border-radius:16px;box-shadow:0 20px 40px rgba(0,0,0,.18)}
.value-copy h2{margin:0 0 16px;font-size:22px;line-height:1.5;font-weight:600;text-transform:uppercase}
.value-copy h2 strong{font-weight:800}
.value-copy p{margin:0 0 22px;font-size:14.5px;line-height:1.7;color:var(--muted);max-width:420px}

/* ===== Stats ===== */
.stats{padding:0 0 56px;background:#fff}
.stats .row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.stat{height:111px;border:1px solid var(--yellow);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;background:#fff}
.stat:before{content:"";position:absolute;top:-6px;left:50%;transform:translateX(-50%);width:93px;height:12px;background:var(--yellow);border-radius:100px}
.stat strong{font-size:32px;line-height:1;font-weight:800}
.stat span{font-size:13px;margin-top:6px;color:var(--muted)}

/* ===== Logo carousel (reused 1:1 from GDesign LP) ===== */
.logo-section{position:relative;background:#fff;padding:20px 0 40px;overflow:hidden}
.logo-viewport{width:1070px;max-width:100%;margin:auto;overflow:hidden}
.logo-track{display:flex;transition:transform .55s cubic-bezier(.65,0,.35,1)}
.logo-page{flex:0 0 100%;display:grid;grid-template-columns:repeat(8,1fr);grid-auto-rows:90px;gap:7px;align-items:center;justify-items:center}
.logo-page.page-secondary{grid-template-columns:repeat(5,1fr);grid-auto-rows:112px}
.logo-cell img{max-width:100px;max-height:60px;object-fit:contain}
.logo-page.page-secondary .logo-cell img{max-width:180px;max-height:100px}
.logo-arrow{position:absolute;top:50%;transform:translateY(-50%);width:29px;height:29px;border:0;background:transparent;cursor:pointer;padding:0}
.logo-arrow.prev{left:20px}.logo-arrow.next{right:20px}
.logo-arrow img{width:100%}
.logo-arrow.next img{transform:rotate(180deg)}

/* ===== Panorama (full-bleed photo slider, no copy) ===== */
.panorama{height:460px;background:#111;overflow:hidden}
.panorama .slide img{width:100%;height:460px;object-fit:cover}

/* ===== Section title ===== */
.section-title{text-align:center;font-size:20px;font-weight:600;text-transform:uppercase;margin:0 0 8px}
.section-title strong{font-weight:800}

/* ===== Steps ("como trabalhamos") ===== */
.steps{padding:60px 0 20px;background:#fff}
.steps .row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:36px}
.step{position:relative;background:var(--soft);border-radius:16px;padding:32px 20px 22px;text-align:left}
.step-num{position:absolute;top:-18px;left:20px;width:36px;height:36px;border-radius:50%;background:var(--yellow);color:#000;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center}
.step h3{font-size:14.5px;font-weight:800;margin:0 0 8px}
.step p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}

/* ===== Benefits grid ===== */
.benefits{padding:56px 0 46px;background:var(--soft)}
.benefits .row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:34px}
.benefit-card{border:1.5px solid var(--yellow);border-radius:16px;background:#fff;padding:26px 20px;position:relative}
.benefit-card:before{content:"";position:absolute;top:-6px;left:22px;width:60px;height:8px;background:var(--yellow);border-radius:100px}
.benefit-card strong{font-weight:800;font-size:13.5px}
.benefit-card p{display:inline;margin:0;font-size:13.5px;line-height:1.7;color:var(--muted)}
.benefits .cta{text-align:center}

/* ===== Impact / video block ===== */
.impact{padding:50px 0 20px;background:#fff;text-align:center}
.impact .cta-top{margin-bottom:28px}
.video-card{position:relative;max-width:900px;margin:0 auto 30px;border-radius:20px;overflow:hidden;display:block}
.video-card img{width:100%;display:block;object-fit:cover}
.video-card .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;border-radius:50%;background:rgba(254,215,2,.95);color:#000;display:flex;align-items:center;justify-content:center;font-size:22px}
.impact h2{max-width:640px;font-size:20px;line-height:1.5;font-weight:600;margin:0 auto 8px}
.impact h2 strong{font-weight:800}
.impact .sub{max-width:560px;margin:0 auto;font-size:13.5px;color:var(--muted);line-height:1.6}

/* ===== Cases (reused 1:1 from GDesign LP) ===== */
.cases{background:#fff;padding:50px 0 60px}
.case-viewport{position:relative;width:1280px;max-width:100%;margin:auto;overflow:hidden}
.case-track{display:flex;transition:transform .6s cubic-bezier(.65,0,.35,1)}
.case-slide{flex:0 0 100%;display:grid;grid-template-columns:320px 567px;justify-content:center;gap:37px;padding:0 68px;align-items:start}
.case-copy{padding-top:4px}
.case-logo{width:150px;height:72px;object-fit:contain;object-position:left center;margin:0 0 20px}
.case-copy p{font-size:14px;line-height:1.85;max-width:320px;margin:0}
.case-main{width:567px;height:306px;object-fit:cover;border-radius:16px}
.case-thumbs{grid-column:1/-1;display:grid;grid-template-columns:348px repeat(3,1fr);gap:10px;margin-top:10px}
.case-thumbs.case-thumbs-2{grid-template-columns:348px 1fr}
.case-thumbs img{width:100%;height:171px;object-fit:cover;border-radius:12px}
.cases .cta{text-align:center;margin-top:30px}

/* ===== Ecosystem ===== */
.ecosystem{min-height:830px;display:flex;flex-direction:column;justify-content:center;padding:90px 20px;background:linear-gradient(rgba(0,0,0,.74),rgba(0,0,0,.74)),url('img/previa-27-2.png') center/cover;color:#fff;text-align:center}
.ecosystem .badge{width:182px;margin:0 auto 45px}
.ecosystem .eyebrow{max-width:830px;margin:0 auto 38px;font-size:26px;font-weight:500;line-height:1.3;text-transform:uppercase}
.ecosystem .copy{max-width:978px;margin:0 auto 44px;font-size:19px;line-height:1.58}
.ecosystem .copy strong{font-weight:800}
.eco-pills{display:grid;grid-template-columns:repeat(5,1fr);gap:22px;max-width:1069px;margin:0 auto 44px}
.eco-pill{height:73px;border:1px solid rgba(255,255,255,.65);border-radius:16px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;font-size:16px;font-weight:700;letter-spacing:.5px;padding:0 8px;text-align:center}
.eco-logos{display:flex;justify-content:center;align-items:center;gap:44px;flex-wrap:wrap}
.eco-logos img{height:34px;width:auto;object-fit:contain}

/* ===== Book ===== */
.book{min-height:830px;display:flex;align-items:center;padding:80px 0;background:#fff}
.book .row{display:flex;gap:60px;align-items:center;width:100%;margin-left:2.3cm}
.book-copy{order:1;flex:1;max-width:427px}
.book img.cover{order:2;width:560px;flex:none;border-radius:0;box-shadow:none;object-fit:cover;height:auto}
.book-copy .eyebrow{display:block;font-size:20px;font-weight:500;margin-bottom:0;text-transform:uppercase;color:#000}
.book-copy h2{font-size:24px;font-weight:800;margin:0 0 25px;text-transform:uppercase;color:#000;line-height:1.25}
.book-copy p{font-size:16px;line-height:2;color:#000;margin:0 0 25px;max-width:361px}

/* ===== Contact ===== */
.contact{position:relative;padding:90px 0;background:#111 url('img/gdesign-tropicool-dubai-r00-18-foto-2.png') center 72%/cover;color:#fff}
.contact:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.84)}
.contact .row{position:relative;display:flex;gap:60px;justify-content:space-between;max-width:1070px;margin:auto}
.contact-copy{max-width:340px;padding-top:20px}
.contact-copy h2{font-size:23px;line-height:1.3;font-weight:500;text-transform:uppercase;margin:0 0 20px}
.contact-copy h2 strong{font-weight:800}
.contact-copy p{font-size:15px;line-height:2.13;margin:0}
.lead-form{width:100%;max-width:535px;background:transparent;border-radius:0;padding:0}
.lead-form label{display:block;font-size:12px;font-weight:600;margin:12px 0 4px}
.lead-form input,.lead-form textarea,.lead-form select{width:100%;border-radius:5px;border:1px solid #d9d9d9;padding:8px 10px;font-size:13px;font-family:inherit;background:#fff;color:#444}
.lead-form textarea{min-height:64px;resize:vertical}
.lead-form fieldset{border:0;padding:0;margin:12px 0}
.lead-form legend{font-size:12px;font-weight:700;margin-bottom:6px;padding:0}
.lead-form .opt{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;margin:4px 0}
.lead-form .opt input{width:auto;flex:none;margin-top:3px}
.lead-form .fine{font-size:11px;line-height:1.5;opacity:.85;margin-top:10px}
.lead-form .btn{width:100%;justify-content:center;margin-top:16px}

/* ===== Footer ===== */
.footer{background:#111;color:#fff;padding:34px 105px;display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:20px;flex-wrap:wrap}
.footer-follow{margin:0;max-width:230px;font-size:12px;line-height:1.4}
.footer-social{display:flex;gap:14px;align-items:center}
.footer-social img{width:26px;height:26px;object-fit:contain}
.footer-gdesign{height:30px;object-fit:contain}
.footer-group{display:flex;align-items:center;gap:14px;font-size:12px;max-width:340px}
.footer-group img{height:31px;object-fit:contain}

/* ===================== Mobile ===================== */
@media(max-width:820px){
  .container{max-width:calc(100% - 40px)}

  /* Header */
  .header{height:72px;padding:0 20px}
  .header-brand{width:112px;height:30px}
  .header-brand img{width:112px;height:30px}
  .header-social{gap:14px}
  .header-social img{width:20px;height:20px}

  /* Hero slider */
  .hero{height:260px}.hero .slide img{height:260px}
  .navbtn{width:24px;height:24px}
  .navbtn.prev{left:12px}.navbtn.next{right:12px}

  /* Hero intro */
  .hero-intro{padding:36px 0 28px}
  .hero-intro h1{font-size:22px;line-height:1.35}
  .hero-intro .lead{font-size:13.5px}
  .wa-badge{top:14px;right:14px;width:40px;height:40px;border-radius:11px}
  .wa-badge svg{width:20px;height:20px}

  /* CTA buttons: quebram texto em vez de vazar da tela */
  .btn{height:auto;min-height:50px;padding:11px 8px 11px 18px;font-size:11.5px;letter-spacing:.7px;white-space:normal;text-align:left;line-height:1.3}
  .btn .circle{flex:none}

  /* Stats: altura livre p/ texto quebrado em 2 colunas */
  .stats .row{grid-template-columns:1fr 1fr;gap:10px}
  .stat{height:auto;min-height:112px;padding:16px 10px}
  .stat strong{font-size:24px}
  .stat span{font-size:11.5px}

  /* Value */
  .value .row{flex-direction:column;gap:32px}
  .value-images{width:100%;max-width:400px;height:280px;margin:0 auto}
  .value-copy h2{font-size:19px}

  /* Logo carousel */
  .logo-page{grid-template-columns:repeat(4,1fr);grid-auto-rows:70px}
  .logo-page.page-secondary{grid-template-columns:repeat(3,1fr)}
  .logo-cell img{max-width:80px;max-height:46px}
  .logo-page.page-secondary .logo-cell img{max-width:100px;max-height:58px}
  .logo-arrow{width:22px;height:22px}
  .logo-arrow.prev{left:8px}.logo-arrow.next{right:8px}

  /* Panorama full-bleed: reduz altura para não dominar a tela */
  .panorama{height:220px}
  .panorama .slide img{width:100%;height:220px;object-fit:cover}

  .section-title{font-size:18px}

  /* Steps / benefits */
  .steps{padding:44px 0 12px}
  .steps .row,.benefits .row{grid-template-columns:1fr 1fr;gap:16px}
  .benefits{padding:40px 0 34px}

  /* Impact */
  .impact{padding:36px 0 16px}
  .impact h2{font-size:18px}

  /* Cases */
  .cases{padding:36px 0 44px}
  .case-slide{grid-template-columns:1fr;padding:0 20px;gap:16px}
  .case-main,.case-thumbs{max-width:100%}
  .case-main{height:auto;aspect-ratio:16/10}
  .case-thumbs{grid-template-columns:repeat(4,1fr)}
  .case-thumbs img{height:auto;aspect-ratio:1/1}

  /* Ecosystem */
  .ecosystem{min-height:0;padding:56px 0}
  .ecosystem .badge{width:130px;margin-bottom:26px}
  .ecosystem .eyebrow{font-size:16px;margin-bottom:22px}
  .ecosystem .copy{font-size:14.5px;margin-bottom:34px}
  .eco-pills{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:34px}
  .eco-pill{height:52px;font-size:12px}
  .eco-logos{gap:26px}

  /* Book */
  .book{min-height:0;padding:56px 0}
  .book .row{flex-direction:column;gap:32px;margin-left:0}
  .book img.cover{width:100%;max-width:300px;order:1}
  .book-copy{order:2;max-width:100%}

  /* Contact */
  .contact{padding:44px 0}
  .contact .row{flex-direction:column;gap:28px}
  .contact-copy{max-width:100%;padding-top:0}
  .contact-copy h2{font-size:19px}
  .lead-form{max-width:100%;padding:0}

  /* Footer */
  .footer{padding:26px 20px;justify-content:center;text-align:center;gap:16px}
  .footer-follow,.footer-group{max-width:100%}
}

@media(max-width:480px){
  .hero{height:210px}.hero .slide img{height:210px}
  .hero-intro h1{font-size:19px}
  .stats .row{grid-template-columns:1fr}
  .stat{min-height:96px}
  .logo-page{grid-template-columns:repeat(3,1fr)}
  .logo-page.page-secondary{grid-template-columns:repeat(2,1fr)}
  .steps .row,.benefits .row{grid-template-columns:1fr}
  .eco-pills{grid-template-columns:1fr}
  .panorama{height:180px}.panorama .slide img{width:100%;height:180px;object-fit:cover}
}

/* ===== Video modal (player embutido, com autoplay, sem sair da LP) ===== */
.video-card{border:0;background:transparent;padding:0;cursor:pointer;display:block}
.video-modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:20px}
.video-modal.is-open{display:flex}
.video-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.85)}
.video-modal-box{position:relative;width:min(920px,100%);aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.video-modal-frame{position:absolute;inset:0}
.video-modal-frame iframe{width:100%;height:100%;border:0;display:block}
.video-modal-close{position:absolute;top:-42px;right:0;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#000;font-size:22px;line-height:1;cursor:pointer;z-index:2}
@media(max-width:600px){
  .video-modal-close{top:auto;bottom:calc(100% - 20px);right:0}
}

/* ==================================================
   Formulário RD Station: contenção de largura no mobile
   O RD Station renderiza seus próprios campos com largura
   fixa própria (maior que a tela), o que pode empurrar o
   card inteiro para fora do centro, cortado na lateral.
   Força todo o conteúdo injetado a respeitar 100% da
   largura disponível.
   ================================================== */
@media(max-width:820px){
  .lead-form{overflow-x:hidden;box-sizing:border-box}
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e{width:100%!important;max-width:100%!important}
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e *{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e input,
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e select,
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e textarea,
  #form-gdesign-lp-corporativa-d037f634d316e4a16d5e button{
    width:100%!important;
  }
}
