/* ============================================
   DEVIS ALARME PAGE STYLES
   ============================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: white;
}

/* White Banner Styles */
.devis-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo - Centered */
.banner-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.banner-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Spacer for fixed banner */
body {
    padding-top: 100px;
}

/* ============================================
   PROGRESS SECTION
   ============================================ */

.progress-section {
    padding: 3rem 2rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 100px;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
}

.progress-container {
    width: 100%;
}

/* Progress Bar Wrapper */
.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* Progress Circle (0%) */
.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FF3333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    z-index: 2;
    margin-right: -20px;
}

/* Progress Bar Track */
.progress-bar {
    flex: 1;
    height: 12px;
    background: #E0E0E0;
    border-radius: 6px;
    position: relative;
    overflow: visible;
}

/* Progress Fill */
.progress-fill {
    height: 100%;
    background: #FF3333;
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Progress Endpoint (gray circle) */
.progress-endpoint {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E0E0E0;
    flex-shrink: 0;
    z-index: 2;
    margin-left: -20px;
}

/* Progress Labels */
.progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

.progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-label.active {
    color: #333;
}

/* ============================================
   QUESTION SECTION
   ============================================ */

.question-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Reduce spacing for question 2 */
#question-2 {
    padding-top: 1rem;
}

/* Reduce spacing for question 3 */
#question-3 {
    padding-top: 1rem;
}

/* Reduce spacing for question 4 */
#question-4 {
    padding-top: 1rem;
}

.question-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Roboto', Arial, sans-serif;
}

.question-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Choice Cards */
.choice-cards {
    display: flex;
    gap: 5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Business Cards Grid (3 columns for 6 items) */
.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.choice-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: #E8E8E8;
    border-radius: 0 50px 50px 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.choice-card:hover {
    background: #FF3333;
    border-color: #FF3333;
}

.choice-card:hover .card-text {
    color: white;
}

.choice-card:hover .card-icon-img {
    filter: brightness(0) invert(1);
}

/* Selected state */
.choice-card.selected {
    background: #FF3333;
    border-color: #FF3333;
}

.choice-card.selected .card-text {
    color: white;
}

.choice-card.selected .card-icon-img {
    filter: brightness(0) invert(1);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-img {
    width: 40px;
    height: 40px;
    transition: filter 0.3s ease;
}

.card-icon-svg {
    width: 40px;
    height: 40px;
    color: #333;
}

.card-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

/* ============================================
   POSTAL CODE SECTION
   ============================================ */

.postal-code-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.postal-code-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Roboto', Arial, sans-serif;
}

.postal-code-input-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.postal-code-input {
    width: 400px;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    background: #F8F8F8;
    font-family: 'Roboto', Arial, sans-serif;
    transition: all 0.3s ease;
}

.postal-code-input:focus {
    outline: none;
    border-color: #FF3333;
    background: white;
}

.postal-code-input::placeholder {
    color: #999;
}

.postal-code-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: #FF3333;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.postal-code-button:hover {
    background: #E02B2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .postal-code-input {
        width: 100%;
        max-width: 350px;
    }

    .postal-code-button {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

/* ============================================
   FOOTER SECTION STYLES
   ============================================ */

.alarm-footer {
    background: white;
    padding: 4rem 2rem 2rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4rem;
}

/* Footer Company Column */
.footer-company {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.footer-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-item:hover {
    color: #FF3333;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: #FF3333;
    flex-shrink: 0;
}

/* Footer Hours Column */
.footer-hours {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-family: 'Roboto', sans-serif;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hours-day {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.hours-time {
    font-size: 0.9rem;
    color: #666;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alarm-footer .footer-nav .footer-nav-link {
    color: #333 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.alarm-footer .footer-nav .footer-nav-link:hover {
    color: #FF3333 !important;
    padding-left: 0.5rem;
}

/* Footer Map Column */
.footer-map {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    background: white;
    border-top: 1px solid #e0e0e0;
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #FF3333;
}

.footer-separator {
    color: #d0d0d0;
    font-size: 0.85rem;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .alarm-footer {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-logo {
        height: 45px;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-title {
        font-size: 1rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-separator {
        display: none;
    }
}
