/* =========================================================
   MAKDOORS – CSS (redesign fiel ao original)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #5da6bbd;
  --blue-dark:  #034174;
  --blue-card:  #023968;
  --green:      #209330;
  --green-2:    #296001;
  --green-light:#4CB500;
  --bg:         #F7F7F7;
  --white:      #ffffff;
  --black:      #000000;
  --text:       #333333;
  --gray:       #666666;

  --font-title: 'Prata', Georgia, serif;
  --font-body:  'Outfit', sans-serif;
  --font-nav:   'Fredoka', sans-serif;

  --radius: 5px;
  --tr: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── EYEBROWS ─────────────────────────────────────────────── */
.eyebrow-blue {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.eyebrow-white {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
  text-align: center;
}

/* ── TITLES ───────────────────────────────────────────────── */
.title-prata {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.25rem;
}
.title-outfit {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--black);
}
.title-white {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}
.title-white span { font-family: var(--font-title); font-weight: 400; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}
.btn--green {
  background: linear-gradient(to bottom, var(--green-light), var(--green-2));
  color: var(--white);
  box-shadow: 0 0 10px rgba(0,0,0,0.14);
}
.btn--green:hover {
  background: linear-gradient(to bottom, #56c900, #1e4500);
  transform: translateY(-1px);
}
.btn--outline-white {
  background: rgba(0,0,0,0.24);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.59);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--black);
}
.btn--lg { padding: 16px 44px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── HEADER ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--tr), backdrop-filter var(--tr);
  padding: 0 24px;
}
.header.scrolled {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20% 57% 23%;
  align-items: center;
  height: 80px;
  gap: 16px;
}
.header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.header__nav ul {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.header__nav a {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
  transition: color var(--tr);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width var(--tr);
}
.header__nav a:hover::after { width: 100%; }
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  border-radius: var(--radius);
  min-width: 160px;
  padding: 8px 0;
  flex-direction: column;
}
.dropdown a { display: block; padding: 10px 18px; font-size: 0.9rem; }
.dropdown a:hover { background: rgba(255,255,255,0.08); }
.has-dropdown:hover .dropdown { display: flex; }
.header__inner > .btn { justify-self: end; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}
.header__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--tr);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.38) 100%),
    url('https://makdoors.com.br/wp-content/uploads/2026/03/Para-subistituicao-4-Foto-1%C2%B0-seccao-do-site.png') center/cover no-repeat,
    linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 100px 0 60px;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SOBRE ────────────────────────────────────────────────── */
.sobre { padding: 80px 0; background: var(--white); }
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre__text p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.sobre__img {
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-card), var(--blue));
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sobre__img img { width: 100%; height: 100%; object-fit: cover; }

