/* ═══════════════════════════════════════════
   INSTITUTO LORDE — COTAÇÃO DE ORÇAMENTO
═══════════════════════════════════════════ */

body { padding-top: 72px; }

/* ── HERO (estilo padrão do tema, igual transparência) ── */
.cot-hero {
  min-height: 42vh; padding: 8rem 1.5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 80%, #162036 100%);
}
.cot-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.cot-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 1rem; }
.cot-hero h1 em { font-style: italic; color: var(--gold-light); }
.cot-hero p { max-width: 580px; margin: .5rem auto 0; color: rgba(255,255,255,0.60); font-size: 1.02rem; line-height: 1.80; }

/* ── ÁREA DE CONTEÚDO (fundo navy do tema) ── */
.cot-content {
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ═══════════════════════════════════════════
   CARD — réplica visual da peça (quadrado)
   Mantém as cores originais (amarelo/preto)
   propositalmente, como uma "peça" dentro do
   site, para reaproveitar artes já publicadas.
═══════════════════════════════════════════ */

.cot-card {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.cot-card-inner {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #F0A91A; /* amarelo idêntico à peça original */
  display: flex;
  flex-direction: column;
  padding: 7% 7% 6%;
}

/* leve sombra diagonal de profundidade, como na peça original */
.cot-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.10) 0%, transparent 35%);
  pointer-events: none;
}

.cot-card-header h2 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  color: #1a1306;
  line-height: 1.1;
  margin: 0 0 .15em;
}

.cot-card-header p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: clamp(.95rem, 3.4vw, 1.15rem);
  color: #1a1306;
  margin: 0 0 .9em;
}

/* ── Tabela ── */
.cot-table {
  border: 2px solid #1a1306;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-bottom: 1.2rem;
}

.cot-row {
  display: flex;
  border-bottom: 2px solid #1a1306;
}

.cot-row:last-child { border-bottom: none; }

.cot-item, .cot-qty {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: clamp(.78rem, 2.7vw, .98rem);
  color: #1a1306;
  padding: .5em .7em;
  line-height: 1.25;
}

.cot-item {
  flex: 1.3;
  border-right: 2px solid #1a1306;
}

.cot-qty {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Rodapé do card: data + foto. Foto fica colada na borda do card ── */
.cot-card-footer {
  margin-top: 1.2rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
}

.cot-card-date {
  display: flex;
  align-items: center;
  gap: .4em;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: clamp(.75rem, 2.5vw, .92rem);
  color: #1a1306;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 6%;
}

/* ── Foto do cão e gato — colada na borda inferior/direita do card ── */
.cot-card-photo {
  display: block;
  width: 50%;
  max-width: 230px;
  height: auto;
  flex-shrink: 0;
  margin: 0 -7% -6% 0;
}

/* ═══════════════════════════════════════════
   CARDS DE TEXTO (2, 3, 4, 5)
   Mesmo fundo amarelo, sem aspect-ratio fixo
   (altura cresce conforme o conteúdo)
═══════════════════════════════════════════ */

.cot-card-text {
  aspect-ratio: unset;
  min-height: unset;
  padding: 7% 7% 6%;
  display: block;
}

/* ── Pata decorativa — canto superior direito (cards 2 a 5) ── */
.cot-card-paw {
  position: absolute;
  top: 5%;
  right: 6%;
  width: 11%;
  max-width: 52px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.cot-text-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  color: #1a1306;
  text-align: center;
  margin: 0 0 1.1em;
  line-height: 1.25;
  padding: 0 13%;
}

.cot-text-title-sm {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
}

.cot-text-block {
  margin-bottom: 1.3em;
}

.cot-text-block h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(.95rem, 3.4vw, 1.12rem);
  color: #1a1306;
  margin: 0 0 .4em;
}

.cot-text-block p,
.cot-bullets li {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: clamp(.82rem, 2.9vw, .95rem);
  color: #1a1306;
  line-height: 1.55;
  margin: 0 0 .3em;
}

.cot-text-block ul {
  margin: .3em 0 .6em;
  padding-left: 1.2em;
}

.cot-text-block ul li {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: clamp(.82rem, 2.9vw, .95rem);
  color: #1a1306;
  line-height: 1.55;
  margin-bottom: .15em;
}

.cot-text-block strong { font-weight: 700; }

/* ── Lista de bullets (card 3) ── */
.cot-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55em;
}

.cot-bullets li {
  position: relative;
  padding-left: 1.1em;
}

.cot-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ── Texto em destaque sublinhado (card 4) ── */
.cot-highlight {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(.85rem, 3vw, 1rem);
  color: #1a1306;
  text-align: center;
  text-decoration: underline;
  line-height: 1.5;
  margin: 1em 0 1.3em;
}

.cot-table-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: clamp(.85rem, 3vw, 1rem);
  color: #1a1306;
  text-align: center;
  margin: 0 0 .7em;
}

/* ── Tabela RH (5 colunas, card 4) ── */
.cot-table-rh .cot-row {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr 0.85fr 0.95fr 0.85fr;
}

.cot-table-rh .cot-row span {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(.46rem, 1.5vw, .58rem);
  color: #1a1306;
  padding: .4em .15em;
  text-align: center;
  border-right: 2px solid #1a1306;
  line-height: 1.15;
  word-break: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.cot-table-rh .cot-row span:first-child,
.cot-table-rh .cot-row span:last-child {
  white-space: nowrap;
}

.cot-table-rh .cot-row span:last-child { border-right: none; }

.cot-row-head span {
  font-weight: 700;
  background: rgba(26,19,6,0.07);
}

.cot-table-rh .cot-row:not(.cot-row-head) span { font-weight: 600; }

.cot-email {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 4vw, 1.3rem);
  color: #1a1306;
  text-align: center;
  margin: 1.3em 0 0;
}

/* ── Card institucional (card 5) ── */
.cot-card-institucional { text-align: center; }

.cot-institucional-info {
  margin-bottom: 1.2em;
}

.cot-institucional-info p {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(.8rem, 2.8vw, .92rem);
  color: #1a1306;
  line-height: 1.65;
  margin: 0 0 .25em;
}

.cot-inst-sub {
  font-weight: 700;
  text-decoration: underline;
  font-size: clamp(.78rem, 2.6vw, .88rem) !important;
  margin-bottom: .3em !important;
}

.cot-inst-name {
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
  margin-bottom: .5em !important;
}

.cot-institucional-info a {
  color: #1a1306;
  text-decoration: underline;
}

.cot-inst-logo {
  display: block;
  width: 42%;
  max-width: 190px;
  margin: 0 auto 1em;
  border-radius: 50%;
}

/* ── Responsivo ── */
@media (max-width: 640px) {
  .cot-hero { padding: 6.5rem 1.25rem 2.5rem; }
  .cot-content { padding: 2.5rem 1rem 4rem; gap: 2rem; }
  .cot-card { border-radius: 18px; }
  .cot-table-rh .cot-row span { padding: .4em .2em; }
}
