:root {
  --blue-dark: #0d3b66;
  --blue-medium: #1a659e;
  --blue-light: #3a86ff;
  --blue-lighter: #90c6ff;
  --blue-accent: #0077b6;
  --blue-light-accent: #48cae4;
  --gray-light: #f8fafc;
  --gray-medium: #e2e8f0;
  --gray-dark: #374151;
  --white: #ffffff;
  --black: #0f172a;
  --gradient-blue: linear-gradient(135deg, #0d3b66 0%, #1a659e 100%);
  --gradient-blue-light: linear-gradient(135deg, #1a659e 0%, #3a86ff 100%);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(26, 101, 158, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--gray-light);
  color: var(--gray-dark);
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar { background: var(--white); padding: 0.8rem 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; transition: var(--transition); }
.navbar.scrolled { padding: 0.5rem 0; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
.navbar-brand { font-weight: 700; font-size: 1.8rem; color: var(--blue-dark); display: flex; align-items: center; transition: var(--transition); }
.navbar-brand:hover { transform: scale(1.02); }
.navbar-brand img { height: 50px; margin-right: 10px; }
.nav-link { color: var(--gray-dark); font-weight: 500; transition: var(--transition); padding: 0.5rem 1rem !important; border-radius: 6px; position: relative; display: inline-block; }

/* --- REGRAS DO SUBLINHADO REMOVIDAS --- */
.nav-link:hover { color: var(--blue-medium); }
.nav-link.active { color: var(--blue-medium); font-weight: 600; }
/* --- FIM DA ALTERAÇÃO --- */

.dropdown-menu { border: none; border-radius: 8px; box-shadow: var(--shadow-hover); padding: 0.5rem 0; margin-top: 0.5rem; }
.dropdown-item { padding: 0.5rem 1.5rem; transition: var(--transition); position: relative; border-bottom: 1px solid transparent; }
.dropdown-item:not(:last-child) { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.dropdown-item:hover { background: var(--blue-lighter); color: var(--blue-dark); }
#client-area-btn { background: var(--gradient-blue); color: var(--white); border: none; border-radius: 6px; padding: 0.5rem 1.2rem; font-weight: 600; transition: var(--transition); display: flex; align-items: center; gap: 8px; text-decoration: none; }
#client-area-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13, 59, 102, 0.3); }
.dropdown.currency-dropdown { margin-left: 1rem; }
.btn-currency { background: rgba(255, 255, 255, 0.1) !important; color: var(--gray-dark) !important; border: none !important; box-shadow: none !important; padding: 0.5rem 1rem !important; font-weight: 500 !important; display: flex; align-items: center; gap: 8px; border-radius: 6px !important; transition: var(--transition); }
.btn-currency::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 8px;
    transition: var(--transition);
    border: none !important;
    vertical-align: middle;
    display: inline-block;
}
.dropdown-menu.currency-menu { background: var(--white); border: none; border-radius: 8px; box-shadow: var(--shadow-hover); padding: 0.5rem 0; min-width: 120px; }
.dropdown-item.currency-option { padding: 0.5rem 1.2rem; color: var(--gray-dark); transition: var(--transition); }
.dropdown-item.currency-option:hover { background: var(--blue-lighter); color: var(--blue-dark); }

/* IMAGE SLIDER */
#image-slider { position: relative; width: 100%; height: 600px; overflow: hidden; margin-bottom: 3rem; display: flex; justify-content: center; align-items: center; background-color: var(--white); }
.slide-container { width: 100%; height: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
.slide-image { width: 100%; height: 100%; object-fit: contain; object-position: center; display: none; animation: fadeIn 1s; }
.slide-image.active { display: block; }
.slider-dots { position: absolute; bottom: 2rem; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; z-index: 10;  display: none;}
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); cursor: pointer; transition: var(--transition); border: none; }
.slider-dot:hover { background: var(--blue-accent); transform: scale(1.2); }
.slider-dot.active { background: var(--blue-accent); transform: scale(1.2); }

/* SECTIONS & CARDS */
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.8rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1.5rem; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: transparent; border-radius: 2px; }
.section-title p { color: var(--gray-dark); max-width: 700px; margin: 0 auto; opacity: 0.8; font-size: 1.1rem; }
#plans { padding: 6rem 0; background: var(--gray-light); position: relative; }
.plan.card { border: none; border-radius: 15px; box-shadow: var(--shadow); transition: var(--transition); overflow: hidden; height: 100%; position: relative; background: var(--white); }
.plan.card:hover { transform: translateY(-15px); box-shadow: 0 15px 40px rgba(26, 101, 158, 0.2); }
.plan-header { background: var(--gradient-blue); color: var(--white); padding: 2rem; text-align: center; font-weight: 700; font-size: 1.6rem; position: relative; transition: var(--transition); }
.plan.card:hover .plan-header { background: var(--gradient-blue-light); }
.card-body { padding: 2.5rem; }
.price { font-size: 2.8rem; font-weight: 700; color: var(--blue-dark); margin: 1.5rem 0; text-align: center; transition: var(--transition); }
.price span { font-size: 1rem; font-weight: 400; color: var(--gray-dark); opacity: 0.8; }
.features { margin: 2rem 0; padding: 0; }
.features li { list-style: none; padding: 0.8rem 0 0.8rem 2.5rem; margin-bottom: 0.5rem; position: relative; border-bottom: 1px solid var(--gray-medium); transition: var(--transition); }
.features li:hover { transform: translateX(5px); }
.features li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--blue-accent); position: absolute; left: 0; font-size: 1.1rem; }
.btn-plan { background: var(--gradient-blue); color: var(--white); border: none; font-weight: 600; padding: 1rem; border-radius: 8px; width: 100%; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; margin-top: 1rem; box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3); text-decoration: none; display: inline-block; text-align: center; }
.btn-plan:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(13, 59, 102, 0.4); color: var(--white); }
.popular-badge { position: absolute; top: 0; right: 0; width: 150px; height: 150px; overflow: hidden; pointer-events: none; }
.popular-badge::before { content: "Popular"; position: absolute; top: 42px; right: -35px; width: 200px; padding: 8px 0; background-color: var(--blue-light-accent); color: var(--white); font-size: 0.9rem; font-weight: 600; text-align: center; text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); }

