/* ====================================== */
/* terms.css */
/* REDEPESSOAL - ORANGE PREMIUM UI */
/* ====================================== */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{

  --primary: #ff7b00;

  --primary-light: #ff9d3f;

  --secondary: #121212;

  --accent: #ffb067;

  --light: #fff7f0;

  --white: #ffffff;

  --text: #1e293b;

  --muted: #64748b;

  --border: #ffe0c2;

  --danger: #ef4444;

  --success: #22c55e;

  --gradient:
    linear-gradient(135deg,
    #ff7b00,
    #ff9d3f);

  --shadow:
    0 10px 40px rgba(255,123,0,0.10);

  --shadow-hover:
    0 20px 60px rgba(255,123,0,0.18);
}

.container-logo{
  position: absolute;
  top: 7px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container-logo a{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.container-logo a img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Inter', sans-serif;

  background:
    linear-gradient(to bottom,
    #fffaf5,
    #ffffff);

  color: var(--text);

  overflow-x: hidden;
}

.container{
  width: 95%;
  max-width: 1450px;
  margin: auto;
}

/* ====================================== */
/* HERO */
/* ====================================== */

.hero-terms{
  position: relative;

  min-height: 550px;

  display: flex;
  align-items: center;

  background:
    linear-gradient(rgba(15,15,15,0.88),
    rgba(15,15,15,0.92)),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');

  background-size: cover;
  background-position: center;

  overflow: hidden;
}

.hero-overlay{
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right,
    rgba(255,123,0,0.28),
    transparent 35%);
}

.hero-content{
  position: relative;
  z-index: 2;

  padding: 120px 0;
}

/* ====================================== */
/* HERO BADGE */
/* ====================================== */

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 24px;

  border-radius: 999px;

  background:
    rgba(255,123,0,0.15);

  border:
    1px solid rgba(255,160,80,0.22);

  color: #fff3e8;

  margin-bottom: 25px;
}

.hero-content h1{
  font-size: clamp(2.5rem, 5vw, 5rem);

  color: white;

  line-height: 1.1;

  margin-bottom: 25px;

  max-width: 900px;
}

.hero-content p{
  color: rgba(255,255,255,0.85);

  font-size: 1.1rem;

  line-height: 1.9;

  max-width: 900px;
}

/* ====================================== */
/* HERO INFO */
/* ====================================== */

.hero-info{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  margin-top: 40px;
}

.info-card{
  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,160,80,0.15);

  padding: 22px;

  border-radius: 24px;

  min-width: 220px;

  backdrop-filter: blur(12px);
}

.info-card strong{
  display: block;

  color: white;

  margin-bottom: 10px;
}

.info-card span{
  color: rgba(255,255,255,0.75);
}

/* ====================================== */
/* LAYOUT */
/* ====================================== */

.terms-layout{
  display: grid;

  grid-template-columns: 320px 1fr;

  gap: 35px;

  margin-top: -90px;

  position: relative;
  z-index: 10;

  margin-bottom: 80px;
}

/* ====================================== */
/* SIDEBAR */
/* ====================================== */

.terms-sidebar{
  position: sticky;
  top: 30px;

  height: fit-content;
}

.sidebar-content{
  background: white;

  border-radius: 32px;

  padding: 30px;

  box-shadow: var(--shadow);

  border:
    1px solid rgba(255,123,0,0.08);
}

.sidebar-content h3{
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 25px;
}

.sidebar-content nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-content nav a{
  text-decoration: none;

  color: var(--muted);

  padding: 14px 16px;

  border-radius: 16px;

  transition: 0.3s ease;

  font-weight: 500;
}

