:root {
    --primary: #0a1f33; /* Azul Marinho #0a1f33;*/
    --secondary: #7a0000; /* Verde Esmeralda #00c092;*/
    --text-light: #ffffff;
    --text-dark: #333;
    --bg-light: #f4f7f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

/*.logo span { color: var(--secondary); }*/

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    /*margin: 0 15px;*/
    font-weight: 500;
}

.btn-client {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

/* Hero Section */
/* Container pai para segurar os elementos absolutos */
#home-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px; /* Altura da sua seção hero */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
}

/* Polígono Azul */
.hero {
    position: relative;
    background-color: var(--primary);
    color: white;
    width: 50%; /* Largura do polígono */
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    /* O polígono "corta" o lado direito em diagonal */
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
    z-index: 2; /* Fica acima da imagem */
    padding: 60px 0;
}

/* Imagem da Katia e Robs */
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end; /* reforça alinhamento à direita */
}

.hero-grid {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 40px;
    align-items: center;
}

/* Ajuste do Texto para garantir que não saia do polígono */
.hero-text {
    max-width: 550px;
    z-index: 3; /* Texto é a camada mais alta */
    padding-left: 20px;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.btn-main {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 25px;
    font-weight: bold;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top; /* <- ESSA LINHA resolve */
}

/* Ajuste dos botões para não ficarem grudados */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsividade: No celular, o polígono some ou vira fundo inteiro */
@media (max-width: 992px) {
    .hero {
        width: 100%;
        clip-path: none;
        background: rgba(10, 31, 51, 0.85); /* Fundo semi-transparente sobre a foto */
    }
    .hero-image {
        width: 100%;
    }
}


/* Services */
.services { padding: 70px 0; text-align: center; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: white;
    height: 100%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

.service-card:hover { 
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.service-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Footer & Contact */
.contact-footer {
    background: var(--primary);
    color: white;
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.contact-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
}

.faq-item {
    padding-bottom: 10px;
}

.faq-item a {
    text-decoration: none; /* remove underline */
    color: inherit;        /* mantém a cor original */
    display: block;        /* faz o link ocupar toda a área */
}

.faq-item a:hover {
    /*color: #e50040;*/
    font-weight: bold;
    cursor: pointer;
}

.footer {
    background: var(--primary);
    color: white;
    padding: 30px 10px;
}

section h3{
     padding-bottom: 20px;
}

.btn-submit {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
}

/* *********** BARRA DE NAVEGAÇAO ************ */
.topo a:link, a:visited {
	/*color: #b10333;*/
	padding: 2px;
}

.topo a:hover {
	color: #e50040;
    border-bottom: #69001d;
}

.topo ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#topo ul {
	background: #fff;
	margin-top: 30px;
	float: left;
}

#topo ul li {
	float: left;
}

#topo ul a {
	font-size: 0.9em;
	display: block;
	padding: 0.5em 1.5em;
	line-height: 2.1em;
	text-decoration: none;
	color: #000;
	background: url(divisor.png) no-repeat left center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

#topo ul .primeiro a {
	background: none;
}

#topo ul a:hover {
	color: #69001d;
    border-bottom: 3px solid #e50040;
}

/* Recurso para deixa o background do menu fixo */
body.home #navegacao a#home,
body.servicos #navegacao a#servicos,
body.planos #navegacao a#planos,
body.sobre #navegacao a#sobre,
body.faq #navegacao a#faq
{
	color: #b10333;
	background: #fff;
	cursor: text;
    border-bottom: 3px solid #b10333;
}


/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

/* *********************** PAGINA SERVIÇOS ***************************** */

/* HERO */
.servicos-hero {
    position: relative;
    height: 300px;
    background: url('img/banner_servicos.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.servicos-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 51, 0.7);
    top: 0;
    left: 0;
}

.servicos-hero h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    z-index: 2;
}

/* SERVIÇOS */
.servicos-detalhes {
    padding: 80px 0;
    background: #f4f7f9;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servico-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.servico-box:hover {
    transform: translateY(-5px);
}

.servico-box i {
    font-size: 40px;
    color: #7a0000;
    margin-bottom: 15px;
}

