body.page-template-page-sinistro,
body.page-sinistro,
.page-template-page-sinistro .site-main {
  overflow-x: clip;
}

/* ==========================================================================
   1. Section: Hero ("Em Caso de Sinistro")
   ========================================================================== */
.section-sinistro-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(2.5rem, 4vw, 4.5rem);
  background-color: var(--color-white, #FFFFFF);
}

.sinistro-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
  position: relative;
  z-index: 2;
}

.sinistro-hero-text {
  max-width: 540px;
}

.sinistro-hero-eyebrow {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.sinistro-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-dark, #231F20);
  letter-spacing: -0.03em;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}

.sinistro-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.98vw, 1.05rem);
  line-height: 1.65;
  color: #737373;
}

.sinistro-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sinistro-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: clamp(340px, 44vw, 680px);
}

.sinistro-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Ambient Bubbles Hero */
.sinistro-hero-bubble {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary);
  pointer-events: none;
  z-index: 1;
}

.sinistro-hero-bubble--1 {
  display: none;
}

.sinistro-hero-bubble--2 {
  width: clamp(90px, 11vw, 140px);
  aspect-ratio: 1 / 1;
  top: 32%;
  left: 48%;
}

.sinistro-hero-bubble--3 {
  width: clamp(45px, 5.5vw, 70px);
  aspect-ratio: 1 / 1;
  bottom: 26%;
  left: 44%;
}

.sinistro-hero-bubble--4 {
  width: clamp(18px, 2.2vw, 28px);
  aspect-ratio: 1 / 1;
  bottom: 16%;
  left: 32%;
}

.sinistro-hero-bubble--6 {
  width: clamp(18px, 2.2vw, 26px);
  aspect-ratio: 1 / 1;
  bottom: 20%;
  left: 59%;
}

.sinistro-hero-bubble--7 {
  width: clamp(65px, 8.5vw, 110px);
  aspect-ratio: 1 / 1;
  bottom: -10%;
  right: 28%;
}

.sinistro-hero-bubble--8 {
  width: clamp(60px, 7.5vw, 95px);
  aspect-ratio: 1 / 1;
  bottom: 12%;
  right: 14%;
}

.sinistro-hero-bubble--9 {
  width: clamp(45px, 6vw, 75px);
  aspect-ratio: 1 / 1;
  top: 12%;
  right: 28%;
}

.sinistro-hero-bubble--10 {
  width: clamp(18px, 2.2vw, 28px);
  aspect-ratio: 1 / 1;
  top: 18%;
  right: 14%;
}

.sinistro-hero-bubble--11 {
  width: clamp(24px, 3vw, 36px);
  aspect-ratio: 1 / 1;
  top: 44%;
  right: 10%;
}

.sinistro-hero-bubble--12 {
  width: clamp(30px, 4vw, 50px);
  aspect-ratio: 1 / 1;
  bottom: 22%;
  right: 7%;
}

.sinistro-hero-bubble--13 {
  width: clamp(20px, 2.5vw, 30px);
  aspect-ratio: 1 / 1;
  bottom: 6%;
  right: 15%;
}

/* ==========================================================================
   2. Section: Como Participar um Sinistro (Steps Checklist)
   ========================================================================== */
.section-sinistro-steps {
  position: relative;
  overflow: visible;
  padding: clamp(3.5rem, 6vw, 6rem) 0 0;
  background-color: transparent;
  z-index: 5;
}

.sinistro-steps-eyebrow {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.sinistro-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sinistro-steps-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.92vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
  color: #231F20;
}

.sinistro-steps-num {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.05em;
  flex-shrink: 0;
}

.sinistro-steps-text {
  color: #231F20;
}

/* ==========================================================================
   3. Section: Participar Sinistro (Left Ball Canopy + Claim Form)
   ========================================================================== */
.section-sinistro-form {
  position: relative;
  overflow: visible;
  overflow-x: clip;
  overflow-y: visible;
  width: 100%;
  padding: clamp(6rem, 8vw, 9rem) 0;
  background-color: transparent;
  color: #ffffff;
  z-index: 4;
}

@media (min-width: 992px) {
  .section-sinistro-form {
    margin-top: clamp(-3rem, -4.5vw, -6rem);
  }
}

.sinistro-form-container {
  position: relative;
  z-index: 2;
}

.sinistro-form-content {
  flex: 1;
  max-width: 540px;
  position: relative;
  z-index: 4;
  color: #ffffff;
}

/* Claim Submission Form Styles */
.sinistro-claim-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: clamp(0.75rem, 1.2vw, 1.25rem);
}

.sinistro-form-group {
  position: relative;
  width: 100%;
}

.sinistro-form-input,
.sinistro-form-textarea {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: var(--radius-pill, 9999px);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.92vw, 0.95rem);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.sinistro-form-input::placeholder,
.sinistro-form-textarea::placeholder {
  color: #FFFFFF;
  opacity: 0.9;
  text-transform: lowercase;
}

.sinistro-form-input:focus,
.sinistro-form-textarea:focus {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.sinistro-form-select {
  appearance: none;
  -webkit-appearance: none;
  color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
  cursor: pointer;
}

.sinistro-form-select:invalid,
.sinistro-form-select option[value=""] {
  color: rgba(255, 255, 255, 0.9);
}

.sinistro-form-select option {
  background-color: #231F20;
  color: #FFFFFF;
}

.sinistro-form-textarea {
  border-radius: 20px;
  resize: none;
  padding: 14px 22px;
  min-height: 90px;
}

.sinistro-form-consent {
  margin-top: 6px;
}

.sinistro-form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1.4;
}

.sinistro-form-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a1a1a;
  cursor: pointer;
  flex-shrink: 0;
}

