/* VIAprevent - CSS Mobile-First */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    font-size: 14px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 35px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: bold;
}

.logo-text span {
    color: #7dd3c0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 8px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #7dd3c0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 95, 74, 0.85), rgba(26, 95, 74, 0.85)),
                url('20251212_115842.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 15px 30px;
}

.hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.hero-content h1 span {
    color: #7dd3c0;
}

.hero-content p {
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto 15px;
    color: rgba(255,255,255,0.95);
}

.tagline {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    color: #7dd3c0;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-btn {
    display: inline-block;
    background: #7dd3c0;
    color: #1a5f4a;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s;
    text-align: center;
}

.hero-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btn-outline:hover {
    background: white;
    color: #1a5f4a;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    padding: 80px 15px 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 40px 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.4rem;
    color: #1a5f4a;
    margin-bottom: 25px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #7dd3c0;
    margin: 10px auto 0;
}

/* Feature Cards */
.features {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-card {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5f4a, #2d8a6e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: #1a5f4a;
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #666;
}

/* Application Cards */
.applications {
    background: #f8f9fa;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.app-card {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.app-card h3 {
    color: #1a5f4a;
    font-size: 1rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #7dd3c0;
}

.app-card p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Features List */
.features-list {
    background: white;
}

.features-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.feature-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #1a5f4a;
}

.feature-item p {
    color: #333;
    font-size: 0.85rem;
}

/* Pricing */
.pricing {
    background: #f8f9fa;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    background: white;
}

.pricing-card:hover {
    border-color: #1a5f4a;
    box-shadow: 0 5px 25px rgba(26, 95, 74, 0.15);
}

.pricing-card.featured {
    border-color: #1a5f4a;
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 15px 0;
}

.pricing-card .price span {
    font-size: 0.85rem;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 0.85rem;
}

.pricing-card.featured li {
    border-color: rgba(255,255,255,0.2);
}

.cta-btn {
    display: inline-block;
    background: #1a5f4a;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s;
    margin-top: 15px;
}

.cta-btn:hover {
    background: #2d8a6e;
    transform: translateY(-2px);
}

.pricing-card.featured .cta-btn {
    background: white;
    color: #1a5f4a;
}

.pricing-card.featured .cta-btn:hover {
    background: #7dd3c0;
}

/* Documentation */
.docs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.doc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.doc-card:hover {
    transform: translateY(-3px);
}

.doc-card-header {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.doc-card-header .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.doc-card-header h3 {
    font-size: 1.1rem;
}

.doc-card-body {
    padding: 20px;
}

.doc-card-body p {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.85rem;
}

.doc-card-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.doc-card-body ul li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    padding-left: 20px;
    position: relative;
    font-size: 0.85rem;
}

.doc-card-body ul li::before {
    content: '✓';
    color: #1a5f4a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 15px rgba(26, 95, 74, 0.4);
}

.download-btn .size {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 8px;
}

/* Specs Section */
.specs-section {
    background: #f8f9fa;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.spec-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.spec-card h4 {
    color: #1a5f4a;
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-card table {
    width: 100%;
    border-collapse: collapse;
}

.spec-card table td {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.8rem;
}

.spec-card table td:first-child {
    color: #666;
}

.spec-card table td:last-child {
    text-align: right;
    font-weight: 500;
    color: #1a5f4a;
}

/* RGPD Highlight */
.rgpd-highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    margin-top: 25px;
}

.rgpd-highlight h3 {
    color: #1a5f4a;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.rgpd-highlight .badge {
    display: inline-block;
    background: #1a5f4a;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.rgpd-highlight p {
    max-width: 700px;
    margin: 0 auto;
    color: #333;
    font-size: 0.85rem;
}

/* Contact */
.contact {
    background: #f8f9fa;
}

.contact-info {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-info a {
    color: #1a5f4a;
    font-weight: bold;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.email-links {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.email-links p {
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.email-links p:last-child {
    margin-bottom: 0;
}

.company-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.company-details h3 {
    color: #1a5f4a;
    margin-bottom: 10px;
    font-size: 1rem;
}

.company-details p {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* Portail */
.portal-features {
    background: #f8f9fa;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.portal-card {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.portal-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.portal-card h3 {
    color: #1a5f4a;
    margin-bottom: 8px;
    font-size: 1rem;
}

.portal-card p {
    color: #666;
    font-size: 0.85rem;
}

.portal-access {
    text-align: center;
    padding: 30px 15px;
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
}

.portal-access h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.portal-access .cta-btn {
    background: white;
    color: #1a5f4a;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 100%);
    color: white;
    text-align: center;
    padding: 40px 15px;
}

.cta-section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.cta-section p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.cta-section .cta-btn {
    background: white;
    color: #1a5f4a;
}

.cta-section .cta-btn:hover {
    background: #7dd3c0;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 25px 15px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 45px;
}

.footer-info {
    opacity: 0.7;
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-info a {
    color: #7dd3c0;
}

/* ==================== */
/* TABLET (min 600px) */
/* ==================== */
@media (min-width: 600px) {
    body {
        font-size: 15px;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    nav a {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .hero {
        padding: 100px 20px 50px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .page-header {
        padding: 100px 20px 50px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    .features-grid,
    .app-grid,
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .features-grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== */
/* DESKTOP (min 900px) */
/* ==================== */
@media (min-width: 900px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 15px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo img {
        height: 45px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    nav a {
        font-size: 0.9rem;
        margin-left: 25px;
        padding: 0;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 1.2rem !important;
    }

    .page-header {
        padding: 120px 20px 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features-grid,
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .portal-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .app-card {
        padding: 30px 25px;
    }

    .app-card h3 {
        font-size: 1.1rem;
    }

    .app-card p {
        font-size: 0.9rem;
    }

    .pricing-card {
        padding: 35px 30px;
    }

    .pricing-card .price {
        font-size: 2.2rem;
    }

    .doc-card-header {
        padding: 25px;
    }

    .doc-card-body {
        padding: 25px;
    }

    .contact-info {
        padding: 40px 35px;
    }

    footer {
        padding: 35px 20px;
    }

    .footer-logo img {
        height: 55px;
    }

    .footer-info {
        font-size: 0.85rem;
    }
}

/* ==================== */
/* LARGE DESKTOP (min 1200px) */
/* ==================== */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        gap: 30px;
    }
}
