/* ═══════════════════════════════════════════════════════
   PEINTURE438
   Palette: blanc cassé, bleu profond, orange accent
   Typo: Playfair Display (titres) + DM Sans (corps)
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --black:   #1c486c;
    --offwhite:#F5F8FA;
    --white:   #ffffff;
    --red:     #eb842e;
    --red-dark:#c96a1a;
    --grey:    #888888;
    --border:  #d6e4ee;
    --card-bg: #f0f6fb;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    background: #e8f2f9;
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}

.announcement-bar {
    background: #1c486c;
    color: var(--white);
    text-align: center;
    padding: 10px 48px 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
    overflow: hidden;
}

.announcement-bar.hidden {
    max-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.announcement-bar a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announce-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}
.announce-close:hover {
    color: white;
    background: rgba(255,255,255,0.15);
}

header {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container { display:flex; align-items:center; }

.site-logo { height: 72px; width:auto; object-fit:contain; }

nav { display:flex; align-items:center; gap: 6px; }

nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover { background: #e8f2f9; color: var(--black); }

.lang-toggle {
    background: transparent;
    border: 1.5px solid var(--black);
    color: var(--black);
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    margin-left: 8px;
}
.lang-toggle:hover { background: #1c486c; color: var(--white); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px; height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}
.hamburger span {
    display: block; width:100%; height:2.5px;
    background: #1c486c;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

@media (max-width: 768px) {
    header { padding: 10px 5%; }
    .hamburger { display: flex; }
    nav {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 93px; left:0; width:100%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
        z-index: 150; gap:0;
    }
    nav.open { display: flex; }
    nav a { width:100%; padding: 14px 6%; border-radius:0; font-size:15px; border-bottom:1px solid var(--border); }
    .lang-toggle { margin: 12px 6%; }
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 6% 80px 8%;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 24px;
}

.hero p {
    font-size: 17px;
    color: #2a4a5e;
    font-weight: 300;
    max-width: 420px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }

.hero-image {
    position: relative;
    overflow: hidden;
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image::after {
    content: '';
    position: absolute; inset:0;
    background: linear-gradient(to right, var(--offwhite) 0%, transparent 30%);
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 70px 6%; text-align:center; align-items:center; }
    .hero p { max-width: 100%; }
    .hero-image { height: 300px; }
    .hero-image::after { background: linear-gradient(to bottom, var(--offwhite) 0%, transparent 30%); }
}

.btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 13px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.25s, transform 0.15s;
    letter-spacing: 0.2px;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--black);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid var(--black);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #1c486c; color: var(--white); }

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 16px;
}

.section-desc {
    color: #666;
    font-size: 16px;
    font-weight: 300;
    max-width: 540px;
    line-height: 1.7;
}

.services {
    padding: 100px 8%;
    background: var(--white);
}

.services-header {
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
    max-width: 640px;
}

.service-card-icon {
    width: 44px; height: 44px;
    background: var(--red);
    border-radius: 8px;
    display: flex; align-items:center; justify-content:center;
    margin-bottom: 20px;
}

.service-card-icon svg { color: white; }

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--black);
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
}

.why-us {
    padding: 100px 8%;
    background: #1c486c;
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us .section-title { color: var(--white); }
.why-us .section-label { color: #f5a55a; }
.why-us .section-desc { color: #a8c4d8; }

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #ddd;
    font-weight: 300;
    line-height: 1.5;
}

.why-check {
    width: 22px; height: 22px; min-width:22px;
    background: var(--red);
    border-radius: 50%;
    display: flex; align-items:center; justify-content:center;
    margin-top: 1px;
}

.why-cta { margin-top: 40px; }

.why-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #1c486c;
}
.why-image img { width:100%; height:100%; object-fit:cover; display:block; }

@media (max-width: 900px) {
    .why-us { grid-template-columns: 1fr; gap: 40px; }
    .why-image { aspect-ratio: 16/9; }
}

.portfolio {
    padding: 100px 8%;
    background: #e8f2f9;
    text-align: center;
}

.portfolio-header { margin-bottom: 60px; }
.portfolio-header .section-desc { margin: 0 auto; }

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.project-card {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.image-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.image-box img {
    width: 100%; height: 340px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.4s ease;
}

.image-box:hover img { transform: scale(1.02); }
.image-box { overflow: hidden; border-radius: 6px; }

.label {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(17,17,17,0.80);
    color: white;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
}

.label-after { background: rgba(39, 174, 96, 0.90); }

.portfolio-btn-container { margin-top: 56px; }

.contact {
    padding: 100px 8%;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info { }
.contact-info .section-desc { margin-top: 16px; }

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #2a4a5e;
}

.contact-detail-icon {
    width: 36px; height: 36px; min-width:36px;
    background: #e8f2f9;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items:center; justify-content:center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

form input, form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: #e8f2f9;
    color: var(--black);
    transition: border-color 0.2s;
    outline: none;
}

form input:focus, form textarea:focus { border-color: var(--black); }

form textarea { height: 130px; resize: vertical; }

@media (max-width: 900px) {
    .contact { grid-template-columns:1fr; gap:50px; }
}

footer {
    background: #1c486c;
    color: #aac4d8;
    padding: 36px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

footer a { color: #aac4d8; text-decoration:none; transition: color 0.2s; }
footer a:hover { color: var(--white); }

@media (max-width: 600px) {
    footer { flex-direction:column; text-align:center; }
}