/* === SALVONETRA.EU — ETRIA MANUFACTURING FRANCE SA === */
/* Blue scheme based on donor etria.fr */

:root {
    --primary: #005c99;
    --primary-hover: #004a7a;
    --accent: #00cef5;
    --navy: #02426b;
    --text: #1a2332;
    --text-light: #4a5568;
    --bg: #ffffff;
    --bg-light: #f0f7fc;
    --border: #d4e3f0;
    --radius: 6px;
    --shadow: 0 1px 3px rgba(2,66,107,.1);
    --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* === HEADER === */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header .logo img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: color .2s;
}
.site-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* === HERO === */
.hero {
    padding: 72px 0 56px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
    color: #fff;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-content h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,.85);
    margin-bottom: 24px;
}
.hero-content .btn-cta {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    transition: background .2s, transform .2s;
}
.hero-content .btn-cta:hover {
    background: #33d9f7;
    transform: translateY(-1px);
}
.hero-visual {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}
.hero-visual h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}
.hero-visual p {
    font-size: 15px;
    color: rgba(255,255,255,.7);
}

/* === SERVICE CARDS === */
.services-section {
    padding: 64px 0;
}
.services-section h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--navy);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,92,153,.12);
    transform: translateY(-2px);
}
.service-card .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.service-card .icon svg { width: 24px; height: 24px; fill: var(--primary); }
.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}
.service-card p { color: var(--text-light); font-size: 15px; line-height: 1.5; }

/* === TEXT BLOCKS === */
.text-section {
    padding: 56px 0;
}
.text-section + .text-section {
    border-top: 1px solid var(--border);
}
.text-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--navy);
}
.text-section p {
    color: var(--text-light);
    max-width: 720px;
    margin-bottom: 12px;
}

/* === COMMITMENT === */
.commitment-section {
    padding: 56px 0;
    background: var(--bg-light);
}
.commitment-section .container {
    max-width: 760px;
    text-align: center;
}
.commitment-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}
.commitment-section p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 16px;
}

/* === EXPERTS === */
.experts-section {
    padding: 56px 0;
}
.experts-section h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--navy);
}
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.expert-card {
    text-align: center;
    padding: 24px;
}
.expert-card .avatar {
    width: 72px;
    height: 72px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 2px solid var(--border);
}
.expert-card .avatar svg { width: 32px; height: 32px; fill: var(--primary); }
.expert-card h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.expert-card p { font-size: 14px; color: var(--text-light); }

/* === LEAD FORM === */
.form-section {
    padding: 56px 0;
    background: var(--bg-light);
}
.form-section h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--navy);
}
.form-section .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
}
.lead-form {
    max-width: 440px;
    margin: 0 auto;
}
.lead-form .form-group { margin-bottom: 16px; }
.lead-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color .2s;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.lead-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.lead-form .btn-submit:hover { background: var(--primary-hover); }

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px;
    max-width: 460px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.modal-close:hover { color: var(--text); }

/* === CONTACT BLOCK === */
.contact-block {
    padding: 48px 0;
    text-align: center;
}
.contact-block p {
    color: var(--text-light);
    margin-bottom: 6px;
}
.contact-block a { font-weight: 500; }

/* === FOOTER === */
.site-footer {
    background: var(--navy);
    padding: 28px 0;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}
.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a svg { width: 20px; height: 20px; fill: rgba(255,255,255,.7); transition: fill .2s; }
.footer-social a:hover svg { fill: var(--accent); }

/* === PAGE CONTENT === */
.page-content {
    padding: 48px 0 64px;
    min-height: 50vh;
}
.page-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--navy);
}
.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--navy);
}
.page-content p {
    color: var(--text-light);
    margin-bottom: 14px;
    max-width: 760px;
}
.page-content ul, .page-content ol {
    margin: 12px 0 16px 24px;
    color: var(--text-light);
}
.page-content li { margin-bottom: 6px; }

/* === THANK YOU === */
.thank-you {
    text-align: center;
    padding: 80px 0;
}
.thank-you h1 { color: var(--primary); }
.thank-you p { max-width: 500px; margin: 0 auto; }

/* === FAQ ACCORDION === */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item h3::after { content: '+'; font-size: 20px; color: var(--primary); }
.faq-item.open h3::after { content: '-'; }
.faq-item .faq-answer { display: none; padding-top: 12px; color: var(--text-light); }
.faq-item.open .faq-answer { display: block; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-content h1 { font-size: 26px; }
    .services-grid { grid-template-columns: 1fr; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 60px; right: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; gap: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
    .site-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .site-footer .container { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}