/* ── POR QUE ESCOLHER ─────────────────────────────────────── */
.porque {
  padding: 80px 0;
  background: radial-gradient(ellipse at center, var(--blue-dark) 0%, var(--blue) 100%);
}
.porque__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.porque__card {
  background: linear-gradient(200deg, var(--blue-card), var(--blue));
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 10px;
  padding: 28px 22px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.porque__card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.porque__icon {
  margin-bottom: 1rem;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.porque__card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.porque__card p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ── LINHAS DE PRODUTO ────────────────────────────────────── */
.linha { padding: 80px 0; }
.linha--light { background: var(--white); }
.linha--gray { background: var(--bg); box-shadow: inset 0 0 10px rgba(0,0,0,0.05); }
.linha__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.linha__inner--reverse { direction: rtl; }
.linha__inner--reverse > * { direction: ltr; }
.linha__text p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.5rem; }
.linha__features { margin-bottom: 2rem; }
.linha__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.check { color: var(--green); font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.linha__img-placeholder {
  width: 100%;
  min-height: 380px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.linha__img-placeholder--1 { background: linear-gradient(135deg, #012a4a, #5da6bbd); }
.linha__img-placeholder--2 { background: linear-gradient(135deg, #023968, #0e6b8a); }
.linha__img-placeholder--3 { background: linear-gradient(135deg, #01111e, #023968); }

/* ── CTA AZUL ─────────────────────────────────────────────── */
.cta-azul {
  padding: 80px 0;
  background: radial-gradient(ellipse at center, var(--blue-dark) 0%, var(--blue) 100%);
}
.cta-azul__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-azul__text h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.cta-azul__text h2 span { font-family: var(--font-title); font-weight: 400; }
.cta-azul__text p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 480px; }

/* ── PROJETOS ─────────────────────────────────────────────── */
.projetos { padding: 80px 0; background: var(--bg); }
.projetos .container > .eyebrow-blue,
.projetos .container > .title-prata { text-align: center; }
.projetos__sub { text-align: center; color: var(--gray); font-size: 0.95rem; margin-bottom: 48px; }
.projetos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.projeto-item {
  background: linear-gradient(135deg, var(--blue-card), var(--blue));
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}
.projeto-item:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.projeto-item--tall { grid-row: span 2; height: auto; min-height: 410px; }
.projeto-item--wide { grid-column: span 2; }

/* ── DEPOIMENTOS ──────────────────────────────────────────── */
.depoimentos { padding: 80px 0; background: var(--white); }
.depoimentos .container > .eyebrow-blue,
.depoimentos .container > .title-prata { text-align: center; }
.depoimentos__track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
.dep-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 32px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.dep-card:hover { border-color: var(--blue); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.dep-card__stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.dep-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.dep-card__autor { display: flex; align-items: center; gap: 12px; }
.dep-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-card), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.dep-card__autor strong { display: block; font-size: 0.9rem; color: var(--black); font-weight: 600; }
.dep-card__autor span { font-size: 0.78rem; color: var(--gray); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: radial-gradient(ellipse at center, var(--blue) 0%, var(--black) 100%);
  border-top: 5px solid;
  border-image: linear-gradient(to right, #737373, #C9C9C9, #737373) 1;
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; max-width: 260px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--tr);
}
.footer__social a:hover { border-color: var(--white); color: var(--white); }
.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color var(--tr); }
.footer__col a:hover { color: var(--white); }
.footer__col p { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.footer__bottom { padding: 20px 0; }
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a { color: rgba(255,255,255,0.6); }

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform var(--tr);
}
.wa-float:hover { transform: scale(1.1); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.active { opacity: 1; pointer-events: all; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 44px 40px;
  width: 100%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal.active .modal__box { transform: translateY(0); }
.modal__close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.2rem; color: var(--gray); cursor: pointer; padding: 4px 8px;
}
.modal__close:hover { color: var(--black); }
.modal__box h2 {
  font-family: var(--font-body);
  font-size: 1.6rem; font-weight: 300;
  margin-bottom: 0.4rem; color: var(--black);
}
.modal__box h2 span { font-family: var(--font-title); font-weight: 400; color: var(--blue); }
.modal__box > p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.75rem; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.fg input, .fg select, .fg textarea {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--tr);
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg textarea { resize: vertical; }

/* ── RESPONSIVO ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .porque__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .header__inner { grid-template-columns: 80% 20%; }
  .header__nav { display: none; }
  .header__nav.open {
    display: block; position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .header__nav.open ul { flex-direction: column; gap: 0; }
  .header__nav.open ul li { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 0; }
  .header__hamburger { display: flex; }
  .header__inner > .btn--green { display: none; }
  .sobre__inner, .linha__inner { grid-template-columns: 1fr; }
  .linha__inner--reverse { direction: ltr; }
  .cta-azul__inner { flex-direction: column; text-align: center; }
  .depoimentos__track { grid-template-columns: 1fr; }
  .projetos__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .modal__box { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .porque__grid { grid-template-columns: 1fr; }
  .projetos__grid { grid-template-columns: 1fr; }
  .projeto-item--wide { grid-column: span 1; }
}