.sidebar-content nav a:hover,
.sidebar-content nav a.active{

  background:
    linear-gradient(135deg,
    #fff1e6,
    #ffe8d1);

  color: #ff7b00;
}

/* ====================================== */
/* CONTENT */
/* ====================================== */

.terms-content{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.terms-section{
  background: white;

  border-radius: 32px;

  padding: 40px;

  box-shadow: var(--shadow);

  border:
    1px solid rgba(255,123,0,0.08);

  transition: 0.3s ease;
}

.terms-section:hover{
  transform: translateY(-3px);

  box-shadow: var(--shadow-hover);
}

.terms-section h2{
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 25px;

  font-size: 1.7rem;
}

.terms-section h2 i{
  width: 58px;
  height: 58px;

  border-radius: 18px;

  background:
    linear-gradient(135deg,
    #fff1e6,
    #ffe4cc);

  color: #ff7b00;

  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-section p{
  color: var(--muted);

  line-height: 1.9;

  margin-bottom: 18px;
}

.terms-section ul{
  padding-left: 20px;
}

.terms-section ul li{
  color: var(--muted);

  margin-bottom: 14px;

  line-height: 1.8;
}

/* ====================================== */
/* ALERT BOX */
/* ====================================== */

.highlight-box{
  margin-top: 25px;

  display: flex;
  gap: 20px;

  background:
    linear-gradient(135deg,
    #fff1e6,
    #ffe6d4);

  border:
    1px solid #ffd3ad;

  border-radius: 24px;

  padding: 25px;
}

.highlight-box i{
  font-size: 1.5rem;

  color: #ff7b00;
}

/* ====================================== */
/* POLICY CARDS */
/* ====================================== */

.cards-grid{
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px,1fr));

  gap: 20px;

  margin-top: 30px;
}

.policy-card{
  padding: 30px;

  border-radius: 28px;

  background: white;

  border:
    1px solid rgba(255,123,0,0.08);

  transition: 0.3s ease;
}

.policy-card:hover{
  transform: translateY(-5px);

  box-shadow:
    0 20px 45px rgba(255,123,0,0.12);
}

.policy-card i{
  width: 70px;
  height: 70px;

  border-radius: 22px;

  background: var(--gradient);

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.5rem;

  margin-bottom: 20px;

  box-shadow:
    0 15px 35px rgba(255,123,0,0.20);
}

.policy-card h4{
  margin-bottom: 12px;
}

/* ====================================== */
/* QUOTE BOX */
/* ====================================== */

.quote-box{
  background:
    linear-gradient(135deg,
    #ff7b00,
    #ff9d3f);

  color: white;

  padding: 35px;

  border-radius: 28px;

  margin: 30px 0;

  font-size: 1.2rem;

  line-height: 1.8;

  font-weight: 600;

  box-shadow:
    0 20px 50px rgba(255,123,0,0.20);
}

/* ====================================== */
/* DANGER GRID */
/* ====================================== */

.danger-grid{
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px,1fr));

  gap: 18px;

  margin-top: 30px;
}

.danger-card{
  background:
    linear-gradient(135deg,
    #fff4ec,
    #fff0e6);

  border:
    1px solid rgba(255,123,0,0.10);

  border-radius: 24px;

  padding: 25px;

  display: flex;
  align-items: center;
  gap: 18px;

  transition: 0.3s ease;
}

.danger-card:hover{
  transform: translateY(-4px);
}

.danger-card i{
  color: #ff7b00;

  font-size: 1.3rem;
}

/* ====================================== */
/* CONTACT */
/* ====================================== */

.contact-box{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  margin-top: 25px;
}

.contact-box div{
  flex: 1;
  min-width: 250px;

  background:
    linear-gradient(135deg,
    #fffaf5,
    #fff3eb);

  border:
    1px solid rgba(255,123,0,0.08);

  border-radius: 24px;

  padding: 25px;
}

.contact-box strong{
  display: block;

  margin-bottom: 10px;
}

/* ====================================== */
/* SCROLL BUTTON */
/* ====================================== */

.scroll-top{
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 60px;
  height: 60px;

  border: none;

  border-radius: 20px;

  background:
    linear-gradient(135deg,
    #ff7b00,
    #ff9d3f);

  color: white;

  cursor: pointer;

  font-size: 1.2rem;

  box-shadow:
    0 15px 40px rgba(255,123,0,0.35);

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: 0.3s ease;

  z-index: 999;
}

.scroll-top.show{
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* ====================================== */
/* RESPONSIVO */
/* ====================================== */

@media(max-width:1100px){

  .terms-layout{
    grid-template-columns: 1fr;
  }

  .terms-sidebar{
    position: relative;
    top: 0;
  }

}

@media(max-width:768px){

 

  .hero-content{
    padding: 100px 0;
  }

  .terms-section,
  .sidebar-content{
    padding: 25px;

    border-radius: 24px;
  }

  .terms-section h2{
    font-size: 1.3rem;
  }

  .quote-box{
    padding: 25px;

    font-size: 1rem;
  }

}
@media(min-width:768px){

  .container-logo a{
  width: 80px;
  height: 80px;
 
}

}