@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --primary: #000000; /* Noir base */
    --primary-light: #f1f1f1;
    --secondary: #ff8c00; /* Orange base */
    --text-main: #000000;
    --text-muted: #4b5563;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border: #E2E8F0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .font-heading {
    font-family: 'Outfit', sans-serif;
    color: #0F172A;
}

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

/* Utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Force white text on buttons inside nav */
.nav-links .btn {
    color: white !important;
}

/* Hero Section with Form */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1587620962725-abab7fe55159?auto=format&fit=crop&w=1920&q=85');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/* White frost overlay to keep text readable on white/light theme */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.quick-quote-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.quick-quote-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================
   STATS / CHIFFRES CLÉS
   ============================ */
.stats-section {
    background: #000000;
    padding: 15px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-item:last-child { border-bottom: none; }
}

/* ============================
   CORE SECTION STYLES (RESTORED)
   ============================ */
section {
    padding: 60px 0;
}

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

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Services & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 52px;
    height: 52px;
    background: #fff3e0;
    color: var(--secondary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Responsive - Services Grid */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* ============================
   PACKS & TARIFS
   ============================ */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.pack-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.pack-featured {
    border: 2px solid var(--secondary);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pack-featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pack-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.pack-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pack-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pack-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pack-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pack-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pack-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pack-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.pack-features li i {
    color: #22C55E;
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

@media (max-width: 1024px) {
    .packs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pack-featured {
        transform: none;
    }
    .pack-featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .packs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   PROCESS SECTION - TIMELINE
   ============================ */
/* Process Section Redesign - Timeline Style */
.process-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.process-container::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--secondary) 0, var(--secondary) 10px, transparent 10px, transparent 20px);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.1);
}

.process-step:hover .step-circle {
    background: var(--secondary);
    color: white;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-container { flex-wrap: wrap; gap: 3rem; }
    .process-container::after { display: none; }
    .process-step { flex: 0 0 calc(50% - 1.5rem); }
}

@media (max-width: 600px) {
    .process-step { flex: 0 0 100%; }
}

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-item[open] {
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.08);
}

.faq-item summary {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================
   FLOAT CTAs
   ============================ */
/* Float CTAs */
.float-ctas {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-btn { background-color: #25D366; }
.phone-btn { background-color: var(--primary); }

/* ============================
   RESPONSIVE - HERO & NAVBAR
   ============================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-content { max-width: 100%; }
    .hero-features { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .quick-quote-card { margin-top: 2rem; }
}
/* ============================
   FOOTER & SOCIALS
   ============================ */
.social-links a:hover {
    background: var(--secondary) !important;
    transform: translateY(-3px);
}

.footer-grid a:hover {
    color: var(--secondary) !important;
    padding-left: 5px;
    transition: all 0.3s;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .footer-grid div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .social-links {
        justify-content: center;
    }
}

.btn-whatsapp-form:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ============================
   CUSTOM CURSOR EFFECT
   ============================ */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary);
    transition: all 0.15s ease-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

/* State when hovering interactive elements */
.cursor-hover .cursor-outline {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 140, 0, 0.1);
    border-width: 1px;
}

.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
}
