/* ==============================================
   Celtik Services — CSS Mobile First
   Fichier unique (site vitrine, pas besoin de scalabilité)
   Auteur : Cyril — Développeur web PHP/Symfony
============================================== */

/* =============================================
       RESET & VARIABLES
    ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 80px; }
html { scroll-behavior: smooth; }

:root {
    --red:        #C0392B;
    --red-dark:   #A93226;
    --red-light:  #FCEBEB;
    --red-text:   #A93226;
    --bg:         #ffffff;
    --bg-alt:     #F7F7F5;
    --text:       #1a1a1a;
    --text-muted: #6B6B6B;
    --border:     rgba(0,0,0,0.1);
    --border-strong: rgba(0,0,0,0.2);
    --radius:     8px;
    --radius-lg:  12px;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

/* =============================================
   NAV — mobile first
============================================= */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* liens cachés sur mobile */
.nav-links { display: none; }

.nav-btn {
    padding: 10px 16px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.nav-btn:hover { background: var(--red-dark); }

/* NAV — tablette et + */
@media (min-width: 768px) {
    .nav { padding: 0.75rem 2rem; }
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    .nav-links a {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-muted);
        letter-spacing: 0.02em;
        cursor: pointer;
    }
    .nav-links a:hover { color: var(--red); }
}

/* =============================================
   HERO — mobile first
============================================= */
.hero {
    padding: 2rem 1rem 2rem;
    border-bottom: 0.5px solid var(--border);
    background: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.hero-h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}
.hero-h1 em { font-style: normal; color: var(--red); }

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.btn-red {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}
.btn-red:hover { background: var(--red-dark); }

.btn-outline {
    display: block;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--text);
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}
.btn-outline:hover { background: var(--bg-alt); }

.hero-stats {
    display: flex;
    gap: 10px;
}
.hero-stat {
    flex: 1;
    background: var(--bg-alt);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    text-align: center;
}
.hero-stat-n {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--text);
}
.hero-stat-l {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-logo-big {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 0.5rem;
}
.hero-logo-big img {
    height: 130px;
    width: auto;
}

/* HERO — desktop */
@media (min-width: 768px) {
    .hero {
        padding: 4rem 2rem 3rem;
        display: grid;
        grid-template-columns: 1fr 640px;
        gap: 0;
        align-items: center;
    }
    .hero-content { grid-column: 1; }
    .hero-h1 { font-size: 3rem; }
    .hero-actions { flex-direction: row; }
    .btn-red, .btn-outline { width: auto; padding: 12px 28px; }
    .hero-logo-big {
        grid-column: 2;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
        padding-left: 2rem;
    }
    .hero-logo-big img {
        height: 320px;
        width: auto;
    }
    .hero-right-col { display: none; }
}
.hero-content { grid-column: 1; }
.hero-h1 { font-size: 3rem; }
.hero-actions { flex-direction: row; }
.btn-red, .btn-outline { width: auto; padding: 12px 28px; }
.hero-logo-big {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-self: center;
    margin: 0;
}
.hero-logo-big img {
    height: 230px;
    width: auto;
}
.hero-right-col {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    align-self: center;
}
.hero-stats {
    flex-direction: column;
    width: 100%;
}
.hero-stat-n { font-size: 2rem; }
}

/* =============================================
   STRIP — mobile first
============================================= */
.strip {
    border-bottom: 0.5px solid var(--border);
    background: #fff;
}
.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 1rem;
    border-bottom: 0.5px solid var(--border);
}
.strip-item:last-child { border-bottom: none; }

.strip-icon {
    width: 32px;
    height: 32px;
    background: var(--red-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.strip-icon svg {
    width: 16px; height: 16px;
    stroke: var(--red); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.strip-text { font-size: 14px; font-weight: 500; color: var(--text); }

@media (min-width: 768px) {
    .strip { display: flex; }
    .strip-item {
        flex: 1;
        border-bottom: none;
        border-right: 0.5px solid var(--border);
        padding: 1rem 1.5rem;
    }
    .strip-item:last-child { border-right: none; }
}

/* =============================================
   SECTIONS — mobile first
============================================= */
.sec {
    padding: 2rem 1rem;
    border-bottom: 0.5px solid var(--border);
    background: #fff;
}
.sec-alt { background: var(--bg-alt); }

@media (min-width: 768px) {
    .sec { padding: 3rem 2rem; }
}

.sec-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.sec-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}
.sec-sub {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .sec-title { font-size: 1.75rem; }
    .sec-sub { margin-bottom: 2rem; }
}

/* =============================================
   SERVICES — mobile first
============================================= */
.srv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.srv-card {
    background: #fff;
    padding: 1.25rem 1rem;
}
.srv-card:active { background: var(--bg-alt); }

.srv-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--red);
    margin-bottom: 0.5rem;
    opacity: 0.4;
}
.srv-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.srv-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

