/* ── site.css — CSS do site público (páginas de serviços, portfólio,
 * mockups de apresentação, rodapé e secção de contacto). Vive fora do
 * CSS do backoffice: só o site/includes/head.php o carrega. */

/* ── Photography page ───────────────────────────────────────── */

/* Hero */
.photo-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--am-sp-xl) var(--am-sp-xs);
  text-align: center;
  position: relative;
}

.photo-hero-inner { max-width: 720px; }

.photo-hero-label {
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--am-text-muted);
  margin-bottom: 1.5rem;
}

.photo-hero-title {
  font-family: var(--am-font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--am-text);
  margin-bottom: 1.5rem;
}
.photo-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--am-text-muted);
}

.photo-hero-sub {
  font-size: var(--am-fs-sm);
  color: var(--am-text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.photo-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-link--ghost {
  background-color: transparent;
  border-color: var(--am-border-soft);
  color: var(--am-text-muted);
}
.cta-link--ghost:hover {
  border-color: var(--am-border);
  color: var(--am-text);
  background-color: transparent;
}

/* Section labels */
.photo-section-label {
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--am-text-muted);
  margin-bottom: 0.5rem;
}

.photo-section-title {
  font-family: var(--am-font-heading);
  font-size: var(--am-fs-xl);
  font-weight: 300;
  color: var(--am-text);
  margin-bottom: var(--am-sp-lg);
}

/* Photo-gold accent vars live in branding.css. */

/* Services section */
.photo-services {
  padding: var(--am-sp-xl) 0;
  border-top: 1px solid var(--am-border);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  height: 100%;
}

/* Arch shape */
.service-item-img {
  width: 160px;
  height: 220px;
  border-radius: 1000px 1000px 0 0;
  overflow: hidden;
  background-color: var(--am-photo-gold-dim);
  border: 1.5px solid var(--am-photo-gold-border);
  flex-shrink: 0;
  position: relative;
}
.service-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.service-item-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-placeholder-label {
  font-family: var(--am-font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--am-photo-gold);
  opacity: 0.5;
  letter-spacing: 0.06em;
}

.service-item-body { width: 100%; }

.service-item-title {
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--am-photo-gold);
  margin-bottom: 0.5rem;
}

