/*
 * 🇬🇧   ENGLISH
 * HOME PAGE STYLING
 *
 * 🇧🇷🇵🇹 PORTUGUÊS BRASILEIRO
 * ESTILIZAÇÃO DA PÁGINA INICIAL
 */

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Shared architecture for all the sections
/* 🇧🇷 Arquitetura compartilhada para todas as seções
/* 🇵🇹 Arquitetura partilhada para todas as seções
/* -------------------------------------------------------------------------- */

.section
{
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: var(--section-padding);
  position: relative;
  width: 100%;
}

.section b,
.section strong
{
  font-weight: 700;
}

.section h2
{
  color: var(--palette-white);
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0;
}

.section p
{
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.container
{
  margin: 0 auto;
  max-width: var(--container-max-width);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.section-overlay
{
  background-color: transparent;
  background-image: var(--section-overlay);
  opacity: 0.6;
  inset: 0;
  position: absolute;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Hero section (background with image and button)
/* 🇧🇷🇵🇹 Seção de destaque (fundo com imagem e botão)
/* -------------------------------------------------------------------------- */

.hero-section
{
  background-attachment: fixed;
  background-image: var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: var(--hero-min-height);
  padding-top: var(--navbar-height-desktop);
  position: relative;
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 About Us Section
/* 🇧🇷 Seção Sobre Nós
/* 🇵🇹 Secção Sobre Nós
/* -------------------------------------------------------------------------- */

.about-us-section
{
  background-color: var(--palette-red-02);
  background-image: var(--pattern-azulejo);
  background-position: top center;
  background-repeat: repeat;
  background-size: 128px 128px;
  text-align: center;
  transition: background 0s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.about-us-section:hover
{
  box-shadow: rgba(0, 0, 0, 0.37) 0px 0px 100px 0px inset;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Services intro section
/* 🇧🇷 Seção de introdução aos serviços
/* 🇵🇹 Secção de introdução aos serviços
/* -------------------------------------------------------------------------- */

.services-intro-section
{
  background-image: url("../images/portugal-torre-com-bandeira-portuguesa.jpg");
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Help services introduction section
/* 🇧🇷 Seção de introdução aos serviços de ajuda
/* 🇵🇹 Secção de introdução aos serviços de ajuda
/* -------------------------------------------------------------------------- */

.help-section
{
  background-image: var(--pattern-azulejo-azul);
  background-position: top left;
  background-repeat: repeat;
  background-size: 128px 128px;
  overflow: hidden;
  padding: 100px 20px;
}

.help-section h2
{
  color: var(--palette-red-02);
  font-size: 28px;
}

.help-section .subtitle
{
  color: var(--palette-black-04);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 5px;
}

.help-grid
{
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: 100%;
}

.help-card
{
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevation-sm);
  min-height: 350px;
  overflow: hidden;
  padding: 40px;
  position: relative;
  text-align: left;
  transition: transform 0.3s var(--transition-ease);
}

.help-card:hover
{
  transform: translateY(-10px);
}

.card-blur-bg
{
  background-color: var(--bg-glass-overlay);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  -webkit-backdrop-filter: var(--backdrop-blur-sm);
          backdrop-filter: var(--backdrop-blur-sm);
}

.help-section .help-card .card-content
{
  position: relative;
  z-index: 2;
}

.help-section .help-card .card-content .card-icon
{
  display: block;
  height: 50px;
  margin: 0 auto;
  margin-bottom: 25px;
  text-align: center;
  width: 50px;
}

.help-card h3
{
  background: var(--palette-red-01);
  border-bottom-right-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevation-sm);
  font-size: 16px;
  font-weight: 700;
  margin-left: -40px;
  padding: 10px;
  text-shadow: var(--shadow-elevation-sm);
}

.help-card p
{
  color: var(--palette-black-03);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Services introduction section
/* 🇧🇷 Seção de introdução aos serviços
/* 🇵🇹 Secção de introdução aos serviços
/* -------------------------------------------------------------------------- */

.quotation-section
{
  background-image: url("../images/portugal-torcedores-de-portugal-para-o-futebol.jpg");
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Articles and News Section
/* 🇧🇷🇵🇹 Seção de Artigos e Notícias
/* -------------------------------------------------------------------------- */

.news-section
{
  background-color: var(--palette-red-02);
}

.news-section h2
{
  margin-bottom: 40px;
}

.news-grid
{
  border: 5px solid var(--palette-red-02);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.news-item
{
  aspect-ratio: 1 / 1;
  border: 5px solid var(--palette-red-02);
  overflow: hidden;
  position: relative;
}

.news-item a
{
  display: block;
  height: 100%;
  width: 100%;
}

.news-visuals
{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  transition: transform 0.6s var(--transition-ease);
  width: 100%;
}

.news-overlay
{
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: var(--backdrop-blur-sm);
  display: flex;
  height: 100%;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 20px;
  position: absolute;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.news-item:hover .news-overlay
{
  opacity: 1;
}

.news-item:hover .news-visuals
{
  transform: scale(1.1);
}

.news-title
{
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Counters Section
/* 🇧🇷🇵🇹 Seção de Contadores
/* -------------------------------------------------------------------------- */

.counter-grid
{
  display: flex;
  gap: 80px;
  justify-content: center;
  margin-top: 5rem;
}

.counter-number
{
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-label
{
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Testimonials Section
/* 🇧🇷🇵🇹 Seção de Depoimentos
/* -------------------------------------------------------------------------- */

.testimonials-section h2
{
  color: var(--palette-red-01);
  margin-bottom: 20px;
}

.testimonials-grid
{
  display: grid;
  gap: 4rem;
  width: 100%;
}

.testimonial-column
{
  display: flex;
  flex-direction: column;
  gap: 5rem;
  text-align: center;
  transition: 
    transform 1s var(--transition-ease),
    opacity 1s ease;
}

.testimonial-reveal-hidden
{
  opacity: 0;
  transform: translateX(-50px);
}

.testimonial-reveal-active
{
  opacity: 1;
  transform: translateX(0);
}

.testimonial-item p
{
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.testimonial-item p .company-name
{
  font-weight: 700;
}

.testimonial-author
{
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.author-name
{
  font-size: 1.3rem;
  font-weight: 700;
}

.author-role
{
  color: var(--palette-black-04);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
}

.testimonial-item p,
.author-name
{
  color: var(--palette-black-04);
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧 Connection to Portugal section
/* 🇧🇷 Seção de conexão a Portugal
/* 🇵🇹 Secção de conexão a Portugal
/* -------------------------------------------------------------------------- */

.connection-section
{
  background-image: url("../images/portugal-praca-do-comercio-em-lisboa.jpg");
}

.connection-section h2
{
  font-weight: 700;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   FAQ Section
/* 🇧🇷🇵🇹 Seção de FAQ
/* -------------------------------------------------------------------------- */

.faq-section h2
{
  color: var(--palette-red-01);
}

.faq-section .faq-section-subtitle
{
  color: var(--palette-green-02);
}

.faq-lead
{
  color: var(--palette-red-03);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
}

.faq-grid
{
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}

.faq-item
{
  border-bottom: 1px solid var(--navbar-mobile-subtle-border-color);
  transition: background-color 0.3s ease;
}

.faq-question
{
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: space-between;
  list-style: none;
  padding: 1.5rem 0;
  user-select: none;
}

.faq-question::-webkit-details-marker
{
  display: none;
}

.faq-ornament
{
  color: var(--palette-black-03);
  display: flex;
  flex-shrink: 0;
  height: 24px;
  min-height: 24px;
  min-width: 24px;
  transition: transform 0.5s var(--transition-ease);
  width: 24px;
}

.faq-ornament svg
{
  display: block;
  width: 100%;
  height: 100%;
}

.faq-ornament:hover
{
  color: var(--palette-yellow-02);
}

.faq-item[open] .faq-ornament
{
  color: var(--palette-red-02);
  transform: rotate(45deg);
}

.faq-answer
{
  padding: 0 0 2rem 0;
}

.faq-answer p
{
  color: var(--palette-black-04);
  font-size: 1.3rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.faq-answer b,
.faq-answer strong
{
  color: var(--palette-red-01);
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Connection to Portugal section
/* 🇧🇷🇵🇹 Seção de conexão a Portugal
/* -------------------------------------------------------------------------- */

.ready-journey-section
{
  background-image: url("../images/portugal-parque-eduardo-vii-lisbon.jpg");
}

.ready-journey-section h2
{
  font-weight: 700;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Contact Section
/* 🇧🇷🇵🇹 Seção de Contacto
/* -------------------------------------------------------------------------- */

.contact-section h2
{
  color: var(--palette-red-01);
}

.contact-section .contact-section-subtitle
{
  color: var(--palette-black-04);
  font-size: 1.2rem;
  font-weight: 400;
}

.contact-wrapper
{
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.refined-form
{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
}

.form-group
{
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-label
{
  color: var(--palette-red-02);
  font-size: 1.1rem;
  font-weight: 700;
}

.form-input
{
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--navbar-mobile-subtle-border-color);
  border-radius: 0;
  color: var(--palette-black-03);
  font-size: 1.2rem;
  padding: 0.8rem 0;
  transition: border-color 0.4s var(--transition-ease);
  width: 100%;
}

.form-input:focus
{
  border-bottom-color: var(--palette-red-02);
  outline: none;
}

.form-select
{
  cursor: pointer;
}

.form-footer
{
  margin-top: 2rem;
  text-align: center;
}

.submit-button
{
  align-items: center;
  background-color: var(--palette-red-02);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevation-sm);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 700;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.2rem 3rem;
  text-shadow: var(--shadow-elevation-sm);
  transition:
    background-color 0.3s ease,
    transform 0.3s var(--transition-ease);
}

.submit-button:hover
{
  background-color: var(--palette-red-03);
  transform: translateY(-5px);
}

.button-ornament
{
  height: 24px;
  width: 24px;
}

.form-feedback-hidden
{
  display: none;
}

.form-feedback-visible
{
  border: 1px solid var(--palette-red-02);
  display: block;
  font-size: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Partners Section
/* 🇧🇷🇵🇹 Seção de Parceiros
/* -------------------------------------------------------------------------- */

.partners-section .help-title-box
{
  margin-bottom: 5rem;
}

.partners-section h2
{
  color: var(--palette-red-02);
  margin-bottom: 40px;
}

.partners-grid
{
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.partner-item
{
  flex: 0 1 250px;
  opacity: 0;
  text-align: center;
  transform: translateY(20px);
  transition: 
    transform 0.8s var(--transition-ease),
    opacity 0.8s ease;
}

.partner-item.reveal-active
{
  opacity: 1;
  transform: translateY(0);
}

.partner-logo
{
  filter: grayscale(100%);
  height: auto;
  max-width: 100%;
  opacity: 0.6;
  transition: 
    filter 0.4s ease, 
    opacity 0.4s ease, 
    transform 0.4s var(--transition-ease);
}

.partner-item:hover .partner-logo
{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   WhatsApp Kinetic Widget
/* 🇧🇷🇵🇹 Widget Cinético do WhatsApp
/* -------------------------------------------------------------------------- */

.whatsapp-widget
{
  bottom: 25px;
  position: fixed;
  right: 25px;
  z-index: 9999;
}

.whatsapp-tooltip
{
  background: var(--palette-white);
  border-radius: 8px;
  bottom: 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--palette-black-03);
  font-family: var(--barlow);
  font-size: 0.95rem;
  padding: 12px 20px;
  position: absolute;
  right: 0;
  transition: all 0.4s var(--transition-ease);
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.whatsapp-popup
{
  background: var(--palette-white);
  border-radius: 12px;
  bottom: 90px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  right: 0;
  transition: all 0.5s var(--transition-ease);
  width: 320px;
  
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  visibility: hidden;
}

.whatsapp-header
{
  background: hsl(145 70% 30%);
  color: var(--palette-white);
  padding: 25px 20px;
}

.header-main
{
  align-items: center;
  display: flex;
  gap: 15px;
}

.header-icon
{
  height: 40px;
  width: 40px;
}

.header-text
{
  display: flex;
  flex-direction: column;
}

.header-title
{
  font-family: var(--lusitana);
  font-size: 1.1rem;
  font-weight: 700;
}

.header-status
{
  font-size: 0.85rem;
  opacity: 0.9;
}

.whatsapp-body
{
  background: #f0f2f5;
  padding: 25px 15px;
}

.whatsapp-card
{
  align-items: center;
  background: var(--palette-white);
  border-left: 3px solid #25d366;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 12px;
  padding: 15px;
  text-decoration: none;
  transition: all 0.6s var(--transition-ease);
  
  opacity: 0;
  transform: translateY(30px);
}

.card-visual
{
  background: #e6f7eb;
  border-radius: 50px;
  color: hsl(145 70% 30%);
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.card-icon-big
{
  height: 24px;
  width: 24px;
}

.card-info
{
  display: flex;
  flex-direction: column;
}

.info-name
{
  color: var(--palette-black-01);
  font-weight: 700;
}

.info-brand
{
  color: var(--palette-black-06);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.card-arrow
{
  color: #25d366;
  height: 18px;
  margin-left: auto;
  width: 18px;
}

.whatsapp-trigger
{
  background: #25d366;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  height: 60px;
  padding: 0;
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 60px;
}

.whatsapp-trigger:hover
{
  transform: scale(1.1);
}

.trigger-icons
{
  color: var(--palette-white);
  height: 100%;
  position: relative;
  width: 100%;
}

.icon-ws,
.icon-close
{
  inset: 0;
  margin: auto;
  position: absolute;
  transition: all 0.4s var(--transition-ease);
}

.icon-ws
{
  height: 35px;
  width: 35px;
}

.icon-close
{
  height: 30px;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  width: 30px;
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Active kinetic states controlled by JavaScript
/* 🇧🇷🇵🇹 Estados cinéticos ativos controlados por JavaScript
/* -------------------------------------------------------------------------- */

.whatsapp-widget.active .whatsapp-popup
{
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

.whatsapp-widget.active .whatsapp-card
{
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-widget.active .whatsapp-trigger
{
  background: #ef4444;
}

.whatsapp-widget.active .icon-ws
{
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.whatsapp-widget.active .icon-close
{
  opacity: 1;
  transform: rotate(0) scale(1);
}

.whatsapp-widget.active .whatsapp-tooltip
{
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
}

/* -------------------------------------------------------------------------- */
/* 🇬🇧   Consolidated Declarations
/* 🇧🇷🇵🇹 Declarações Consolidadas
/* -------------------------------------------------------------------------- */

.help-section,
.testimonials-section,
.faq-section,
.contact-section,
.partners-section
{
  background-color: var(--all-sections);
  padding: var(--section-padding);
}

.services-intro-section,
.quotation-section,
.connection-section,
.ready-journey-section
{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--palette-blue-01);
  height: 450px;
}

.services-intro-section .container,
.quotation-section .container,
.connection-section .container,
.ready-journey-section .container
{
  align-items: center;
  display: grid;
  gap: 40px;
  justify-items: center;
}

.services-intro-section .container a,
.quotation-section .container a,
.connection-section .container a,
.ready-journey-section .container a
{
  max-width: fit-content !important;
}

.about-us-section,
.help-card h3,
.news-section,
.news-title,
.submit-button
{
  color: var(--palette-white);
}

.section h2,
.news-title,
.counter-number,
.testimonial-item p .company-name,
.author-name,
.form-label,
.submit-button
{
  font-family: var(--lusitana);
}

.help-card h3,
.testimonial-item p,
.faq-answer p,
.form-input
{
  font-family: var(--barlow);
}

.help-section h2,
.help-section .subtitle,
.help-card h3,
.news-title,
.counter-label,
.testimonials-section h2,
.author-name,
.author-role,
.faq-section h2,
.contact-section h2,
.contact-section .contact-sction-subtitle,
.form-label,
.submit-button,
.form-feedback-visible,
.partners-section h2
{
  text-transform: uppercase;
}

.help-section h2,
.help-section .subtitle,
.help-card h3,
.submit-button
{
  text-shadow: var(--shadow-elevation-sm);
}

.whatsapp-header,
.header-main,
.whatsapp-trigger,
.whatsapp-tooltip
{
  user-select: none;
}