:root {
    --primary-color: #0984e3;
    --secondary-color: #2d3436;
    --accent-color: #00b894;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --text-color: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
}

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

.reassurance-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.contact-address {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #076bb8;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-desktop ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-desktop a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--radius);
}

.btn-nav:hover {
    background-color: #076bb8 !important;
}

/* V3 Phone Button */
.btn-phone {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    margin-right: 10px;
}

.btn-phone:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.mobile-phone {
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile.active {
    display: block;
}

/* Hero */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
    /* Header height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.jpg');
    /* Cinematic aerial landscape */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    /* Changed from center */
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Highlight Badge */
.service-highlight {
    border: 2px solid var(--primary-color);
}

.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    /* Red for attention */
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Tarifs */
.pricing-card {
    background: var(--white);
    max-width: 600px;
    margin: 40px auto 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
}

.pricing-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
}

.pricing-header h3 {
    margin-bottom: 10px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
}

.price .unit {
    font-size: 1.2rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.pricing-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0 30px 30px;
    font-style: italic;
}

.pricing-card .btn {
    margin-bottom: 40px;
}

/* Zones */
.zones-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.zones-content ul {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

.zones-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.zones-content li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Process */
.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    /* Mobile alignment */
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact */
.contact-container {
    max-width: 800px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-link {
    display: inline-block;
    margin: 0 10px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .timeline::before {
        left: 20px;
    }
}

@media (min-width: 769px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 40px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item .step-number {
        left: auto;
        right: -20px;
    }

    .timeline-item:nth-child(even) .step-number {
        right: auto;
        left: -20px;
    }
}

/* Sub-pages Styles */
.page-main {
    padding-top: 100px;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-subtitle {
    color: var(--text-light);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    /* Add horizontal padding for mobile */
    font-size: 1.1rem;
}

.section-title {
    margin-top: 50px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.card-highlight {
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.card-highlight.accent {
    border-left-color: var(--accent-color);
}

.card-highlight.danger {
    border-left-color: #e74c3c;
}

.card-highlight.neutral {
    border-left-color: #636e72;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.list-disc {
    margin-top: 15px;
    list-style: disc;
    padding-left: 20px;
}

.text-bold {
    font-weight: bold;
}

.mt-15 {
    margin-top: 15px;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 30px;
    box-shadow: var(--shadow);
}

.list-forbidden li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.icon-forbidden {
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.bg-warning {
    background-color: #ffeaa7;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 5px solid #fdcb6e;
}

.cta-box {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
    margin-top: 60px;
    text-align: center;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-text {
    margin-bottom: 25px;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .hero-image {
        height: 250px;
    }
}