
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Exo+2:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ==============================
   RESET / BASE
============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Exo 2", sans-serif;
  font-size:large;
  background: #0b0b0d;
  color: #f2f2f2;
  line-height: 1.6;
  padding-top: 70px; /* ajusta conforme a altura real do header */
}



img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==============================
   LAYOUT
============================== */
.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==============================
   HEADER
============================== */
/* ==============================
   HEADER (fixo e responsivo)
============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  padding: 16px 0;           /* altura inicial */
  z-index: 1000;
  transition: padding 0.3s ease, background 0.3s ease;
}
.site-header.shrink {
  padding: 8px 0;            /* altura reduzida ao rolar */
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}



/* Botão do menu mobile */
.menu-toggle {
  display: flex;
  flex-direction: column;   /* força ficar em coluna */
  justify-content: center;
  justify-self: end;
  align-items: center;
  width: 40px;
  height: 32px;
  gap: 6px;                 /* espaço entre as barrinhas */
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Barrinhas */
.menu-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
}




/* ==============================
   MENU MÓVEL (overlay flutuante)
============================== */
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
}
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86%, 360px);
  height: 100%;
  background: #141414;
  border-left: 1px solid #222;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.4);
  padding: 18px 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open .mobile-menu__panel {
  transform: translateX(0);
}
.mobile-menu__close {
  background: transparent;
  border: none;
  color: #f2f2f2;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  display: block;
  margin-bottom: 10px;
}

/* Lista do menu móvel */
.mobile-menu__list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
.mobile-menu__list a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  background: #1b1b1b;
  color: #f2f2f2;
}
.mobile-menu__list a:hover {
  background: #232323;
}
.mobile-menu__login a {
  background: #ffd166;
  color: #111;
  font-weight: 700;
}

/* Evita scroll do body quando o menu está aberto */
.no-scroll {
  overflow: hidden;
}

/* ==============================
   RESPONSIVIDADE
============================== */
/* Mobile first: por padrão, esconda nav e login desktop; mostre hambúrguer */
.main-nav,
.login-cta {
  display: none;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* A partir de 768px (ou o breakpoint que preferir), mostra nav/login e esconde o hambúrguer */
@media (min-width: 768px) {
  .main-nav,
  .login-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

.brand img {
  width: 100px;
  height: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 4px;
}
.main-nav a.active,
.main-nav a:hover {
  background: #222;
}
.login-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #222;
  border-radius: 4px;
}

/* ==============================
   CARROSSEL (mantendo tamanho original)
============================== */
.carousel {
  position: relative;
  margin: 20px 0;
  overflow: hidden;
  width: 100%;
  height: 80vh; /* espaço reservado, pode ajustar */
  background: #0b0b0d; /* fundo neutro atrás das fotos */
  display: block;
  align-items: center;
  justify-content: center;
}

.carousel-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 80px 0 20px; /* empurra pra baixo do header */
}

@media (max-width: 600px) {
  .carousel-title {
    font-size: 1.3rem;
    margin: 70px 0 12px;
  }
}



.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* mantém proporção original */
  border-radius: 5px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;

}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #888;
  cursor: pointer;
}
.carousel-dots button.active {
  background: #ffd166;
}

/* ==============================
   BANNER CTA
============================== */
.banner-cta {
  display: block;
  margin: 20px 0;
  border-radius: 6px;
  overflow: hidden;
}
.banner-cta:hover {
  background: #0b0b0d;
}
.banner-cta img {
  width: 75%;
  height: auto;       /* mantém proporção original */
  display:block;
  margin: 0 auto;
  border-radius: 5px;
}
.cta-text{
  text-align: center;
}



/* Rodapé */
.rodape {
  background: linear-gradient(135deg, #111, #333);
  color: white;
  padding: 40px 20px 20px;
  text-align: center;
  margin-top: 50px;
}

.rodape h3 {
  margin-bottom: 10px;
  font-size: 1.6em;
  color: #ffcc00;
}

.rodape p {
  margin-bottom: 20px;
  font-size: 1em;
  color: #ccc;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  font-size: 1.5em;
  margin: 0 10px;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: #ffcc00;
  transform: scale(1.2);
}

/* Botão de orçamento */
.btn-orcamento {
  display: inline-block;
  padding: 12px 25px;
  background: #ffcc00;
  color: #111;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.btn-orcamento:hover {
  background: #ffaa00;
  transform: scale(1.05);
}

/* Copy */
.copy {
  margin-top: 20px;
  font-size: 0.9em;
  color: #888;
}

/* Serviços */
.services-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 18px; 
  
}

