/* ===================================================================
   COGIP — Consortium d'Optimisation Génétique et d'Innovation Particulaire
   Palette : brun foncé / orange / beige (inspirée du logo)
   =================================================================== */

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: #FAF6EE;
    color: #2C1A06;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: #3D2B0A;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-name {
    font-size: 1.7rem;
    font-weight: 900;
    color: #C4A870;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.tagline {
    font-size: 0.65rem;
    color: #8A6830;
    letter-spacing: 0.3px;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #C4A870;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover { color: #D4520C; }

/* ===== TICKER ===== */
.ticker {
    background: #D4520C;
    color: #fff;
    padding: 7px 0;
    overflow: hidden;
}

.ticker-wrap { overflow: hidden; }

.ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 55s linear infinite;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(140deg, #2C1A06 0%, #5A3A10 55%, #8A6020 100%);
    color: #F0E8D0;
    padding: 110px 28px 90px;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: #D4520C;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: #F0E8D0;
}

.hero h1 em {
    color: #D4520C;
    font-style: normal;
}

.hero-sub {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #D8C890;
    line-height: 1.75;
}

.hero-sub small {
    font-size: 0.73rem;
    color: #9A7840;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    margin-top: 32px;
    padding: 15px 38px;
    background: #D4520C;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 3px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
}

.cta-button:hover {
    background: #B03A08;
    transform: translateY(-2px);
}

/* ===== CHIFFRES CLÉS ===== */
.numbers {
    background: #C4A870;
    padding: 36px 28px;
}

.numbers-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.3rem;
    font-weight: 900;
    color: #3D2B0A;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.76rem;
    color: #5A3A10;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    display: block;
}