.sinistro-form-checkbox-label a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sinistro-form-submit-wrap {
  margin-top: 10px;
}

.sinistro-form-btn {
  padding: 13px 32px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: lowercase;
  border-radius: var(--radius-pill, 9999px);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sinistro-form-btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

/* ==========================================================================
   4. Section: Documentos Necessários
   ========================================================================== */
.section-sinistro-docs {
  position: relative;
  overflow: visible;
  padding: clamp(4rem, 6.5vw, 6.5rem) 0;
  margin-top: clamp(12rem, 20vw, 24rem);
  background-color: var(--color-white, #FFFFFF);
  z-index: 5;
}

.sinistro-docs-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(30px, 6vw, 70px);
  position: relative;
  z-index: 2;
}

.sinistro-docs-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sinistro-docs-photo-frame {
  position: relative;
  z-index: 2;
  width: clamp(340px, 38vw, 540px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: clamp(16px, 1.8vw, 28px) solid var(--color-primary);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background-color: #f7f7f7;
}

.sinistro-docs-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sinistro-docs-content {
  max-width: 540px;
}

.sinistro-docs-eyebrow {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.sinistro-docs-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark, #231F20);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}

.sinistro-docs-desc {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.95vw, 1rem);
  line-height: 1.6;
  color: #737373;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}

.sinistro-docs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.sinistro-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  font-weight: 600;
  line-height: 1.35;
  color: #231F20;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.sinistro-doc-item:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}

.sinistro-doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.sinistro-doc-icon svg {
  width: 22px;
  height: 22px;
}

/* Ambient Floating Red Rings Docs */
.sinistro-docs-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.sinistro-docs-ring--left {
  width: clamp(26px, 2.5vw, 36px);
  aspect-ratio: 1 / 1;
  border: 4px solid var(--color-primary);
  left: 6%;
  bottom: 20%;
}

.sinistro-docs-ring--mid-bottom {
  width: clamp(38px, 3.8vw, 52px);
  aspect-ratio: 1 / 1;
  border: 5px solid var(--color-primary);
  left: 14%;
  bottom: 6%;
}

.sinistro-docs-ring--right {
  width: clamp(55px, 5.5vw, 75px);
  aspect-ratio: 1 / 1;
  border: 7px solid var(--color-primary);
  right: 8%;
  bottom: 12%;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .sinistro-hero-bubble--1,
  .sinistro-hero-bubble--2,
  .sinistro-hero-bubble--9,
  .sinistro-hero-bubble--10 {
    display: none;
  }

  .sinistro-steps-visual {
    display: none !important;
  }

  .sinistro-hero-grid,
  .sinistro-steps-grid,
  .sinistro-docs-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .sinistro-hero-text,
  .sinistro-steps-content,
  .sinistro-docs-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .sinistro-steps-content {
    text-align: left;
    max-width: 540px;
  }

  .sinistro-steps-list {
    align-items: flex-start;
    text-align: left;
  }

  /* ==========================================================================
     Section Sinistro Form - Remove Ball Canopy & Apply Card on Mobile
     ========================================================================== */
  .section-sinistro-form {
    margin-top: 0;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    overflow-x: clip;
    overflow-y: visible;
  }

  /* Completely remove the circular ball canopy & floating bubbles on mobile */
  .section-sinistro-form .ball-left-canopy,
  .section-sinistro-form .big-orange-ball,
  .section-sinistro-form .circle-bg-orange,
  .section-sinistro-form .ball-left-bubble {
    display: none !important;
  }

  .section-sinistro-form .ball-left-container,
  .section-sinistro-form .sinistro-form-container {
    padding: 0 16px;
    gap: clamp(36px, 6vw, 48px);
    overflow: visible;
  }

  /* True circular ball curvature matching Figma */
  .section-sinistro-form .ball-left-content,
  .section-sinistro-form .sinistro-form-content {
    background-color: var(--color-primary, #E84E38);
    border-radius: 50% / clamp(130px, 34vw, 175px);
    padding: clamp(80px, 20vw, 110px) calc(20vw + 20px) clamp(85px, 22vw, 120px) calc(20vw + 20px);
    width: 140vw;
    max-width: none;
    margin: 0 calc(-20vw - 16px);
    box-shadow: 0 16px 40px rgba(232, 78, 56, 0.22);
    text-align: center;
    box-sizing: border-box;
  }

  .section-sinistro-form .sinistro-form-title {
    font-size: clamp(1.85rem, 5vw, 2.4rem);
    margin: 0 auto clamp(0.75rem, 1.2vw, 1rem) auto;
  }

  .section-sinistro-form .sinistro-form-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #FFFFFF;
    opacity: 0.95;
    margin: 0 auto clamp(1.2rem, 2vw, 1.6rem) auto;
    max-width: 480px;
  }

  .section-sinistro-form .sinistro-claim-form {
    max-width: 480px;
    margin: clamp(0.75rem, 1.2vw, 1.25rem) auto 0 auto;
  }

  .section-sinistro-form .sinistro-form-input,
  .section-sinistro-form .sinistro-form-textarea {
    font-size: 15px;
    padding: 13px 20px;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.18);
  }

  .section-sinistro-form .sinistro-form-consent {
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .section-sinistro-form .sinistro-form-checkbox-label {
    justify-content: center;
    text-align: left;
    font-size: 13.5px;
  }

  .section-sinistro-form .sinistro-form-submit-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
  }

  .section-sinistro-form .sinistro-form-btn {
    padding: 14px 48px;
    font-size: 14px;
    width: auto;
    min-width: 180px;
  }

  .section-sinistro-docs {
    margin-top: clamp(4rem, 8vw, 6rem);
  }

  .sinistro-docs-list {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
  }
}
