/* --- RESET & VARIABLES (STYLE APPLE / ATELIER) --- */
:root {
    --bg: #F5F5F7;
    /* Gris clair Apple */
    --card-bg: #FFFFFF;
    /* Blanc pur */
    --text-main: #1d1d1f;
    /* Noir Charbon */
    --text-muted: #86868b;
    /* Gris texte */
    --accent: #10b981;
    /* Vert Logo */
    --radius: 24px;
    /* Arrondis importants */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-gradient {
    background: -webkit-linear-gradient(0deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.uptitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

/* --- UTILS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.bg-grey {
    background-color: #eef0f2;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    background: #f0f0f0;
}

.full-width {
    width: 100%;
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    background: var(--text-main);
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem !important;
}

/* --- HERO --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: block;
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- BENTO GRID (SHOWCASE) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
    margin-top: 50px;
}

.col-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bento-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento-card:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.small-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.2rem;
}

/* GRANDE CARTE (IFRAME) */
.large-card {
    padding: 0;
    height: 600px;
    display: flex;
    flex-direction: column;
    background: #fbfbfd;
    border: 8px solid white;
}

.browser-bar {
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #d1d1d6;
    border-radius: 50%;
}

.url-bar {
    margin: 0 auto;
    background: #e5e5ea;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.iframe-container {
    flex-grow: 1;
    position: relative;
    margin-top: 50px;
    height: 100%;
    overflow: hidden;
}

/* LE SECRET DU ZOOM IFRAME */
.iframe-container iframe {
    width: 100%;
    height: 100%;
    /* Ajusté pour remplir le cadre */
    border: none;
}

/* OVERLAY AU SURVOL */
.iframe-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 20;
    cursor: pointer;
}

.group:hover .iframe-overlay {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
}

.btn-overlay {
    background: var(--text-main);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.group:hover .btn-overlay {
    opacity: 1;
    transform: translateY(0);
}

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

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-visual {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-visual img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.card-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.tag {
    font-size: 0.75rem;
    color: var(--accent);
    /* Green accent */
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* CALCULATEUR ROI */
.roi-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

.slider-wrapper {
    margin: 20px 0 40px;
}

input[type=range] {
    width: 100%;
    height: 6px;
    background: #e5e5ea;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    border: 4px solid white;
    cursor: pointer;
}

.slider-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 15px;
}

.results-area {
    background: #fbfbfd;
    border-radius: 20px;
    padding: 24px;
    text-align: left;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.text-red {
    color: #ef4444;
    font-weight: 600;
}

.text-black {
    color: var(--text-main);
    font-weight: 600;
}

.text-green {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

hr {
    border: none;
    border-top: 1px solid #e5e5ea;
    margin: 15px 0;
}

.main-result {
    align-items: center;
}

/* TARIFS SIMPLE */
.pricing-grid {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 40px;
}

.pricing-card {
    text-align: center;
    padding: 50px 40px;
    border: 2px solid var(--accent);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 10px 0;
}

.pay-once {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-body ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-body li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.pricing-body i {
    color: var(--accent);
}

.bonus i {
    color: #10b981;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 20px;
}

/* CONTACT & FOOTER */
.contact-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

footer {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
}