/* FEATURES SECTION */
#features { padding: 6rem 0; background: var(--white); position: relative; }
.feature-card { background: var(--white); border-radius: 15px; padding: 2.5rem 2rem; text-align: center; transition: var(--transition); height: 100%; box-shadow: var(--shadow); border-top: 4px solid var(--blue-accent); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(26, 101, 158, 0.15); }
.feature-icon { font-size: 3rem; color: var(--blue-accent); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.feature-card h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 1.2rem; color: var(--blue-dark); position: relative; z-index: 1; }
.feature-card p { position: relative; z-index: 1; color: var(--gray-dark); }

/* DOMAIN SEARCH SECTION */
#domain-search { padding: 5rem 0; background: var(--gradient-blue); color: var(--white); position: relative; overflow: hidden; }
#domain-search::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; opacity: 0.1; z-index: 0; }
.domain-search-container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.domain-search-title { text-align: center; margin-bottom: 2rem; }
.domain-search-title h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.domain-search-form { display: flex; background: var(--white); border-radius: 50px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.domain-search-input { flex: 1; padding: 1.2rem 1.5rem; border: none; outline: none; font-size: 1.1rem; }
.domain-search-button { background: var(--blue-accent); color: var(--white); border: none; padding: 0 2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); cursor: pointer; }
.domain-search-button:hover { background: var(--blue-dark); }

/* FOOTER */
footer { background: var(--black); color: #cbd5e1; padding: 5rem 0 2rem; position: relative; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-weight: 700; font-size: 1.8rem; color: var(--white); margin-bottom: 1.5rem; display: block; transition: var(--transition); }
.footer-logo:hover { transform: scale(1.05); }
.footer-logo img { height: 50px; margin-bottom: 1rem; }
.footer-about p { margin-bottom: 1.5rem; opacity: 0.8; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--white); background: rgba(255, 255, 255, 0.1); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); text-decoration: none; }
.social-links a:hover { background: var(--blue-accent); transform: translateY(-5px); }
.footer-links h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.8rem; }
.footer-links h3:after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--blue-accent); border-radius: 3px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-link { color: #cbd5e1; text-decoration: none; transition: var(--transition); display: inline-block; position: relative; }
.footer-link:hover { color: var(--white); transform: translateX(5px); }
.footer-contact p { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.2rem; }
.footer-contact i { color: var(--blue-accent); margin-top: 3px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; opacity: 0.8; }
.footer-bottom a { color: var(--blue-light-accent); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { color: var(--blue-accent); text-decoration: underline; }

/* Back to top button */
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--blue-accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: var(--transition); opacity: 0; visibility: hidden; z-index: 999; box-shadow: 0 5px 20px rgba(0, 119, 182, 0.3); }
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--blue-dark); transform: translateY(-5px); }