/* ==============================
   Serviços — cards sem carrossel
============================== */
.service-card { 
  background: linear-gradient(180deg, #151727, #121424); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: var(--shadow); 
  transition: transform .15s ease, box-shadow .2s ease; 
}

.service-card:hover { 
  transform: translateY(-2px); 
}

.service-card img { 
  height: 225px; 
  object-fit: cover; 
  border-radius: 0; 
  margin: 0 auto;
}

.service-card .body { 
  padding: 14px; 
  font-size: 14px; 
  color: var(--muted); 
}
.service-card .title { 
  font-size: 17px; 
  font-weight: 700; color: var(--text); 
  margin-bottom: 6px; 
  font-family: var(--font-serif); 
}

@media (min-width: 640px) {
.services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
.carousel-slide { height: 62vh; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Sections */
.section { 
  padding: 28px 0;
  padding-top: 70px; /* ajusta conforme a altura real do header */ }
.section h1, .section h2 { font-family: var(--font-serif); letter-spacing: .3px; }
.section h1 { font-size: clamp(28px, 3.2vw, 40px); margin: 8px 0 8px; }
.section h2 { font-size: clamp(20px, 2.2vw, 28px); margin: 8px 0 14px; }

/*Sobre mim*/
.foto-mari{
  display:block;
  margin:0 auto;
  width: 350px;
  height: auto;
  border-radius: 5px;
}

.foto-marifamilia{
  width: 500px;
   display:block;
  margin:0 auto;
  height: auto;
  border-radius: 5px;
}
.texto-qse{
    text-align: justify;
    margin: 0 auto;
    padding-top: 20px;
}
.quemsoueu{
    text-align: center;
}
.familia{
  padding-top: 20px;
}
/* Página de Contato */
.contato {
  text-align: center;
  padding: 60px 20px;
  background: #5e5d5d;
}

.contato h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: black;
}

.contato p {
  font-size: 1.1em;
  color: black;
  margin-bottom: 30px;
}

/* ==============================
   PEÇA UM ORÇAMENTO — estilos
============================== */

/* Container do formulário (opcional: aplique .card no wrapper do form no HTML, se quiser) */
.quote-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;             /* centraliza */
}

/* Inputs / textarea (herda o tema global, mas reforçamos para o bloco) */
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  background: #2e2e31;        /* combina com o tema */
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .06s ease;
}

.quote-form select {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  background: #2e2e31;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: none; /* remove seta padrão (pode customizar depois) */
  cursor: pointer;
}

.quote-form select:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--primary);
  background: #1e2033;
}


.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #8a92b1;             /* placeholder elegante */
  opacity: .9;
}

/* Foco acessível e chique */
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--primary);
  background: #1e2033;
}

/* Hover sutil (desktop) */
@media (hover: hover) {
  .quote-form input:hover,
  .quote-form textarea:hover {
    border-color: #2d3158;
    transform: translateY(-1px);
  }
}

/* Tamanhos */
.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Linha com dois campos lado a lado quando houver espaço (ex.: telefone + data) */
.quote-form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .quote-form .row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Botão principal */
.quote-form .btn {
  justify-self: start; /* fica alinhado à esquerda; troque para center se preferir */
}

/* Realce do botão enviar */
.quote-form .btn.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--secondary), #ffc34d);
  --btn-fg: #1a140a;
  --btn-bd: #e2b75a;
}

/* Estados de validação (nativo) */
.quote-form input:invalid,
.quote-form textarea:invalid {
  border-color: rgba(26, 21, 68, 0.45);
}
.quote-form input:invalid:focus,
.quote-form textarea:invalid:focus {
  box-shadow: 0 0 0 3px rgba(24, 27, 78, 0.25);
}