/* ===== SECTIONS COMMUNES ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #3D2B0A;
    margin-bottom: 12px;
}

h2 span { color: #D4520C; }

.section-intro {
    max-width: 820px;
    font-size: 1.02rem;
    color: #5A3A10;
    margin-bottom: 48px;
    line-height: 1.8;
}

/* ===== À PROPOS ===== */
.about {
    background: #FAF6EE;
    padding: 80px 28px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.card {
    background: #fff;
    border: 1px solid #E4D4B0;
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(61,43,10,0.06);
    transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 6px 20px rgba(61,43,10,0.12); }

.card-icon { font-size: 2.4rem; margin-bottom: 14px; }

.card h3 {
    font-size: 1.05rem;
    color: #3D2B0A;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #5A3A10;
    line-height: 1.7;
}

.awards {
    background: #F2E8D0;
    border-left: 5px solid #D4520C;
    padding: 24px 30px;
    border-radius: 0 6px 6px 0;
}

.awards h3 {
    font-size: 1rem;
    color: #3D2B0A;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.awards ul { list-style: none; }

.awards li {
    padding: 9px 0;
    color: #5A3A10;
    border-bottom: 1px solid #DDD0B0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.awards li:last-child { border-bottom: none; }

/* ===== INNOVATION ===== */
.innovation {
    background: #3D2B0A;
    color: #F0E8D0;
    padding: 80px 28px;
}

.innovation h2 { color: #F0E8D0; }
.innovation h2 span { color: #D4520C; }

.innovation-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    margin-top: 40px;
    align-items: start;
}

.innovation-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #D0BC88;
    font-size: 0.97rem;
}

.specs {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(196,168,112,0.25);
    border-radius: 6px;
    padding: 24px;
    margin: 28px 0;
}

.specs h4 {
    color: #C4A870;
    margin-bottom: 14px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.specs td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(196,168,112,0.15);
    color: #C8B880;
    vertical-align: top;
}

.specs td:first-child {
    color: #E8D8A0;
    font-weight: 600;
    width: 55%;
}

.specs tr:last-child td { border-bottom: none; }

.specs small {
    display: block;
    margin-top: 12px;
    font-size: 0.73rem;
    color: #8A7040;
    font-style: italic;
}

blockquote {
    border-left: 3px solid #D4520C;
    padding: 4px 0 4px 20px;
    margin: 28px 0;
    font-style: italic;
    color: #C4A870;
    font-size: 0.97rem;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    font-size: 0.78rem;
    margin-top: 8px;
    font-style: normal;
    color: #8A7040;
}

.teleporter-box {
    background: rgba(212,82,12,0.12);
    border: 2px solid rgba(212,82,12,0.6);
    border-radius: 8px;
    padding: 50px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.teleporter-icon { font-size: 3.8rem; margin-bottom: 14px; }

.teleporter-label {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #C4A870;
    letter-spacing: 4px;
}

.teleporter-sub {
    font-size: 0.8rem;
    color: #8A7040;
    margin-top: 10px;
    line-height: 1.5;
}

.disclaimer-box {
    background: rgba(212,82,12,0.08);
    border: 1px solid rgba(212,82,12,0.35);
    border-radius: 6px;
    padding: 20px;
    font-size: 0.8rem;
    color: #C4A870;
    line-height: 1.6;
}

.disclaimer-box strong {
    display: block;
    margin-bottom: 12px;
    color: #D4520C;
    font-size: 0.85rem;
}

.disclaimer-box ul {
    list-style: disc;
    padding-left: 18px;
}

.disclaimer-box li { margin-bottom: 9px; }

/* ===== FONDATEURS ===== */
.founders {
    background: #FAF6EE;
    padding: 80px 28px;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.founder-card {
    background: #fff;
    border: 1px solid #E4D4B0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(61,43,10,0.09);
    display: flex;
    flex-direction: column;
}

.founder-photo {
    width: 100%;
    height: 270px;
    object-fit: cover;
    object-position: top center;
}

.founder-info { padding: 28px; }

.founder-info h3 {
    font-size: 1.55rem;
    font-weight: 900;
    color: #3D2B0A;
    margin-bottom: 4px;
}

.founder-title {
    display: block;
    font-size: 0.78rem;
    color: #D4520C;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.founder-info p {
    font-size: 0.91rem;
    color: #5A3A10;
    line-height: 1.75;
    margin-bottom: 12px;
}

.founder-info em { color: #6B4C1A; }

/* ===== ÉQUIPE ===== */
.team {
    background: #F0E6CC;
    padding: 80px 28px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-member {
    background: #fff;
    border: 1px solid #E4D4B0;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(61,43,10,0.06);
    transition: box-shadow 0.2s;
}

.team-member:hover { box-shadow: 0 6px 20px rgba(61,43,10,0.12); }

.member-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #3D2B0A;
    color: #C4A870;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    letter-spacing: 1px;
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #3D2B0A;
    margin-bottom: 6px;
}

.team-member span {
    font-size: 0.79rem;
    color: #6B4C1A;
    display: block;
    margin-bottom: 10px;
    line-height: 1.45;
}

.member-note {
    font-size: 0.74rem;
    color: #D4520C;
    font-style: italic;
    margin-bottom: 7px;
}

.member-email {
    font-size: 0.75rem;
    color: #9A7840;
    word-break: break-all;
}

/* ===== CONTACT ===== */
.contact {
    background: #FAF6EE;
    padding: 80px 28px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.contact-block {
    background: #fff;
    border: 1px solid #E4D4B0;
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(61,43,10,0.05);
}

.contact-block h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3D2B0A;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #D4520C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-block address {
    font-style: normal;
    color: #5A3A10;
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.contact-block p {
    font-size: 0.88rem;
    color: #5A3A10;
    margin-bottom: 9px;
    line-height: 1.6;
}

.contact-block small {
    font-size: 0.73rem;
    color: #9A7840;
    font-style: italic;
}

/* ===== FOOTER ===== */
footer {
    background: #2C1A06;
    color: #7A6030;
    padding: 44px 28px;
    text-align: center;
}

.footer-inner { max-width: 800px; margin: 0 auto; }

.footer-logo {
    height: 46px;
    opacity: 0.6;
    margin-bottom: 16px;
}

footer p {
    font-size: 0.84rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-legal {
    margin-top: 24px;
    font-size: 0.7rem;
    color: #4A3018;
    border-top: 1px solid #3D2B0A;
    padding-top: 16px;
    line-height: 1.7;
}
