/* ====================================================================
   GOOFIES — Feuille de style partagée (toutes les pages)
   Couleurs : bleu #52c0ff / orange #ff8438
   ==================================================================== */

:root {
    --orange: #ff8438;
    --orange-dark: #e66f25;
    --orange-soft: #ff9d5c;
    --blue: #52c0ff;
    --blue-deep: #2d9bdb;
    --blue-bright: #7fd0ff;
    --white: #ffffff;
    --cream: #fff6ef;
    --dark: #2d2218;
    --text: #3a3a3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--orange);
    line-height: 1.7;
}

/* ===== HEADER ===== */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--orange-dark);
    padding: 0.85rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}
.logo-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-img {
    width: 44px; height: 44px; border-radius: 11px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.35);
}
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }

nav.desktop-nav a {
    margin-left: 1.9rem; text-decoration: none; color: var(--white);
    font-weight: 500; font-size: 0.95rem; transition: opacity 0.3s ease;
    position: relative; opacity: 0.92;
}
nav.desktop-nav a:hover { opacity: 1; }
nav.desktop-nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--white); transition: width 0.3s ease;
}
nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after { width: 100%; }
nav.desktop-nav a.active { opacity: 1; font-weight: 700; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; z-index: 1100; }
.burger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: all 0.3s ease; }
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: var(--orange-dark); box-shadow: -5px 0 30px rgba(0,0,0,0.25);
    display: flex; flex-direction: column; justify-content: center;
    padding: 2rem; gap: 1.8rem; transition: right 0.4s ease; z-index: 1050;
}
.mobile-nav.active { right: 0; }
.mobile-nav a { text-decoration: none; color: var(--white); font-size: 1.25rem; font-weight: 600; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1040; }
.overlay.active { display: block; }

/* ===== SECTIONS GÉNÉRIQUES ===== */
section { padding: 5.5rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
    text-align: center; font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800; margin-bottom: 1rem; color: var(--blue-deep);
}
.section-subtitle {
    text-align: center; color: var(--white);
    font-size: 1.15rem; margin-bottom: 3.5rem;
    max-width: 640px; margin-left: auto; margin-right: auto; opacity: 0.96;
}

/* Panneau blanc */
.panel {
    background: var(--white);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    max-width: 1150px; margin: 0 auto;
}
.panel .section-title { color: var(--blue-deep); }
.panel .section-subtitle { color: #777; }

/* Page header (bandeau titre des pages internes) */
.page-head {
    margin-top: 74px;
    padding: 4rem 5% 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 100%);
}
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3rem); color: var(--white); font-weight: 800; margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.page-head p { color: var(--white); font-size: 1.15rem; max-width: 620px; margin: 0 auto; opacity: 0.97; }

/* ===== BOUTONS ===== */
.cta-button {
    display: inline-block; padding: 1.05rem 2.4rem;
    background: var(--blue); color: var(--dark);
    text-decoration: none; border-radius: 50px;
    font-weight: 700; font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: none; cursor: pointer;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.28); background: #3db5ff; }
.cta-button.outline {
    background: transparent; color: var(--white);
    box-shadow: none; border: 2px solid rgba(255,255,255,0.7);
}
.cta-button.outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.cta-button.blue-solid { background: var(--blue-deep); color: var(--white); }
.cta-button.blue-solid:hover { background: #2589c4; }

/* ===== HERO (accueil) ===== */
.hero {
    margin-top: 70px;
    min-height: 92vh;
    display: flex; align-items: center;
    padding: 4rem 5%;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 100%);
}
.hero::before {
    content: ''; position: absolute; top: -30%; right: -8%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}