/* Mensagens opcionais de feedback (se usar) */
.quote-feedback {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.quote-feedback.success {
  color: #9be49b;
}
.quote-feedback.error {
  color: #ff9e9e;
}

/* Cartão opcional para a seção toda (se envolver o form em uma div.card) */
.quote-card.card {
  padding: 18px;
  background: linear-gradient(180deg, var(--card), #0f1020);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* ==============================
   LOGIN / DASHBOARD
============================== */
:root {
  --bg: #0b0b0d;
  --card: #131422;
  --elev: #17182a;
  --text: #eef0f5;
  --muted: #a8b0c6;
  --border: #242744;

  --primary: #7aa2ff;
  --primary-600: #5c8dff;
  --secondary: #ffd166;
  --danger: #ff7a7a;

  --ring: 0 0 0 3px rgba(122, 162, 255, 0.25);
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

.shadow {
  box-shadow: var(--shadow);
}

.card {
  background: linear-gradient(180deg, var(--card), #0f1020);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.dashboard .card + .card {
  margin-top: 16px;
}

.form-row {
  position: relative;
  margin-bottom: 14px;
}

.hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.input,
textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  background: #0f1120;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.input::placeholder,
textarea::placeholder {
  color: #7f88a6;
  opacity: .8;
}

.input:focus,
textarea:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--primary);
  background: #11132a;
}

/* Label flutuante (opcional, usado nas .form-row com placeholder=" ") */
.label-float {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e97b6;
  font-size: 14px;
  pointer-events: none;
  transition: all .15s ease;
  background: transparent;
  padding: 0 4px;
}

.input:not(:placeholder-shown) + .label-float,
.input:focus + .label-float,
textarea:not(:placeholder-shown) + .label-float,
textarea:focus + .label-float {
  top: -8px;
  transform: none;
  font-size: 12px;
  color: var(--primary);
  background: var(--card);
  border-radius: 6px;
}

.btn {
  --btn-bg: #1a1b2d;
  --btn-fg: var(--text);
  --btn-bd: var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--primary);
}

.btn .btn-icon {
  font-size: 16px;
  line-height: 1;
}

/* Variações */
.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--primary), var(--primary-600));
  --btn-fg: #0c1022;
  --btn-bd: #4f6ecc;
}

.btn-secondary {
  --btn-bg: linear-gradient(135deg, var(--secondary), #ffc34d);
  --btn-fg: #1a140a;
  --btn-bd: #e2b75a;
}

.btn-ghost {
  --btn-bg: rgba(255,255,255,0.02);
  --btn-fg: var(--text);
  --btn-bd: var(--border);
}

.btn-danger {
  border-color: rgba(255, 122, 122, 0.35);
}

.btn-ghost.btn-danger:hover {
  background: linear-gradient(135deg, rgba(255,122,122,.15), rgba(255,122,122,.25));
  border-color: rgba(255,122,122,.55);
}


.dash-header {
  position: sticky;
  top: 84px; /* compensa o header fixo do site */
  display: flex;
  justify-content: flex-end;
  z-index: 2;
  margin-bottom: 12px;
}
.areacliente{
  text-align: center;
}
.auth-state {
  margin-bottom: 16px;
  color: #cfd3ea;
}


/* ==============================
   LOGIN — estilos
============================== */
/* ==============================
   LOGIN — estilos
============================== */
.auth-forms {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
}
#auth-state p{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  gap: 6px;
  text-align: center;
}

#login-form{
  margin: 0 auto;
}


.auth-forms form {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, var(--card), #0f1020);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.auth-forms h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--text);
}

/* Inputs */
.auth-forms input {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  background: #0f1120;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .06s ease;
}

.auth-forms input::placeholder {
  color: #8a92b1;
  opacity: .9;
}

.auth-forms input:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--primary);
  background: #11132a;
}

@media (hover: hover) {
  .auth-forms input:hover {
    border-color: #2d3158;
    transform: translateY(-1px);
  }
}

/* Botão entrar */
.auth-forms .btn {
  width: 100%;
  justify-content: center;
  font-weight: 600;
}

/* Ajuste responsivo */
@media (max-width: 600px) {
  .auth-forms {
    padding: 20px 12px;
  }
  .auth-forms form {
    padding: 18px;
  }
}



.auth-forms h2,
.dashboard h2,
.admin-panel h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
  letter-spacing: .2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.gallery-grid .item {
  background: linear-gradient(180deg, #111326, #0e1022);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 10px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.gallery-grid .item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #2d3158;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #000;
  border-radius: 10px;
}

.gallery-grid .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-grid .actions a,
.gallery-grid .actions button {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #161733;
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .12s ease;
  text-align: center;
}

.gallery-grid .actions a:hover,
.gallery-grid .actions button:hover {
  background: #1b1d3d;
  border-color: #30345e;
  transform: translateY(-1px);
}

.gallery-zip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

#zip-progress {
  color: var(--muted);
  font-size: 12px;
}

/* ==============================
   LIGHTBOX (visualização da foto)
============================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: color .2s;
}

.lightbox-close:hover {
  color: var(--primary);
}

/* ==============================
   LIGHTBOX: setas de navegação
============================== */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 12px;
  transition: color 0.2s;
}

.lightbox-arrow:hover {
  color: var(--primary);
}

.lightbox-arrow.prev {
  left: 30px;
}

.lightbox-arrow.next {
  right: 30px;
}