.service-item-desc {
  font-size: var(--am-fs-sm);
  color: var(--am-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.service-item-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-item-details li {
  font-size: var(--am-fs-xs);
  font-family: var(--am-font-sub);
  color: var(--am-text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--am-border-soft);
  letter-spacing: 0.02em;
}
.service-item-details li::before {
  content: '—';
  margin-right: 0.5rem;
  color: var(--am-photo-gold);
  opacity: 0.5;
}
.service-item-details li:last-child { border-bottom: none; }

/* Quote */
.photo-quote-section {
  padding: var(--am-sp-xl) 0;
  border-top: 1px solid var(--am-border);
  text-align: center;
}

.photo-quote {
  max-width: 640px;
  margin-inline: auto;
  border: none;
  padding: 0;
}
.photo-quote p {
  font-family: var(--am-font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--am-text);
  margin-bottom: 1.25rem;
}
.photo-quote p em { font-style: italic; color: var(--am-text-muted); }
.photo-quote cite {
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--am-text-dim);
  font-style: normal;
}

/* CTA band */
.photo-cta-band {
  padding: var(--am-sp-xl) 0;
  border-top: 1px solid var(--am-border);
  border-bottom: 1px solid var(--am-border);
}
.photo-cta-band h2 {
  font-family: var(--am-font-heading);
  font-size: var(--am-fs-xl);
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.photo-cta-band p {
  font-size: var(--am-fs-sm);
  color: var(--am-text-muted);
  margin-bottom: 1.75rem;
}

@media (max-width: 767.98px) {
  .photo-hero { min-height: 90vh; padding-top: 6rem; }
  .photo-hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .photo-hero-sub br { display: none; }
}

/* ── Portfolio website ───────────────────────────────────────── */

.blur-background {
  background: rgba(22, 28, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo-section {
  padding: 2rem 0 0;
  background: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--am-border);
}

.page-title {
  padding: var(--am-sp-lg) var(--am-sp-xs) var(--am-sp-md);
  text-align: center;
}
.page-title h1 {
  color: var(--am-text);
  letter-spacing: 0.02em;
}

.content-area {
  border-radius: var(--am-radius-lg);
  padding: var(--am-sp-md) var(--am-sp-sm);
  margin-bottom: var(--am-sp-lg);
}

.cta-link {
  display: inline-block;
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--am-text);
  border: 1px solid var(--am-border);
  border-radius: var(--am-radius-pill);
  padding: 0.6rem 1.8rem;
  transition: background-color .2s, border-color .2s;
}
.cta-link:hover {
  background-color: rgba(203, 191, 176, 0.1);
  border-color: rgba(203, 191, 176, 0.4);
  color: var(--am-base);
}

.portfolio-item {
  border-bottom: 1px solid var(--am-border-soft);
}
.portfolio-item:last-child { border-bottom: none; }

.portfolio-description h2 {
  font-family: var(--am-font-heading);
  font-weight: 300;
  margin-bottom: 1rem;
}
.portfolio-description p {
  font-size: var(--am-fs-sm);
  color: var(--am-text-muted);
  line-height: 1.7;
}
.portfolio-description em { color: var(--am-text); font-style: italic; }

/* ── Browser + phone mockup ──────────────────────────────────── */
.mockup-outer {
  position: relative;
  padding-bottom: 3rem;
}

.mockup-browser {
  border-radius: var(--am-radius);
  overflow: hidden;
  border: 1px solid var(--am-border);
  background: var(--am-bg-alt);
  box-shadow: var(--am-shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: var(--am-bg-card);
  border-bottom: 1px solid var(--am-border);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--am-border);
  display: inline-block;
}
.browser-dot:first-child  { background: #e07a85; }
.browser-dot:nth-child(2) { background: #ffc107; }
.browser-dot:nth-child(3) { background: #6ec49a; }

.mockup-desktop {
  width: 100%;
  overflow: hidden;
  max-height: 300px;
}
.mockup-desktop img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.mockup-phone {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22%;
  min-width: 90px;
  max-width: 120px;
  border-radius: calc(var(--am-radius) + 4px);
  border: 1px solid var(--am-border);
  background: var(--am-bg-card);
  box-shadow: var(--am-shadow-lg);
  overflow: hidden;
}

.phone-bar {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0;
  background: var(--am-bg-card);
  border-bottom: 1px solid var(--am-border);
}

.phone-notch {
  width: 30%;
  height: 6px;
  background: var(--am-border);
  border-radius: 3px;
  display: inline-block;
}

.mockup-mobile {
  overflow: hidden;
  max-height: 200px;
}
.mockup-mobile img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* ── Site footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: var(--am-sp-lg);
  padding: var(--am-sp-md) 0;
  border-top: 1px solid var(--am-border);
  text-align: center;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.social-links a {
  font-size: 1.5rem;
  color: var(--am-text-muted);
  transition: color .15s;
}
.social-links a:hover { color: var(--am-text); }

.footer-copy {
  font-size: var(--am-fs-xs);
  color: var(--am-text-muted);
  letter-spacing: 0.05em;
}

/* ── Contact section ─────────────────────────────────────────── */
.contact-section {
  padding: var(--am-sp-lg) 0;
  background: var(--am-bg-alt);
  border-top: 1px solid var(--am-border);
}
.contact-section h2 {
  margin-bottom: var(--am-sp-md);
  color: var(--am-text);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--am-fs-sm);
  color: var(--am-text-muted);
  margin-bottom: 1rem;
}
.contact-info i {
  font-size: 1.1rem;
  color: var(--am-text);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-info a { color: var(--am-text-muted); }
.contact-info a:hover { color: var(--am-text); }

.contact-form .form-control { margin-bottom: 0.75rem; }
.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--am-radius-sm);
  font-size: var(--am-fs-sm);
  margin-bottom: 1rem;
}
.form-alert-success {
  background-color: rgba(25, 135, 84, .12);
  border: 1px solid rgba(25, 135, 84, .3);
  color: #6ec49a;
}
.form-alert-error {
  background-color: rgba(220, 53, 69, .12);
  border: 1px solid rgba(220, 53, 69, .3);
  color: #e07a85;
}

.btn-submit {
  display: inline-block;
  font-family: var(--am-font-sub);
  font-size: var(--am-fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--am-text);
  color: var(--am-bg);
  border: none;
  border-radius: var(--am-radius-pill);
  padding: 0.65rem 2rem;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background-color: var(--am-base);
  color: var(--am-contrast);
}

@media (max-width: 767.98px) {
  .mockup-phone { display: none; }
  .mockup-outer { padding-bottom: 0; }
}
