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

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #020617;
  background-image: url('images/breno.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout utilities */

.nav,
.section,
.footer {
  padding: 1.25rem 1.5rem;
}

@media (min-width: 768px) {

  .nav,
  .section,
  .footer {
    padding: 1.5rem 4.5rem;
  }
}

@media (min-width: 1200px) {

  .nav,
  .section,
  .footer {
    padding-inline: 6rem;
  }
}

.nav-inner,
.hero-inner,
.footer-inner,
.section-inner,
.contact-grid,
.card-grid,
.about-grid,
.faq-grid {
  max-width: 1120px;
  margin: 0 auto;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
}

.logo-text {
  font-weight: 600;
  font-size: 0.98rem;
  color: #e2e8f0;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #cbd5f5;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-links a:hover {
  color: #f9fafb;
  border-bottom-color: rgba(148, 163, 184, 0.6);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #22c55e;
  color: #020617;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.7);
}

.btn-outline {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(34, 197, 94, 0.8);
}

.btn-outline:hover {
  background: rgba(22, 163, 74, 0.18);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  border-color: rgba(30, 64, 175, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
}

.btn-small {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  background: rgba(2, 6, 23, 0.78);
  padding-top: 5rem;
  padding-bottom: 3rem;
  color: #e5e7eb;
  backdrop-filter: blur(6px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: stretch;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 2.8vw + 1.4rem, 3.1rem);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.hero-subtitle {
  color: #cbd5f5;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-weight: 500;
  color: #e5e7eb;
}

.hero-card {
  background: radial-gradient(circle at top, #0ea5e947, transparent 52%), #020617;
  border-radius: 1.3rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
}

@media (min-width: 900px) {
  .hero-card {
    padding: 1.8rem 1.9rem;
  }
}

.hero-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: #f9fafb;
}

.hero-card-text {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1.1rem;
}

.quick-form label,
.contact-form label {
  display: block;
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.quick-form input,
.quick-form select,
.quick-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  font: inherit;
  padding: 0.55rem 0.75rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.quick-form textarea,
.contact-form textarea {
  resize: vertical;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
  background: #020617;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Sections */

.section {
  background: rgba(2, 6, 23, 0.75);
  color: #e5e7eb;
  padding-block: 3rem;
  backdrop-filter: blur(10px);
}

.section-alt {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.section-header p {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* Cards / grids */

.card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: radial-gradient(circle at top, #22c55e33, transparent 60%),
    rgba(15, 23, 42, 0.78);
  border-radius: 1.1rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  border-color: rgba(34, 197, 94, 0.9);
  background: radial-gradient(circle at top, #22c55e55, transparent 60%),
    rgba(15, 23, 42, 0.9);
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
  color: #e5e7eb;
}

.service-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.9rem;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.service-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.service-image-small {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.card p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #d1d5db;
}

.card-list li::before {
  content: '✓';
  color: #22c55e;
  margin-right: 0.35rem;
}

.card-list li+li {
  margin-top: 0.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-point {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.about-point h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: #e5e7eb;
}

.about-point p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.faq-grid {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
  width: 100%;
}

details {
  background: rgba(15, 23, 42, 0.78);
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.75rem 0.95rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

details:hover {
  border-color: rgba(34, 197, 94, 0.9);
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

details summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  margin-bottom: 0.35rem;
}

details p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 0.6rem 0.2rem;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.96rem;
  color: #e5e7eb;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-note {
  display: block;
  font-size: 0.82rem;

  .contact-icon {
    font-size: 1rem;
  }

  color: #94a3b8;
  margin-top: 0.1rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 1.2rem;
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 20px 65px rgba(15, 23, 42, 1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 1);
  border-color: rgba(34, 197, 94, 0.9);
}

.contact-form h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #f9fafb;
}

.contact-form p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.contact-form .inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.contact-form .inline input[type='checkbox'] {
  width: 1rem;
  height: 1rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(30, 64, 175, 0.4);
  background: rgba(2, 6, 23, 0.7);
  color: #64748b;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Assistant widget */

.assistant-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 1);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.12s ease;
  z-index: 60;
  animation: assistant-pulse 2.4s ease-in-out infinite;
}

.assistant-toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 1);
}

.assistant-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.2rem;
  width: min(360px, 100vw - 2.5rem);
  background: rgba(2, 6, 23, 0.85);
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 59;
}

.assistant-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.assistant-header {
  padding: 0.85rem 0.95rem;
  background: radial-gradient(circle at top left, #22c55e35, transparent 70%),
    radial-gradient(circle at top right, #0ea5e936, transparent 65%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.assistant-header h3 {
  margin: 0 0 0.1rem;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.assistant-header p {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.assistant-close {
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #9ca3af;
  border-radius: 999px;
  width: 1.6rem;
  height: 1.6rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.assistant-body {
  padding: 0.55rem 0.85rem 0.6rem;
  max-height: 320px;
  overflow-y: auto;
  background: radial-gradient(circle at bottom, #0ea5e917, transparent 55%), #020617;
}

.assistant-message {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0.45rem;
}

.assistant-message-bot {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.assistant-message-user {
  margin-left: auto;
  border-radius: 0.9rem 0.9rem 0.2rem 0.9rem;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
}

.assistant-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem 0.55rem;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.assistant-input input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
  color: #e5e7eb;
  outline: none;
}

.assistant-input input:focus {
  border-color: #22c55e;
}

.assistant-input button {
  border-radius: 999px;
  border: none;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(34, 197, 94, 0.9);
  color: #020617;
  cursor: pointer;
}

.assistant-disclaimer {
  margin: 0;
  padding: 0.35rem 0.7rem 0.5rem;
  font-size: 0.7rem;
  color: #64748b;
  background: rgba(15, 23, 42, 0.9);
}

@keyframes assistant-pulse {
  0% {
    box-shadow: 0 18px 55px rgba(15, 23, 42, 1), 0 0 0 0 rgba(34, 197, 94, 0.35);
  }

  50% {
    box-shadow: 0 18px 55px rgba(15, 23, 42, 1), 0 0 0 12px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 18px 55px rgba(15, 23, 42, 1), 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Scrollbars */

.assistant-body::-webkit-scrollbar {
  width: 6px;
}

.assistant-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

/* Image preview overlay */

.image-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 1rem;
}

.image-preview-inner {
  max-width: min(900px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.image-preview-inner img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
}

.image-preview-caption {
  color: #e5e7eb;
  font-size: 0.85rem;
  text-align: left;
}

.image-preview-close {
  align-self: flex-end;
  margin-bottom: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

/* Misc */

::selection {
  background: rgba(56, 189, 248, 0.4);
  color: #0f172a;
}

@media (max-width: 600px) {
  .nav-links {
    position: absolute;
    inset-inline: 1.5rem;
    top: 3.3rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.6rem 0.8rem;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.25rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .hero-card {
    order: -1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-block: 2.2rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .contact-form {
    padding: 1.2rem 1rem;
  }
}



/* Custom Notification */
.custom-notification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: #22c55e;
  /* Green text */
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.custom-notification.show {
  transform: translateY(0);
}

.custom-notification.success {
  color: #22c55e;
}

.custom-notification.error {
  color: #ef4444;
}

/* Larger Contact Icons */
.contact-label i {
  font-size: 1.3rem;
  vertical-align: middle;
  margin-right: 0.3rem;
  color: #22c55e;
}

/* Assistant Toggle Icon */
.assistant-toggle i {
  font-size: 1.8rem;
}