/* ANIMAÇÕES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* RESPONSIVIDADE */
@media (max-width: 991.98px) {
  .navbar-nav { flex-direction: column; gap: 0.5rem; }
  .navbar-buttons { display: flex; flex-direction: column; width: 100%; gap: 0.5rem; margin-top: 1rem; }
  .btn-currency, #client-area-btn { width: 100%; justify-content: center; }
  .dropdown.currency-dropdown { margin: 0; width: 100%; }
  .dropdown-menu { position: static !important; transform: none !important; border: none; box-shadow: none; margin-top: 0; padding-left: 1rem; background-color: rgba(0, 0, 0, 0.03); }
  .dropdown-item { padding: 0.5rem 1rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; }
  #image-slider { height: 450px; }
  .footer-container { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
}
@media (min-width: 992px) { .navbar-buttons { display: flex; align-items: center; gap: 0.8rem; } }
@media (max-width: 768px) { .slide-image { object-fit: cover; } .section-title h2, .cta-title { font-size: 2.2rem; } .plan.card, .feature-card { margin-bottom: 2rem; } .footer-container { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .section-title h2 { font-size: 1.8rem; } .price { font-size: 2.2rem; } .domain-search-form { flex-direction: column; border-radius: 10px; } .domain-search-input { border-radius: 10px 10px 0 0 !important; } .domain-search-button { border-radius: 0 0 10px 10px !important; padding: 1rem; } #image-slider { height: 300px; } }




/* ===============================================
   ESTILOS ADICIONAIS PARA A PÁGINA "A EMPRESA"
   =============================================== */

/* Alinhamento do título da secção de texto */
#about-content .section-title h2::after {
    left: 0;
    transform: translateX(0);
}

/* Secção Call to Action (CTA) Específica */
#cta-empresa {
    position: relative;
    padding: 6rem 0;
    background-image: url('https://images.unsplash.com/photo-1551818255-e6e10975846a?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax */
    color: var(--white);
}
/* Overlay para escurecer o fundo e dar contraste ao texto */
#cta-empresa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(13, 59, 102, 0.9), rgba(26, 101, 158, 0.9));
    z-index: 1;
}
/* Garante que o conteúdo fica por cima do overlay */
#cta-empresa .container {
    position: relative;
    z-index: 2;
}
#cta-empresa h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}
#cta-empresa p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#cta-empresa .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border-width: 2px;
}
#cta-empresa .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
#cta-empresa .btn-light {
    color: var(--blue-dark);
}
#cta-empresa .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--blue-dark);
}

/* ===============================================
   ESTILOS ADICIONAIS PARA A PÁGINA DE CONTACTOS
   =============================================== */

#contact-page .form-label {
    font-weight: 500;
    color: var(--gray-dark);
}

#contact-page .form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

#contact-page .form-control:focus {
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

#contact-page .alert {
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}

/* ===============================================
   ESTILOS ADICIONAIS PARA A PÁGINA DE CONTACTOS
   =============================================== */

#contact-page .form-label { font-weight: 500; color: var(--gray-dark); }
#contact-page .form-control { border-radius: 8px; border: 1px solid var(--gray-medium); padding: 0.8rem 1rem; transition: var(--transition); }
#contact-page .form-control:focus { border-color: var(--blue-accent); box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15); }
#contact-page .alert { border-radius: 8px; padding: 1.2rem; margin-bottom: 2rem; }

/* Wrapper de informações de contacto */
.contact-info-wrapper {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}
.contact-info-wrapper h3 {
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 1rem;
}
.contact-info-wrapper p {
    color: var(--gray-dark);
    opacity: 0.9;
}

/* Item de contacto individual */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--blue-accent);
    margin-top: 5px;
    width: 30px; /* Alinhamento */
    text-align: center;
}
.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--blue-dark);
}
.contact-item a, .contact-item p {
    margin-bottom: 0;
    font-size: 1rem;
    text-decoration: none;
    color: var(--gray-dark);
}
.contact-item a:hover {
    color: var(--blue-accent);
    text-decoration: underline;
}

/* Secção do Mapa */
#map-section {
    padding: 0;
    margin: 0;
    line-height: 0; /* Remove espaços em branco à volta do iframe */
    
    
}
/* --- ESTILOS DE PREÇO FINAIS (PARA CORRESPONDER À IMAGEM) --- */

/* O container principal que envolve a secção de preço */
.card .price {
    display: flex;
    flex-direction: column; /* Organiza os itens verticalmente (etiqueta, linha de preço, período) */
    align-items: center;   /* Centra tudo horizontalmente */
    justify-content: center;
    min-height: 95px;      /* Altura mínima para manter os cartões alinhados */
    margin-bottom: 20px;
    padding-top: 10px;
}

/* A etiqueta "Promoção" */
.price .promotion-label {
    background-color: #FFD700; /* Amarelo-dourado da imagem */
    color: #333;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 8px; /* Espaço entre a etiqueta e os preços */
}

/* A linha que contém os valores (ex: €6,00 €4,99) */
.price .price-line {
    display: flex;
    align-items: baseline; /* Essencial para alinhar preços com tamanhos diferentes */
    justify-content: center;
    gap: 10px; /* Espaço entre o preço antigo e o novo */
}

/* O preço antigo, riscado (ex: €6,00) */
.price .old-price {
    font-size: 1.3rem; /* Tamanho maior, mas não enorme */
    font-weight: 400;
    color: #888; /* Cinzento um pouco mais claro */
    text-decoration: line-through;
}

/* O novo preço da promoção (ex: €4,99) */
.price .promo-price {
    font-size: 2.8rem; /* Tamanho de destaque */
    font-weight: 700;  /* Bem forte */
    color: #00234B;    /* Verde */
    line-height: 1;    /* Remove espaçamento vertical extra */
}

/* O preço normal para planos sem promoção (ex: €12,00) */
.price .current-price {
    font-size: 2.8rem;
    font-weight: 600;
    color: #00234B; /* Azul escuro, a combinar com os botões */
    line-height: 1;
}

/* O período de faturação (ex: /ano) */
.price .period {
    font-size: 1rem;
    color: #6c757d;
    margin-top: -5px; /* Puxa o texto ligeiramente para cima, como na imagem */
}