/* style.css - Arquivo CSS externo para cacavazamentoemgoiania.com.br */

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: #ffeb3b;
}

.logo .city {
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: #ffeb3b;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffeb3b;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
}

.hero-content {
    color: white;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-sub {
    font-size: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-sub i {
    color: #4CAF50;
    margin-right: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ffeb3b;
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.3);
}

.btn:hover {
    background: #fdd835;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(90deg, #e53935, #d32f2f);
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.emergency-banner i {
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.emergency-banner a {
    color: white;
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.emergency-banner a:hover {
    color: #ffeb3b;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 90px;
    right: 25px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Sections Common Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #0d47a1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #1e88e5;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #1e88e5;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    color: #1e88e5;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #0d47a1;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: #4CAF50;
}

/* Content Section */
.content-section {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-text h3 {
    color: #1e88e5;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.content-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #555;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s;
}

.content-image:hover img {
    transform: scale(1.02);
}

/* Coverage Areas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #1e88e5;
}

.area-card i {
    font-size: 2.5rem;
    color: #1e88e5;
    margin-bottom: 1.2rem;
}

.area-card h3 {
    color: #0d47a1;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.coverage-text {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #1e88e5;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e3f2fd;
}

.faq-question h3 {
    color: #0d47a1;
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #1e88e5;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    line-height: 1.7;
    color: #555;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    color: #0d47a1;
    margin-bottom: 1.8rem;
    font-size: 1.9rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f0f7ff;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #1e88e5;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #eee;
}

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: #e3f2fd;
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    color: #555;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: #1e88e5;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #777;
    font-size: 0.9rem;
}

/* Contact */
.contact-form {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    background: white;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2.5rem;
    color: #1e88e5;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #0d47a1;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #555;
}

.contact-item a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0d47a1, #0a3a8a);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    margin-bottom: 1.8rem;
    color: #ffeb3b;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ffeb3b;
}

.footer-column p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.9rem;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ffeb3b;
    opacity: 1;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.contact-list i {
    width: 20px;
    color: #ffeb3b;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ffeb3b;
    color: #0d47a1;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ffeb3b;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-img {
        order: -1;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        height: auto;
        padding: 8rem 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px;
        font-size: 28px;
    }
    
    .emergency-banner {
        font-size: 0.9rem;
        padding: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .emergency-banner,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
}
/* Form Message Styles */
.form-message {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.message {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message i {
    font-size: 1.5rem;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #1e88e5;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
}

/* Form Note */
.form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments for form */
@media (max-width: 576px) {
    .checkbox-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .message {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* Thank You Page */
.thank-you-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    padding: 2rem;
}

.thank-you-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.thank-you-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.thank-you-content h1 {
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.thank-you-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

.btn-secondary {
    background: #757575;
    color: white;
}

.btn-secondary:hover {
    background: #616161;
}