/* Ernesto Landing Plugin — scoped styles */
.ernesto-plugin{box-sizing:border-box;background:#020608;color:#f5f5f3;font-family:Arial,Helvetica,sans-serif;}
.ernesto-plugin *,.ernesto-plugin *::before,.ernesto-plugin *::after{box-sizing:border-box;}
.ernesto-plugin a{text-decoration:none;color:inherit;}
.ernesto-plugin *{box-sizing:border-box}

.ernesto-plugin body{
  background:#020608;
  color:#f5f5f3;
  font-family:Arial,Helvetica,sans-serif;
}
.ernesto-plugin a{text-decoration:none;color:inherit}
.ernesto-plugin .landing{
  min-height:100vh;
  overflow:visible;
  background:
    radial-gradient(circle at 72% 15%,rgba(29,45,57,.28),transparent 30%),
    linear-gradient(#030609,#020608 78%,#05080a);
}
.ernesto-plugin .header,.ernesto-plugin .destinations,.ernesto-plugin .social,.ernesto-plugin footer{
  width:min(940px,calc(100% - 48px));
  margin:auto;
}
.ernesto-plugin .header{
  height:100px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.ernesto-plugin .brand{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;letter-spacing:2px;line-height:1.05}
.ernesto-plugin .brand-logo{display:block;width:58px;height:58px;object-fit:contain}
.ernesto-plugin .motto{display:flex;gap:10px;font-size:9px;line-height:1.4;letter-spacing:2px;color:#aaa}
.ernesto-plugin .motto span{width:2px;background:#e7b84e}
.ernesto-plugin .welcome{font-size:13px;letter-spacing:6px}
.ernesto-plugin h1{font-size:58px;line-height:.9;margin:12px 0 15px;font-weight:900;letter-spacing:1px}
.ernesto-plugin h1 strong{color:#e8b94d}
.ernesto-plugin .roles{font-size:14px;line-height:1.7;margin:0}
.ernesto-plugin .roles b{color:#999}
.ernesto-plugin .description{font-size:14px;line-height:1.55;color:#c4c8ca;margin:18px 0}
.ernesto-plugin .line{height:3px;width:62px;background:#e8b94d;margin-bottom:18px}
.ernesto-plugin .choose{font-size:10px;letter-spacing:5px;color:#a4a8aa}
.ernesto-plugin .down{font-size:34px;margin-left:120px;line-height:.5}

.ernesto-plugin .destinations{display:grid;gap:13px}
.ernesto-plugin .destination{
  min-height:150px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:20px;
  padding:0 18px;
  display:grid;
  grid-template-columns:135px 1fr 300px 50px;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:#071016;
}
.ernesto-plugin .destination:before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(90deg,rgba(5,12,17,.98),rgba(5,12,17,.72),rgba(5,12,17,.25));
}
.ernesto-plugin .destination>*{position:relative;z-index:1}
.ernesto-plugin .destination:after{
  content:"";position:absolute;right:-80px;top:-100px;
  width:420px;height:260px;transform:rotate(-9deg);
}
.ernesto-plugin .blue:after{background:#005eff}.ernesto-plugin .green:after{background:#00b981}
.ernesto-plugin .gold:after{background:#b77b14}.ernesto-plugin .purple:after{background:#6d28df}
.ernesto-plugin .destination-logo{font-size:40px;font-weight:900;color:#1684ff;padding-left:15px}
.ernesto-plugin .green .destination-logo{color:#00d091}
.ernesto-plugin .gold .destination-logo{color:#efc15b}
.ernesto-plugin .purple .destination-logo{color:#8c50ff}
.ernesto-plugin .destination-info h2{font-size:18px;margin:0 0 7px;letter-spacing:1px}
.ernesto-plugin .destination-info p{font-size:12px;line-height:1.45;color:#b9bec1;margin:0}
.ernesto-plugin .preview{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  overflow:visible;
}

/* Laptop mockup (NOA ENTHON / SERVIÇOS DIGITAIS) */
.ernesto-plugin .laptop{width:225px;transform:rotate(-3deg);margin-right:-18px}
.ernesto-plugin .laptop-screen{
  width:225px;min-height:132px;
  background:linear-gradient(160deg,#0c2c52,#0a1c37 65%,#081120);
  border:7px solid #14181c;border-bottom:none;
  border-radius:10px 10px 3px 3px;
  padding:14px 16px 12px;
  display:flex;flex-direction:column;justify-content:center;gap:7px;
  box-shadow:-14px 22px 34px rgba(0,0,0,.55);
}
.ernesto-plugin .laptop-screen .tag{font-size:7px;letter-spacing:2px;color:#6eb2ff;text-transform:uppercase}
.ernesto-plugin .laptop-screen strong{font-size:12.5px;line-height:1.32;color:#fff;font-weight:700}
.ernesto-plugin .laptop-screen .btn{
  align-self:flex-start;margin-top:2px;font-size:7px;letter-spacing:.5px;
  padding:5px 12px;border-radius:20px;background:#1684ff;color:#fff;font-weight:700;
}
.ernesto-plugin .laptop-base{
  width:100%;height:9px;
  background:linear-gradient(#2b3136,#15181b);
  border-radius:0 0 7px 7px;
  box-shadow:0 6px 14px rgba(0,0,0,.5);
}

.ernesto-plugin .gold-device .laptop-screen{background:linear-gradient(160deg,#3a2a0c,#241a08 65%,#140e04)}
.ernesto-plugin .gold-device .laptop-screen .tag{color:#ffd36a}
.ernesto-plugin .gold-device .laptop-screen .btn{background:#b77b14}

/* Phone mockup (NOA COMMERCE) */
.ernesto-plugin .phone{
  width:132px;height:225px;
  background:#14181c;border-radius:24px;padding:8px;
  transform:rotate(-2deg);
  box-shadow:-14px 22px 30px rgba(0,0,0,.55);
  position:relative;margin-right:-4px;
}
.ernesto-plugin .phone-notch{
  position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:38px;height:6px;border-radius:6px;background:#14181c;z-index:2;
}
.ernesto-plugin .phone-screen{
  width:100%;height:100%;border-radius:17px;
  background:linear-gradient(165deg,#063b2a,#0a5a41 60%,#0c7a54);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:14px;text-align:center;
}
.ernesto-plugin .phone-screen strong{font-size:11.5px;color:#fff;line-height:1.32;font-weight:700}
.ernesto-plugin .coins{display:flex;gap:6px}
.ernesto-plugin .coin{
  width:18px;height:18px;border-radius:50%;background:#ffd36a;color:#5a4008;
  font-size:9px;font-weight:900;display:flex;align-items:center;justify-content:center;
}

.ernesto-plugin .coming{align-items:center;gap:6px;font-size:25px;background:#11131a;height:95px;border:4px solid #111b22;border-radius:9px;justify-content:center;flex-direction:column;width:135px;margin-left:auto}
.ernesto-plugin .coming small{font-size:9px;color:#aaa}
.ernesto-plugin .arrow{
  width:42px;height:42px;border:1px solid #ddd;border-radius:50%;
  display:grid;place-items:center;font-size:23px
}
.ernesto-plugin .social{text-align:center;padding:28px 0 30px}
.ernesto-plugin .social-title{font-size:10px;letter-spacing:4px;color:#a4a8aa;margin:0 0 16px;line-height:1.2}
.ernesto-plugin .socials .badge{
  width:64px;height:64px;border-radius:17px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 20px rgba(0,0,0,.45);
}

.ernesto-plugin .badge.youtube-badge{background:#ff0000}
.ernesto-plugin .badge.instagram-badge{background:linear-gradient(135deg,#f9ce34,#ee2a7b 55%,#6228d7)}
.ernesto-plugin .badge.whatsapp-badge{background:#25d366}
.ernesto-plugin .badge.linkedin-badge{background:#0a66c2}
.ernesto-plugin .badge.email-badge{background:linear-gradient(160deg,#3a4048,#20242b)}
.ernesto-plugin .badge .social-icon{color:#fff}
.ernesto-plugin .footer-banner{
  position:relative;
  width:100%;
  min-height:340px;
  margin-top:10px;
  overflow:hidden;
}
.ernesto-plugin .footer-art{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.ernesto-plugin .footer-content{
  position:relative;
  z-index:2;
  width:min(940px,calc(100% - 48px));
  margin:auto;
  height:100%;
  display:grid;grid-template-columns:1fr 1fr 1fr;
  align-items:end;
  padding-bottom:22px;
  padding-top:220px;
}
.ernesto-plugin .copyright{font-size:9px;color:#c9ccce;line-height:1.5;text-shadow:0 1px 4px rgba(0,0,0,.85)}
.ernesto-plugin .quote{text-align:center;font-family:Georgia,serif;font-style:italic;font-size:18px;text-shadow:0 1px 6px rgba(0,0,0,.85)}
.ernesto-plugin .quote small{display:block;font-family:Arial,sans-serif;font-style:normal;font-size:8px;letter-spacing:4px;color:#ccc;margin-top:10px;text-shadow:0 1px 4px rgba(0,0,0,.85)}
.ernesto-plugin .footer-tags{text-align:right;font-size:9px;color:#c9ccce;text-shadow:0 1px 4px rgba(0,0,0,.85)}
.ernesto-plugin .footer-tags i{display:inline-block;width:25px;height:2px;background:#e8b94d;vertical-align:middle;margin-left:8px}


/* =========================================================
   RESPONSIVIDADE — TABLET + MOBILE
   Desktop original preservado acima.
   ========================================================= */

/* TABLET */

/* SOCIAL — base */
.ernesto-plugin .socials{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
}
.ernesto-plugin .socials a,.ernesto-plugin .socials .social-item{
  width:88px;
  height:88px;
  border:1px solid rgba(150,160,165,.35);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-size:28px;
  color:#f2f2f2;
  background:rgba(8,13,17,.72);
  box-shadow:0 8px 25px rgba(0,0,0,.18);
  transition:all .25s ease;
}
.ernesto-plugin .socials a:hover,.ernesto-plugin .socials .social-item:hover{
  transform:translateY(-4px);
  border-color:#e7b84d;
  box-shadow:0 10px 30px rgba(231,184,78,.15);
}
.ernesto-plugin .socials small{
  font-size:10px;
  color:#d2d5d6;
  letter-spacing:.2px;
}


/* Social icons */
.ernesto-plugin .socials .social-icon{
  width:28px;
  height:28px;
  display:block;
  flex:0 0 28px;
  fill:currentColor;
  stroke:currentColor;
  stroke-width:1.6;
}
.ernesto-plugin .socials .instagram{
  fill:none;
}
.ernesto-plugin .socials .instagram .ig-dot{
  fill:currentColor;
  stroke:none;
}
.ernesto-plugin .socials .whatsapp{
  fill:currentColor;
  stroke:none;
}
.ernesto-plugin .socials .linkedin{
  fill:currentColor;
  stroke:none;
}
.ernesto-plugin .socials .email{
  fill:none;
}


/* HERO — DESKTOP */
.ernesto-plugin .hero{min-height:613px;display:grid;grid-template-columns:52% 48%;align-items:end;position:relative}
.ernesto-plugin .intro{padding:0 0 105px 20px;position:relative;z-index:4}
.ernesto-plugin .photo-area{height:613px;position:relative;overflow:visible}
.ernesto-plugin .photo-area img{position:absolute;left:8px;bottom:0;width:407px;height:613px;max-width:none;object-fit:initial;object-position:initial;z-index:2;display:block}

@media (min-width:761px) and (max-width:1024px){
  .ernesto-plugin .header,.ernesto-plugin .destinations,.ernesto-plugin .social,.ernesto-plugin footer{width:calc(100% - 40px)}
  .ernesto-plugin .header{height:90px}
  .ernesto-plugin h1{font-size:48px}
  .ernesto-plugin .roles{font-size:13px}
  .ernesto-plugin .description{font-size:13px}
  .ernesto-plugin .destination{grid-template-columns:110px 1fr 190px 48px;min-height:112px}
  .ernesto-plugin .preview{height:88px}
  .ernesto-plugin .hero{min-height:560px;grid-template-columns:50% 50%}
  .ernesto-plugin .intro{padding:0 0 75px 12px}
  .ernesto-plugin .photo-area{height:560px}
  
  .ernesto-plugin .photo-area img{left:0;bottom:0;width:360px;height:560px}
}

/* MOBILE — composição do Hero. A altura acompanha a escala real da composição. */
@media (max-width:760px){
  .ernesto-plugin .hero{
    display:grid;
    grid-template-columns:1fr;
    position:relative;
    overflow:hidden;
    padding:0;
  }

  .ernesto-plugin .photo-area{
    grid-column:1;
    grid-row:1;
    position:relative;
    width:100%;
    aspect-ratio:407 / 613;
    height:auto;
    margin:0;
    overflow:hidden;
    pointer-events:none;
    z-index:1;
  }
  .ernesto-plugin .photo-area img{
    position:absolute;
    left:auto;
    right:0;
    bottom:0;
    transform:none;
    width:clamp(220px,64vw,265px);
    height:auto;
    max-width:none;
    max-height:none;
    object-fit:contain;
    object-position:right bottom;
    z-index:1;
  }

  .ernesto-plugin .intro{
    grid-column:1;
    grid-row:1;
    align-self:end;
    position:relative;
    z-index:3;
    width:100%;
    box-sizing:border-box;
    padding:0 clamp(16px,5.5vw,22px) clamp(30px,8vw,38px);
    text-align:left;
  }
  .ernesto-plugin .welcome{
    margin:0;
    padding-left:clamp(4px,1.5vw,7px);
    font-size:10px;
    letter-spacing:5px;
  }
  .ernesto-plugin h1{
    font-size:clamp(39px,11.5vw,46px);
    line-height:.9;
    margin:10px 0 15px;
    letter-spacing:.5px;
  }
  .ernesto-plugin .roles{
    font-size:11px;
    line-height:1.6;
    margin:0;
    width:min(315px,78%);
  }
  .ernesto-plugin .description{
    font-size:12px;
    line-height:1.5;
    margin:15px 0 0;
    width:min(315px,78%);
  }
  .ernesto-plugin .line{
    width:min(220px,58%);
    margin:15px 0 16px;
  }

  .ernesto-plugin .choose-group{
    width:min(220px,58%);
    margin:0;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .ernesto-plugin .choose{
    width:100%;
    margin:0;
    text-align:center;
    font-size:9px;
    letter-spacing:4px;
    line-height:1.5;
  }
  .ernesto-plugin .down{
    margin:5px 0 0;
    font-size:30px;
    line-height:.5;
  }

  /* CARDS — MOBILE
     Composição própria para leitura e toque no telefone.
     Desktop/tablet permanecem intactos.
  */
  .ernesto-plugin .destinations{
    width:calc(100% - 28px);
    display:grid;
    gap:12px;
  }

  .ernesto-plugin .destination{
    min-height:124px;
    padding:16px 13px;
    grid-template-columns:50px minmax(0,1fr) 36px;
    align-items:center;
    border-radius:16px;
  }

  .ernesto-plugin .destination-logo{
    width:50px;
    font-size:27px;
    padding-left:0;
    text-align:center;
    line-height:1;
  }

  .ernesto-plugin .destination-info{
    min-width:0;
    padding:0 4px;
  }

  .ernesto-plugin .destination-info h2{
    font-size:14px;
    line-height:1.15;
    margin:0 0 7px;
    letter-spacing:.7px;
  }

  .ernesto-plugin .destination-info p{
    font-size:9.5px;
    line-height:1.5;
    margin:0;
    max-width:100%;
  }

  .ernesto-plugin .commerce-typewriter{
    max-width:100%;
  }

  .ernesto-plugin .preview{
    display:none;
  }

  .ernesto-plugin .arrow{
    width:36px;
    height:36px;
    font-size:18px;
    justify-self:end;
  }

  /* FOOTER — MOBILE
     Estrutura própria para leitura vertical.
     Desktop/tablet permanecem intactos.
  */
  .ernesto-plugin .footer-banner{
    min-height:400px;
    height:400px;
    margin-top:18px;
  }

  .ernesto-plugin .footer-content{
    width:calc(100% - 28px);
    height:100%;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    align-items:end;
    justify-items:center;
    gap:22px;
    padding:145px 0 24px;
    text-align:center;
  }

  .ernesto-plugin .copyright{
    font-size:9px;
    line-height:1.55;
    text-align:center;
  }

  .ernesto-plugin .quote{
    font-size:18px;
    line-height:1.25;
    text-align:center;
  }

  .ernesto-plugin .quote small{
    font-size:8px;
    letter-spacing:3px;
    margin-top:9px;
  }

  .ernesto-plugin .footer-tags{
    width:100%;
    font-size:8px;
    line-height:1.7;
    text-align:center;
  }

  .ernesto-plugin .footer-tags i{
    width:20px;
    margin-left:6px;
  }
}

@media (max-width:380px){
  .ernesto-plugin .header,.ernesto-plugin .destinations,.ernesto-plugin .social{width:calc(100% - 22px)}
  .ernesto-plugin .intro{padding-inline:16px;padding-bottom:30px}
  .ernesto-plugin .welcome{padding-left:4px}
  .ernesto-plugin h1{font-size:clamp(37px,11.5vw,42px)}
  .ernesto-plugin .roles{font-size:10px;width:min(290px,78%)}
  .ernesto-plugin .description{font-size:11px;width:min(290px,78%)}
  .ernesto-plugin .line{width:min(205px,58%)}
  .ernesto-plugin .choose-group{width:min(205px,58%)}
  .ernesto-plugin .photo-area img{width:clamp(210px,64vw,245px);right:0}
  .ernesto-plugin .destination{
    min-height:116px;
    grid-template-columns:44px minmax(0,1fr) 32px;
    padding:14px 10px;
    border-radius:15px;
  }
  .ernesto-plugin .destination-logo{width:44px;font-size:24px}
  .ernesto-plugin .destination-info{padding:0 3px}
  .ernesto-plugin .destination-info h2{font-size:13px;letter-spacing:.6px;margin-bottom:6px}
  .ernesto-plugin .destination-info p{font-size:9px;line-height:1.45}
  .ernesto-plugin .arrow{width:32px;height:32px;font-size:17px}
  .ernesto-plugin .socials{gap:5px}
  .ernesto-plugin .socials a,.ernesto-plugin .socials .social-item{height:62px;border-radius:13px}
  .ernesto-plugin .socials .social-icon{width:24px;height:24px;flex-basis:24px}
  .ernesto-plugin .socials small{font-size:7.5px}
  .ernesto-plugin .footer-banner{height:270px}
  .ernesto-plugin .footer-content{padding-top:138px;padding-bottom:72px}
}