.hero::after {
    content: ''; position: absolute; bottom: -25%; left: -5%;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(82,192,255,0.22) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem; align-items: center;
}
.hero-content { animation: slideInUp 0.8s ease-out; }
.hero-eyebrow {
    display: inline-block; background: rgba(255,255,255,0.22);
    color: var(--white); font-weight: 600; font-size: 0.9rem;
    padding: 0.45rem 1.1rem; border-radius: 50px; margin-bottom: 1.5rem;
    backdrop-filter: blur(4px); letter-spacing: 0.3px;
}
.hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.3rem);
    font-weight: 800; line-height: 1.18; margin-bottom: 1.4rem;
    color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.hero h1 .highlight {
    display: inline-block; background: var(--white); color: var(--orange-dark);
    padding: 0 0.5rem; border-radius: 6px;
}
.hero p {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--white); margin-bottom: 2.2rem;
    line-height: 1.8; max-width: 540px; opacity: 0.97;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Cartes flottantes du hero */
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: stretch; animation: fadeIn 1.2s ease-out; }
.floating-card {
    background: var(--white);
    border-radius: 16px; padding: 1rem 1.1rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    display: flex; align-items: center; gap: 0.8rem;
    min-height: 76px;
}
.floating-card .fc-icon { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.floating-card .fc-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-card .fc-text strong { display: block; color: var(--dark); font-size: 0.9rem; line-height: 1.2; }
.floating-card .fc-text span { font-size: 0.76rem; color: #888; }
.fc-2, .fc-4, .fc-6 { margin-top: 2.2rem; }
.fc-1 { animation: float 4.5s ease-in-out infinite; } .fc-1 .fc-icon { background: var(--orange); }
.fc-2 { animation: float 4.5s ease-in-out infinite 0.7s; } .fc-2 .fc-icon { background: var(--blue); }
.fc-3 { animation: float 4.5s ease-in-out infinite 1.4s; } .fc-3 .fc-icon { background: var(--orange-dark); }
.fc-4 { animation: float 4.5s ease-in-out infinite 2.1s; } .fc-4 .fc-icon { background: var(--blue); }
.fc-5 { animation: float 4.5s ease-in-out infinite 2.8s; } .fc-5 .fc-icon { background: var(--orange); }
.fc-6 { animation: float 4.5s ease-in-out infinite 3.5s; } .fc-6 .fc-icon { background: var(--orange-dark); }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }
.service-card { padding: 2.2rem; background: var(--cream); border-radius: 14px; transition: all 0.3s ease; border-bottom: 4px solid var(--orange); }
.service-card:nth-child(even) { border-bottom-color: var(--blue); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.service-card:nth-child(even) .service-icon { background: var(--blue); }
.service-icon svg { width: 27px; height: 27px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--blue-deep); font-weight: 700; }
.service-card p { color: #666; font-size: 0.97rem; line-height: 1.75; }

/* ===== POURQUOI UN FREELANCE (comparatif) ===== */
.compare-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: #666; font-size: 1.05rem; line-height: 1.8; }
.compare-table { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; max-width: 920px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 35px rgba(0,0,0,0.08); }
.compare-table > div { padding: 1.1rem 1.3rem; border-bottom: 1px solid #f0eae3; font-size: 0.95rem; }
.compare-head { font-weight: 800; font-size: 1rem !important; color: var(--white); }
.ch-label { background: #f7f5f2; }
.ch-free { background: var(--blue-deep); text-align: center; }
.ch-agency { background: #b0a99f; text-align: center; }
.cc-label { background: #faf8f5; font-weight: 600; color: var(--dark); }
.cc-free { background: var(--cream); }
.cc-agency { background: #fff; color: #999; }
.compare-cta { text-align: center; margin-top: 2.5rem; }

/* ===== PORTFOLIO (aperçu + cartes) ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.project-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.18); transition: all 0.3s ease; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0,0,0,0.25); }
.project-banner { height: 130px; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 1.15rem; text-align: center; padding: 0 1rem; }
.project-card:nth-child(2) .project-banner { background: var(--blue); }
.project-card:nth-child(3) .project-banner { background: linear-gradient(135deg, var(--orange), var(--blue)); }
.project-body { padding: 1.9rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-tag { display: inline-block; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--orange-dark); margin-bottom: 0.9rem; }
.project-body h3 { font-size: 1.25rem; color: var(--blue-deep); margin-bottom: 0.9rem; line-height: 1.3; }
.project-body p { color: #666; font-size: 0.94rem; line-height: 1.7; flex-grow: 1; }
.project-link { display: inline-block; margin-top: 1.2rem; font-size: 0.92rem; font-weight: 700; color: var(--orange); text-decoration: none; transition: color 0.3s ease; }
.project-link:hover { color: var(--blue-deep); }
.center-cta { text-align: center; margin-top: 3rem; }

/* ===== ACCORDÉON RÉALISATIONS ===== */
.accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.acc-item { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-left: 5px solid var(--orange); }
.acc-item:nth-child(even) { border-left-color: var(--blue); }
.acc-item summary { list-style: none; cursor: pointer; padding: 1.6rem 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-head-left { display: flex; flex-direction: column; gap: 0.3rem; }
.acc-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--orange-dark); }
.acc-item:nth-child(even) .acc-tag { color: var(--blue-deep); }
.acc-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.acc-chevron { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.acc-chevron svg { width: 16px; height: 16px; stroke: var(--orange-dark); fill: none; stroke-width: 2.5; }
.acc-item[open] .acc-chevron { transform: rotate(180deg); }
.acc-body { padding: 0 1.8rem 1.8rem; }
.acc-body p { color: #666; font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.acc-body h4 { color: var(--blue-deep); font-size: 0.95rem; margin: 1.2rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.acc-body ul { margin: 0 0 1rem 1.2rem; color: #666; }
.acc-body li { margin-bottom: 0.4rem; }

/* ===== PROCESS (timeline) ===== */
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--orange), var(--blue)); }
.tl-step { position: relative; padding: 0 0 2.5rem 5rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); color: var(--orange-dark); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.12); z-index: 1; }
.tl-step:nth-child(even) .tl-num { border-color: var(--blue); color: var(--blue-deep); }
.tl-card { background: var(--white); border-radius: 14px; padding: 1.6rem 1.8rem; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.tl-card h3 { color: var(--blue-deep); font-size: 1.2rem; margin-bottom: 0.6rem; }
.tl-card p { color: #666; font-size: 0.97rem; line-height: 1.8; }

/* ===== TÉMOIGNAGES ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.testimonial-card { background: var(--white); padding: 2.2rem; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); position: relative; }
.testimonial-card .quote-mark { font-size: 3.5rem; line-height: 1; color: var(--orange); font-family: Georgia, serif; opacity: 0.35; position: absolute; top: 1rem; right: 1.4rem; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 1.4rem; line-height: 1.8; position: relative; z-index: 1; }
.testimonial-author { font-weight: 700; color: var(--orange-dark); }
.testimonial-role { font-weight: 400; color: #999; font-size: 0.9rem; display: block; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.blog-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.12); transition: all 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0,0,0,0.2); }
.blog-thumb { height: 150px; background: linear-gradient(135deg, var(--orange), var(--orange-soft)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; }
.blog-card:nth-child(even) .blog-thumb { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); }
.blog-body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date { font-size: 0.78rem; color: #aaa; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.6rem; }
.blog-body h3 { font-size: 1.15rem; color: var(--blue-deep); margin-bottom: 0.7rem; line-height: 1.35; }
.blog-body p { color: #666; font-size: 0.92rem; line-height: 1.7; flex-grow: 1; }
.blog-link { margin-top: 1rem; font-weight: 700; color: var(--orange); text-decoration: none; font-size: 0.9rem; }
.blog-note { max-width: 700px; margin: 0 auto 2.5rem; text-align: center; background: rgba(255,255,255,0.85); border-radius: 12px; padding: 1.2rem 1.5rem; color: #777; font-size: 0.95rem; }

/* ===== CONTACT ===== */
.calendly-feature { max-width: 720px; margin: 0 auto; background: var(--cream); border-radius: 16px; padding: 0.8rem; box-shadow: 0 10px 35px rgba(0,0,0,0.08); }
.contact-divider { display: flex; align-items: center; text-align: center; max-width: 520px; margin: 3rem auto 2rem; color: #bbb; }
.contact-divider::before, .contact-divider::after { content: ''; flex: 1; height: 1px; background: #e5ded6; }
.contact-divider span { padding: 0 1.2rem; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; text-align: left; }
.contact-form-slim { max-width: 520px; margin: 0 auto; }
.contact-form label { font-weight: 600; font-size: 0.88rem; margin-bottom: -0.6rem; color: var(--blue-deep); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 1.1rem; }
.form-field label { font-weight: 600; font-size: 0.88rem; margin-bottom: -0.6rem; color: var(--blue-deep); }
input, textarea, select { padding: 0.95rem; border: 2px solid #eee; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; width: 100%; background: #fff; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,132,56,0.15); }
textarea { resize: vertical; min-height: 120px; }
.form-submit { align-self: center; margin-top: 0.6rem; }
.contact-alt { margin-top: 1.5rem; color: #999; font-size: 0.95rem; text-align: center; }
.contact-alt a { color: var(--orange); font-weight: 600; text-decoration: none; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: var(--white); padding: 3rem 5%; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-logo img { width: 36px; height: 36px; border-radius: 9px; }
.footer-logo span { font-weight: 800; font-size: 1.2rem; color: var(--orange-soft); }
footer p { margin-bottom: 0.5rem; opacity: 0.9; font-size: 0.95rem; }
.footer-nav { margin: 1.2rem 0; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: var(--blue-bright); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal a { color: #888; text-decoration: none; font-size: 0.85rem; }

/* ===== ANIMATIONS ===== */
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.service-card, .project-card, .acc-item, .tl-step, .blog-card, .testimonial-card { animation: slideInUp 0.6s ease-out; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
    .desktop-nav { display: none; }
    .burger { display: flex; }
    .hero { margin-top: 64px; min-height: auto; padding: 3rem 6%; }
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { display: none; }
    section { padding: 3.5rem 5%; }
    .panel { padding: 2.5rem 1.5rem; border-radius: 16px; }
    .contact-cols { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 1.1rem; }
    .compare-table { grid-template-columns: 1fr; box-shadow: none; gap: 0.8rem; }
    .compare-table > div { border-radius: 10px; border: none; }
    .compare-head.ch-label { display: none; }
    .ch-free, .ch-agency { border-radius: 10px; }
    .cc-label { background: transparent; color: var(--white); font-size: 1.05rem !important; padding-bottom: 0.3rem; }
    .timeline::before { left: 22px; }
    .tl-step { padding-left: 4rem; }
    .tl-num { width: 46px; height: 46px; font-size: 1rem; }
}
