/* ============================================================
   NOVASLAN Theme — CSS
   ============================================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo img {
    height: 34px;
}

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

.nav-link {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    background: #4CAF50;
    margin-left: 8px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #43A047;
    transform: translateY(-1px);
}

.nav-cta.nav-cta-purple { background: #7B1FA2; }
.nav-cta.nav-cta-purple:hover { background: #6A1B9A; }

.nav-cta.nav-cta-blue { background: #1976D2; }
.nav-cta.nav-cta-blue:hover { background: #1565C0; }

/* Nav CTA style bouton blanc */
.nav-cta.nav-cta-glow {
    background: #fff;
    color: #1976D2;
    -webkit-text-fill-color: #1976D2;
    border: 1px solid rgba(150,150,150,0.2);
}

.nav-cta.nav-cta-glow:hover {
    background: #fff;
    -webkit-text-fill-color: #1976D2;
    transform: translateY(-1px);
}

/* ============================================================
   NAV DROPDOWN
   ============================================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-arrow {
    transition: transform 0.2s;
    opacity: 0.6;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    padding-top: 16px;
    min-width: 300px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: background 0.15s;
}

.nav-dropdown-item:hover {
    background: #f5f5f5;
}

.nav-dropdown-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-dropdown-dot.qse { background: #4CAF50; }
.nav-dropdown-dot.auscultation { background: #9C27B0; }
.nav-dropdown-dot.diagnostic { background: #2196F3; }
.nav-dropdown-dot.capteurs { background: #7B1FA2; }

.nav-dropdown-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.nav-dropdown-desc {
    font-size: 12px;
    color: #888;
}

.nav-dropdown-badge {
    font-size: 10px;
    background: rgba(156,39,176,0.1);
    color: #7B1FA2;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 4px;
    font-weight: 600;
    vertical-align: middle;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    padding: 120px 24px 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,80,0.08) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,80,0.05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Owl mascot on the T */
.letter-t {
    position: relative;
    display: inline-block;
}