.servico-box h3 {
    margin-bottom: 10px;
}

/* CTA */
.cta-servicos {
    padding: 60px 0;
    text-align: center;
    background: #ffffff;
}

.cta-servicos h2 {
    margin-bottom: 30px;
    color: #0a1f33;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* BOTÃO SECUNDÁRIO */
.btn-main.secondary {
    background: #0a1f33;
}

.contact-info-box {
    background: transparent;
    color: #0a1f33;
}

.contact-info-box h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Cada linha (telefone / email) */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Ícones */
.contact-item i {
    color: #0a1f33;
    font-size: 16px;
}

/* FUNDO CINZA DIFERENTE */
.contact-footer {
    background: #e9edf1; /* cinza suave (diferente do bg-light) */
    color: #333;
    padding: 60px 0;
}

/* TEXTO DO BLOCO CONTATO */
.contact-footer h3 {
    color: #0a1f33;
}

/* RODAPÉ FINAL (AZUL ESCURO) */
.container.footer {
    background: #0a1f33; /* azul marinho */
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-radius: 5px;
}

.container.footer {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer {
    background: #0a1f33;
    color: #ffffff;
    width: 100%;
    padding: 20px 0;
    /*margin-top: 40px;*/
}

.footer .container {
    text-align: center;
}

.planos-section {
    padding: 80px 0;
    background: #f4f7f9;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.plano-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.plano-card:hover {
    transform: translateY(-5px);
}

/* TITULO */
.plano-card h3 {
    margin-bottom: 10px;
    color: #0a1f33;
}

.sub {
    color: #7a0000;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* LISTA */
.plano-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.plano-card li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.plano-card i {
    color: #00c092;
}

/* PREÇO */
.price {
    font-weight: bold;
    margin-bottom: 20px;
    color: #0a1f33;
}

.price.small {
    font-weight: normal;
    color: #555;
}

/* HERO */
.planos-hero {
    position: relative;
    height: 300px;
    background: url('img/banner_planos.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.planos-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 51, 0.7);
    top: 0;
    left: 0;
}

.planos-hero h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    z-index: 2;
}

/* sobre */
/* HERO */
.sobre-hero {
    position: relative;
    height: 320px;
    background: url('img/banner_sobre.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.sobre-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,31,51,0.75);
}

.sobre-hero .container {
    position: relative;
    z-index: 2;
    color: white;
}

.sobre-hero h1 {
    font-size: 3rem;
}

.sobre-hero p {
    margin-top: 10px;
    color: #ddd;
}

/* BLOCO PRINCIPAL */
.sobre-main {
    padding: 80px 0;
    background: #fff;
}

.sobre-flex {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-text h2 {
    margin: 25px 0 10px;
    color: #0a1f33;
}

.sobre-text p {
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

/* IMAGEM */
.sobre-image img {
    width: 100%;
    border-radius: 10px;
}

/* DIFERENCIAIS */
.diferenciais {
    background: #f4f7f9;
    padding: 60px 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

.diferencial {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.diferencial:hover {
    transform: translateY(-5px);
}

.diferencial i {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.sobre-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
}

.sobre-overlay-text h3 {
    font-size: 1.5rem;
}

.sobre-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Overlay escuro elegante */
.sobre-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 31, 51, 0.7),
        rgba(10, 31, 51, 0.2)
    );
    opacity: 0.6;
    transition: 0.4s;
}

/* Imagem */
.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover profissional */
.sobre-image:hover img {
    transform: scale(1.05);
}

.sobre-image:hover::after {
    opacity: 0.8;
}

/* fac */

/* HERO */
.faq-hero {
    position: relative;
    height: 300px;
    background: url('img/banner_faq.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.faq-hero .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 51, 0.7);
    top: 0;
    left: 0;
}

.faq-hero h1 {
    position: relative;
    color: white;
    font-size: 3rem;
    z-index: 2;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: #f4f7f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.faq-card {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-card h3 {
    color: #0a1f33;
    margin-bottom: 10px;
}

.faq-card p {
    color: #555;
    line-height: 1.5;
}