@media (min-width: 600px) {
    .srv-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
    .srv-grid { grid-template-columns: repeat(3, 1fr); }
    .srv-card:hover { background: var(--bg-alt); }
}

/* =============================================
   GALLERY — mobile first
============================================= */
.gal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.gal-slot {
    background: var(--bg-alt);
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.gal-slot:active { border-color: var(--red); }
.gal-slot-main {
    grid-column: span 1;
    aspect-ratio: 4/3;
}
.gal-slot svg {
    width: 22px; height: 22px;
    stroke: var(--text-muted); fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0.5;
}
.gal-slot span {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}
.gal-slot img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gal-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .gal-slot:hover { border-color: var(--red); }
}

/* =============================================
   ABOUT — mobile first
============================================= */
.about-card {
    background: var(--bg-alt);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.about-av {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--red-light);
    border: 2px solid var(--red);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--red);
    margin: 0 auto 10px;
}
.about-av-name { font-size: 15px; font-weight: 700; color: var(--text); }
.about-av-role { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 2px; }
.about-divider { height: 0.5px; background: var(--border); margin: 10px 0; }
.about-av-contact { font-size: 13px; color: var(--red); font-weight: 500; }

.about-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.25rem;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.tag {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--red-light);
    color: var(--red-text);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.about-zone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.about-zone svg {
    width: 14px; height: 14px;
    stroke: var(--red); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .about-wrap {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 3rem;
        align-items: start;
    }
    .about-card { margin-bottom: 0; }
}

/* =============================================
   CONTACT — mobile first
============================================= */
.cinfo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.cinfo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
}
.cinfo-item:active { border-color: var(--red); }
.cinfo-icon {
    width: 40px; height: 40px;
    background: var(--red-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cinfo-icon svg {
    width: 18px; height: 18px;
    stroke: var(--red); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cinfo-lbl { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }
.cinfo-val { font-size: 14px; font-weight: 700; margin-top: 1px; }

@media (min-width: 768px) {
    .cinfo-item:hover { border-color: var(--red); }
    .contact-wrap {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 2rem;
    }
    .cinfo-list { margin-bottom: 0; }
}

/* =============================================
   FORM — mobile first
============================================= */
.fbox {
    background: var(--bg-alt);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
}

@media (min-width: 768px) {
    .fbox { padding: 1.5rem; }
}

.ftabs {
    display: flex;
    margin-bottom: 1.25rem;
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.ftab {
    flex: 1;
    padding: 11px 8px;
    background: transparent;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.ftab.on { background: var(--red); color: #fff; }

.frow { display: grid; grid-template-columns: 1fr; gap: 0; }

@media (min-width: 480px) {
    .frow { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.ff { margin-bottom: 12px; }
.flbl {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.fi, .fta, .fsel {
    width: 100%;
    padding: 12px;
    border: 0.5px solid var(--border-strong);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    outline: none;
    -webkit-appearance: none;
}
.fi:focus, .fta:focus, .fsel:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.fta { min-height: 100px; resize: vertical; }

.fsub {
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}
.fsub:hover { background: var(--red-dark); }
.fsub:active { opacity: 0.9; }

.fs { display: none; }
.fs.on { display: block; }

.fok { display: none; text-align: center; padding: 2rem 1rem; }
.fok-ic {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--red-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.fok-ic svg {
    width: 28px; height: 28px;
    stroke: var(--red); fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.fok h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 8px; }
.fok p { font-size: 14px; color: var(--text-muted); }

/* =============================================
   FOOTER — mobile first
============================================= */
.foot {
    padding: 1.5rem 1rem;
    border-top: 0.5px solid var(--border);
    background: #fff;
}
.foot-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 16px;
    margin-bottom: 0.75rem;
}
.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-bottom: 0.75rem;
}
.foot-links a { font-size: 13px; color: var(--text-muted); }
.foot-links a:hover { color: var(--red); }
.foot-copy { font-size: 11px; color: var(--text-muted); }

@media (min-width: 768px) {
    .foot {
        padding: 1.5rem 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .foot-brand { margin-bottom: 0; }
    .foot-links { margin-bottom: 0; }
    .foot-copy { width: 100%; }
}