.owl-mascot {
    position: absolute;
    bottom: 38%;
    left: 50%;
    width: 90px;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    animation: owl-fall 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

@keyframes owl-fall {
    0% {
        transform: translateX(-50%) translateY(-350px) rotate(-8deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    60% {
        transform: translateX(-50%) translateY(6px) rotate(3deg);
    }
    75% {
        transform: translateX(-50%) translateY(-14px) rotate(-2deg);
    }
    88% {
        transform: translateX(-50%) translateY(2px) rotate(1deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
}

.hero .subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76,175,80,0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

/* Boutons sur hero coloré (fond vert/violet/bleu) */
.hero-colored .btn-primary {
    background: #fff;
}

.hero-green .btn-primary { color: #1B5E20; }
.hero-purple .btn-primary { color: #4A148C; }
.hero-blue .btn-primary { color: #0D47A1; }

.hero-colored .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-colored .btn-secondary {
    border-color: rgba(255,255,255,0.5);
}

.hero-colored .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Bouton avec contour animé gradient (accueil) */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes spin-border {
    to { --border-angle: 360deg; }
}

.btn-gradient-wrap {
    display: inline-flex;
    padding: 2px;
    border-radius: 16px;
    background: conic-gradient(from var(--border-angle, 0deg), #4CAF50, #9C27B0, #2196F3, #4CAF50);
    animation: spin-border 4s linear infinite;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-gradient-border {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #16213e;
    background: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 100px 24px;
}

.section-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    color: #fff;
}

.section-light {
    background: #f8f9fa;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   CARDS — Solutions
   ============================================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    background: #fff;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.solution-card-header {
    padding: 36px 28px;
    color: #fff;
}

.solution-card-header.qse { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.solution-card-header.auscultation { background: linear-gradient(135deg, #9C27B0, #6A1B9A); }
.solution-card-header.capteurs { background: linear-gradient(135deg, #7B1FA2, #4A148C); }
.solution-card-header.diagnostic { background: linear-gradient(135deg, #2196F3, #1565C0); }

.solution-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.solution-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.solution-card-header p {
    font-size: 13px;
    opacity: 0.8;
}

.solution-card-body {
    padding: 24px 28px;
}

.solution-card-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-card-link {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.solution-card-link:hover {
    gap: 10px;
}

.solution-card-link.qse { color: #4CAF50; }
.solution-card-link.auscultation { color: #9C27B0; }
.solution-card-link.capteurs { color: #7B1FA2; }
.solution-card-link.diagnostic { color: #2196F3; }

/* ============================================================
   FEATURES — Points forts
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 32px 24px;
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon.green { background: rgba(76,175,80,0.1); color: #4CAF50; }
.feature-icon.dark { background: rgba(22,33,62,0.08); color: #16213e; }
.feature-icon.purple { background: rgba(156,39,176,0.1); color: #9C27B0; }

.feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.section-dark .feature-card p {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   MODULE SECTION — texte + mockup
   ============================================================ */
.module-section {
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
    max-width: 1200px;
    margin: 0 auto;
}

.module-section.reverse {
    flex-direction: row-reverse;
}

.module-text {
    flex: 1;
}

.module-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.module-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.module-bullet {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #444;
}

.module-bullet svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.module-mockup {
    flex: 1;
    max-width: 460px;
}

/* ============================================================
   MOCKUPS
   ============================================================ */
.mockup-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-size: 13px;
}

.mockup-header {
    padding: 16px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-header.green { background: linear-gradient(135deg, #4CAF50, #388E3C); }
.mockup-header.purple { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }

.mockup-body {
    padding: 16px 20px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-profile {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #f0f0f0;
}

.pricing-profile h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-price span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.pricing-profile .green { color: #4CAF50; }
.pricing-profile .blue { color: #1976D2; }

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 32px;
}

.pricing-table th {
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 13px;
    background: #f8f9fa;
}

.pricing-table th:first-child {
    text-align: left;
}

.pricing-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: #4CAF50;
}

/* Promo banner */
.promo-banner {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 16px;
    padding: 32px 36px;
    color: #fff;
    margin-bottom: 32px;
}

.promo-banner h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.promo-item {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.promo-item .price {
    font-size: 20px;
    font-weight: 700;
}

.promo-item .old-price {
    font-size: 12px;
    opacity: 0.6;
    text-decoration: line-through;
}

/* ============================================================
   PRICING PLANS (3 cards)
   ============================================================ */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.pricing-plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.pricing-plan-features {
    flex: 1;
}

.pricing-plan-cta {
    text-align: center;
    margin-top: auto;
}

.pricing-plan-card.popular {
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.15);
}

.pricing-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-plan-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-plan-subtitle {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.pricing-plan-desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.pricing-plan-prices {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    min-height: 84px;
    box-sizing: border-box;
}

.pricing-plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-plan-price-row + .pricing-plan-price-row {
    margin-top: 8px;
}

.pricing-plan-price-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.pricing-plan-price-value {
    font-size: 18px;
    font-weight: 700;
}

.pricing-plan-price-unit {
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.pricing-plan-storage {
    font-size: 13px;
    color: #555;
    margin-bottom: 16px;
    text-align: center;
}

.pricing-plan-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.pricing-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.pricing-plan-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-plan-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pricing-plan-btn:hover {
    opacity: 0.85;
}

/* ============================================================
   SIMULATOR
   ============================================================ */
.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.sim-controls {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   PROMISE
   ============================================================ */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.promise-item {
    text-align: center;
    padding: 32px 16px;
}

.promise-item .number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    color: #fff;
    z-index: 1;
}

.section-dark .promise-item .number::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from var(--border-angle, 0deg), #4CAF50, #9C27B0, #2196F3, #4CAF50);
    z-index: -2;
    animation: spin-border 4s linear infinite;
}

.section-dark .promise-item .number::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #1a1a2e;
    z-index: -1;
}

.promise-item p {
    font-size: 15px;
    color: #666;
}

.section-dark .promise-item p {
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    border-radius: 24px;
    padding: 64px 36px;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #333;
}

.contact-detail svg {
    color: #4CAF50;
    flex-shrink: 0;
}

.contact-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contact-form .wpcf7-form p {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

.contact-form .wpcf7-form br {
    display: none !important;
}

.contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 4px !important;
}

.contact-form .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 0;
    transition: border-color 0.2s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #4CAF50, #9C27B0, #2196F3) border-box;
    box-shadow: 0 0 0 3px rgba(156,39,176,0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0a0a0a 100%);
    color: #fff;
    padding: 60px 24px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 28px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links a,
.footer-links p {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.badge-green {
    background: rgba(76,175,80,0.1);
    color: #4CAF50;
    border: 1px solid rgba(76,175,80,0.2);
}

.badge-blue {
    background: rgba(33,150,243,0.1);
    color: #2196F3;
    border: 1px solid rgba(33,150,243,0.2);
}

/* ============================================================
   COMING SOON
   ============================================================ */
.coming-soon-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

/* ============================================================
   PRICING CARDS MOBILE
   ============================================================ */
.pricing-cards-mobile {
    display: none;
}

.pricing-card-mobile {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pricing-card-mobile-header {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    padding: 16px 20px;
    color: #fff;
}

.pricing-card-mobile-pack {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.pricing-card-mobile-comp {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

.pricing-card-mobile-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #f0f0f0;
}

.pricing-card-mobile-price {
    background: #fff;
    padding: 14px 16px;
    text-align: center;
}

.pricing-card-mobile-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pricing-card-mobile-value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.pricing-card-mobile-value.blue {
    color: #1565C0;
}

.pricing-card-mobile-storage {
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
    .hero h1 { font-size: 36px; }
    .hero .subtitle { font-size: 17px; }
    .owl-mascot { width: 75px; }

    .solutions-grid { grid-template-columns: 1fr !important; max-width: 500px; margin-left: auto; margin-right: auto; }
    .pricing-profiles { grid-template-columns: 1fr !important; }
    .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }

    .features-grid { grid-template-columns: 1fr !important; }

    .module-section,
    .module-section.reverse {
        flex-direction: column;
    }

    .module-mockup { max-width: 100%; }

    .section-title { font-size: 28px; }

    /* Pricing : table masquée, tuiles affichées */
    .pricing-desktop { display: none !important; }
    .pricing-cards-mobile { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }

    /* Promo grid */
    .promo-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Plan cards: 1 column on tablet */
    .pricing-plans-grid { grid-template-columns: 1fr !important; max-width: 500px; margin-left: auto; margin-right: auto; }

    /* Simulator: stack on tablet */
    .sim-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .header-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .header-nav.open { display: flex; }

    .nav-cta { margin-left: 0; text-align: center; }

    /* Dropdown mobile */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
        box-shadow: none;
        min-width: auto;
        padding: 4px;
        margin-top: 4px;
    }

    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }

    .nav-dropdown-item:hover { background: rgba(255,255,255,0.05); }
    .nav-dropdown-title { color: #fff; }
    .nav-dropdown-desc { color: rgba(255,255,255,0.5); }
    .nav-dropdown-badge { background: rgba(156,39,176,0.3); color: #CE93D8; }

    .hero { padding: 80px 24px 60px; }
    .hero h1 { font-size: 28px; }
    .owl-mascot { width: 52px; bottom: 32%; }

    .section { padding: 60px 24px; }

    .features-grid { grid-template-columns: 1fr !important; }
    .promise-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr !important; }

    /* Licence Terrain / Responsable : empiler sur mobile */
    .licence-types-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }

    /* Pourquoi les entreprises choisissent : empiler sur mobile */
    .why-novysta-grid { grid-template-columns: 1fr !important; }

    /* Plan cards & simulator mobile */
    .pricing-plans-grid { grid-template-columns: 1fr !important; }
    .sim-grid { grid-template-columns: 1fr !important; }

    /* Module sections : texte + mockup en colonne */
    .module-section,
    .module-section.reverse {
        flex-direction: column !important;
        gap: 24px;
        padding: 30px 0;
    }

    .module-text h3 { font-size: 20px; }

    /* Pricing profiles cards */
    .pricing-profiles { grid-template-columns: 1fr !important; }

    /* Badges et options en colonne */
    .pricing-table th,
    .pricing-table td { font-size: 12px; padding: 10px 8px; white-space: nowrap; }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* S&eacute;curit&eacute; list en colonne align&eacute;e &agrave; gauche */
    .security-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 10px !important;
    }

    /* Solutions page : header banners */
    .container [style*="padding:48px 40px"] { padding: 28px 20px !important; }
    .container [style*="padding:56px 40px"] { padding: 32px 20px !important; }
    .container [style*="font-size:32px"] { font-size: 24px !important; }
}

/* CGV / CGU */
.cgv-article {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.cgv-sub {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 8px;
}

.cgv-list {
    padding-left: 24px;
    margin-bottom: 16px;
}

.cgv-list li {
    margin-bottom: 8px;
}
