/* ============================================================
   Template 5: Dark & Crimson — A&A ASSESSOR DE INVESTIMENTOS
   ============================================================ */

/* ----- Font: Inter Tight (100-900) ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary: #1a1a2e;
  --accent: #E94560;
  --dark: #0F0F1A;
  --light-bg: #F5F5FA;
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-muted: #6c757d;
}

* {
  font-family: 'Inter Tight', sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

/* ----- Navbar ----- */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
}

.custom-navbar .navbar-brand {
  padding: 0;
}

.custom-navbar .navbar-brand img {
  height: 3rem;
}

.custom-navbar .navbar-caption {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.custom-navbar .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

.custom-navbar .navbar-buttons .btn {
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.custom-navbar .navbar-buttons .btn .mobi-mbri-right {
  margin-left: 0.3rem;
  font-size: 0.8rem;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ----- Buttons ----- */
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: #d63d55;
  border-color: #d63d55;
}

.btn-black {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-black:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

.btn-black-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-black-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

/* ----- Hero ----- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content .display-1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-content .hero-description {
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-separator {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 2rem 0;
}

.hero-bottom-row {
  margin-top: 2rem;
}

.hero-bottom-row .card {
  background: transparent;
  border: none;
  color: #fff;
}

.hero-bottom-row .btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
}

/* ----- Section Styles ----- */
.section-full {
  padding: 5rem 0;
}

.section-full.bg-dark {
  background-color: var(--dark);
  color: #fff;
}

.section-full.bg-primary {
  background-color: var(--primary);
  color: #fff;
}

.section-full.bg-light {
  background-color: var(--light-bg);
}

.section-heading {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-heading.accent {
  color: var(--accent);
}

.section-text {
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

.bg-dark .section-text,
.bg-primary .section-text {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- Advantages Section ----- */
.advantage-item {
  margin-bottom: 2rem;
}

.advantage-item .icon-box {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.advantage-item .icon-box i {
  font-size: 1.4rem;
  color: #fff;
}

.advantage-item h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.advantage-item p {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ----- Embla Carousel ----- */
.embla {
  overflow: hidden;
  position: relative;
}

.embla__viewport {
  overflow: hidden;
  width: 100%;
}

.embla__container {
  display: flex;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.embla__slide {
  position: relative;
  min-width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .embla__slide {
    min-width: 50%;
  }
}

@media (min-width: 992px) {
  .embla__slide {
    min-width: 33.333%;
  }
}

.testimonial-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.testimonial-card .testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}

.testimonial-card .testimonial-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-card .testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-text {
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

.embla__buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.embla__button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.embla__button:hover {
  background: var(--accent);
  color: #fff;
}

/* ----- Image Sections ----- */
.image-section-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.features-image .item-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.features-image .item-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ----- Founder Section ----- */
.founder-quote {
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
}

/* ----- Contact Form ----- */
.contact-form input,
.contact-form textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  width: 100%;
  margin-bottom: 1rem;
  font-weight: 300;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .submit-btn {
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .submit-btn:hover {
  background-color: #d63d55;
}

/* ----- Contact Info Cards ----- */
.contact-info-card {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info-card .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-info-card .contact-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.contact-info-card .contact-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.contact-info-card .contact-value {
  font-weight: 300;
  color: var(--text-muted);
}

/* ----- Map ----- */
.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ----- FAQ Accordion ----- */
.accordion-item {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  background: transparent;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 0;
  background: transparent;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent);
  background: transparent;
}

.accordion-button::after {
  background-image: none;
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  width: auto;
  height: auto;
  transform: none;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  transform: none;
}

.accordion-body {
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  padding: 0 0 1.25rem;
}

/* ----- Footer ----- */
.footer3 {
  background-color: var(--dark);
  padding: 2rem 0;
}

.footer3 .media-container-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer3 p {
  margin: 0;
  font-weight: 300;
  font-size: 0.9rem;
}

.footer3 a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer3 a:hover {
  text-decoration: underline;
}

.footer3 .policy-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer3 .copyright {
  color: rgba(255, 255, 255, 0.5);
}

/* ----- Legal Pages ----- */
.legal-content {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.legal-content h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-content h3.wp-block-heading {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.legal-content h4.wp-block-heading {
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.legal-content p {
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content .cookie-tables-white .wp-block-table table,
.legal-content .cookie-tables-white .wp-block-table th,
.legal-content .cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.legal-content .cookie-tables-white .wp-block-table th,
.legal-content .cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.legal-content .cookie-tables-white {
  margin: 1.5rem 0;
}

.legal-content .cookie-tables-white .wp-block-table {
  overflow-x: auto;
}

.legal-content .cookie-tables-white table.has-fixed-layout {
  table-layout: fixed;
  width: 100%;
}

.legal-content .cookie-tables-white th {
  background-color: #f5f5f5;
  font-weight: 600;
  text-align: left;
}

/* ----- Services Page ----- */
.services-section .service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  border-top: 3px solid var(--accent);
  transition: transform 0.3s;
}

.services-section .service-card:hover {
  transform: translateY(-5px);
}

.services-section .service-card h3 {
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.services-section .service-card p {
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ----- About Page ----- */
.about-timeline {
  position: relative;
  padding-left: 2rem;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
}

.about-timeline .timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.about-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.about-timeline .timeline-year {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
    background-attachment: scroll;
  }

  .hero-content .display-1 {
    font-size: 2.5rem;
  }

  .section-full {
    padding: 3rem 0;
  }

  .custom-navbar .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }

  .about-timeline {
    padding-left: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content .display-1 {
    font-size: 2rem;
  }

  .hero-bottom-row {
    margin-top: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .embla__slide {
    min-width: 85%;
  }
}

/* ----- Utility ----- */
.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.text-primary-dark {
  color: var(--primary) !important;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
